RunPHP - Include PHP in your wordpress blog posts or pages

runphp

RunPHP by James van Lommel, is a Plugin for WordPress that enables bloggers to embed PHP code directly into their posts.

How to use:

  • Download the plugin from the author’s site, and upload the files to the plugin directory of your wordpress weblog (/wp-content/plugins).
  • Activate the plugin by logging into your WordPress administration panel, going to ‘Plugins’ on the menu bar, then clicking Activate at the end of the RunPHP row.
  • Now add php codes in your posts and pages, by simply checking the new option box that says ‘run PHP code?’

The code executed by runPHP is not in the global scope. It is executed as if it were inside a function block and so you’ll need to declare your globals accordingly.

Note: The plugin doesn’t work with few badly written WordPress themes. This is most likely caused by a missing wp_head() call in the theme’s header template (often called header.php). If that is the case, fixing it is simply a matter of inserting.

Wordpress adsense theme - WP Colors

Wordpress adsense themes are the easiest way to place your adsense or other contextual ad codes on your blog. All you have to do is to replace the publisher code in the appropriate template files of the adsense theme.

This SEO Friendly Wordpress Adsense Theme was made by Coleen Chard and it’s called WP Colors. The theme is available in both fluid and fixed width, and four different color combinations. click here for a demo

WP Colors is adsense ready, with three locations for optimal exposure of your ads (728×90, 300×250 and 120×600). Instructions on where to replace your publisher ID are included in the download. The theme is also compatible with widgets

This adsense theme is SEO friendly, it’s making use of negative margins and the sidebar content comes after the main content in the source code, so your main content is spidered first, which is generally important to search engines.

The strategic placement of the ads in this template has proven to increase the clicktrough rate on your contextual ads, as as they are integrated around your content, complying with Google’s quality guidelines.

Welcome to Bloggertools.org

Welcome to my newest Blog. On this weblog I want to write about the many blog tools that are available. Personally I find it very interesting to extend wordpress with plugins and addons.

Currently I am working on my own wordpress templates which I will release soon. I have been designing websites since 2005 and it became an addictive hobby to publish content on the internet and making attractive designs. So far I have been creating only static html designs, but ever since I discovered the power of blogging I have been focusing on the many dynamic content management systems. The wonderful blogging community has inspired me to launch bloggertools.org

I hope this weblog will be useful for those of you seeking for information and resources about the wonderful world of blogging. Be sure to visit again soon as more content will be published from today on.

Thank you for your visit

|