Tag Archive | "source code"

How to Display Adsense Ads in the Wordpress Index Pages for Fresh News by WooThemes – Part 2

Sunday, September 20, 2009

1 Comment

How to Display Adsense Ads in the Wordpress Index Pages for Fresh News by WooThemes – Part 2

This tutorial is continued from Part 1. Summary of Code Changes to index.php The index.php file is the theme template that displays the Featured Posts and Post Summaries (Excerpts) to paint the body of the Front Page and Index Pages. Source code logic is added to index.php to display the Google Adsense Ads at the appropriate position [...]

Continue reading...

How to Display Adsense Ads in the Wordpress Index Pages for Fresh News by WooThemes – Part 1

Sunday, September 20, 2009

1 Comment

How to Display Adsense Ads in the Wordpress Index Pages for Fresh News by WooThemes – Part 1

This tutorial explains how to display Google Adsense Ads in your Wordpress post index pages to generate revenue from this prime area of web page real estate. Revenue Opportunity for Front- and Index Page Ads I use the Fresh News 2.0.7 theme by WooThemes for the primary look and feel of www.handymanhowto.com and wanted to display the [...]

Continue reading...

Google Custom Search Integration with WooThemes Fresh News 2.0 – Part 2

Sunday, September 13, 2009

3 Comments

This tutorial is continued from Part 1. Create a Search Results Page Template A new Wordpress page template is created to display the Google Custom Search Results. The standard page.php template is formatted with a center column to display the page content that’s designed for a sidebar; and therefore too narrow for the 600 pixel wide Google [...]

Continue reading...

Automate Exterior Lights with an Insteon Wireless Motion Sensor

Sunday, May 31, 2009

2 Comments

Automate Exterior Lights with an Insteon Wireless Motion Sensor

My front porch has pendant lights suspended by chains and is controlled by a standard light switch. I automated the porch lights with Insteon home automation controls purchased from SmartHome.com. I covered the Insteon ToggleLinc light switch installation in this article. The related ISY-99i home automation controller is discussed here. The Insteon Motion Sensor is a [...]

Continue reading...

Integrate Google Adsense with the Fresh News Theme Sidebar Ad

Sunday, March 15, 2009

2 Comments

Integrate Google Adsense with the Fresh News Theme Sidebar Ad

I use the Fresh News Theme by WooThemes for the overall look and feel of HandyManHowTo.com.  Several people have asked me “How did you integrate Google Adsense into the Fresh News Theme 300×250 Block Ad in the Sidebar?“. An example is the “Zoom Plumbing” Google Ad in the screen grab below. Here’s how to do it… Bookmark [...]

Continue reading...

Google Custom Search Integration with WooThemes Fresh News 2.0 – Part 1

Saturday, January 3, 2009

10 Comments

Google Custom Search Integration with WooThemes Fresh News 2.0 – Part 1

Newly revised and updated for Fresh News 2.0! I wanted to replace the WordPress search engine with the Google Custom Search Engine (CSE) for better results and to take advantage of Adsense for Search. While there are several CSE integration tutorials for WordPress and even a plugin, none specifically addressed Woo Themes. My efforts were further [...]

Continue reading...