If you are using the latest version of Static Random Posts Widget (Version 1.1) an HTTP Error 404 (Page not found) will be generated although the plugin works fine. The 404 error may slightly delay your page load, you can check if you have the issue with PageSpeed Online. If you have such issue “Avoid bad requests” should appear in the results with the faulty link to http://yourblog.com/wp-content/plugins/static-random-posts/js/static-random-posts.js?ver=1 The reason for the error is the plugin is actually installed in plugins/static-random-posts-widget. To fix the issue, edit ./wp-content/plugins/static-random-posts-widget/static-random-posts.php and look for path declarations with static-random-posts and change it to static-random-posts-widget. Alternatively, you can download static-random-posts.php.bz2 I modified and uncompress it to replace static-random-posts.php. Please backup your file first. Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in […]
Support for HTML5 Youtube Videos (iFrame) in WordPress
WordPress 3.x will automatically remove iFrame tags when you switch between HTML and Visual mode. In order to prevent that issue, simply install TSL iframe unfilter plugin.This will fix the issue of Youtube iframe embedded code disappearing or any other iframe code you’ve got. To automatically center Youtube videos using the iframe embedded code (supporting for flash and HTML5), edit style.css in Appearance->Editor, and add the lines /* Align iFrame Youtube Videos */ .youtube-player { display: block; margin: 0 auto; } Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011. www.cnx-software.com
How-to Make WordPress iNove Theme Adsense Friendly
When I initially selected my WordPress theme, I did not really plan on using Adsense, so I just chose one which looked nice to me and fulfilled some other requirements. I finally went with iNove theme. However, after 3 or 4 months, I decided to give a go at Google Adsense and installed Advertising Manager plugin. I created a new Ad unit with a 300×250 resolution to put in the side bar, it was slightly cut on the right but was still looking OK. Later, I wanted to add a leaderboard ad (728×90) on top of the page to hopefully increase the CTR. However, that one was cut even more, although it looked OK in Chrome OS and Firefox, it looked awful in Internet Explorer. So I decided to adjust the size of the main section and the sidebar for iNove theme. Here are the steps to follow to resize […]