This PHP code will allow you to detect if your website is being accessed using a mobile device. If being accessed by a mobile device, your server can automatically present an alternative layout without changing the URL of your website.
[ No Comments ] Posted on August 30, 2011 under Designing for Mobile Devices, WordPress
A typical WordPress theme will provide only one set of categories wherein all categories are already listed. Suppose you want two or more sets of categories in two separate lists, there are two ways you can modify your WordPress theme to do just that.
[ 5 Comments ] Posted on October 19, 2010 under WordPress
Create a special category and insert a code in the functions.php of your theme to prevent some posts from appearing in your homepage. Works only if you configured your homepage as list of latest posts and not as static page.
[ 2 Comments ] Posted on July 27, 2010 under WordPress
You’re fed up with lots of spammers. You want to list their IP address to impose an IP ban but there’s too many of them to be listed. Here’s an easier way of listing the IP addresses of spammers even if there are hundreds or thousands of spams in your Dashboard.
[ No Comments ] Posted on July 16, 2010 under Server Configuration, WordPress
By default, WordPress’ attachment page displays the image in medium size, where medium is defined by media settings. Use this tweak if you want the attachment page to display the image with its actual size.
[ 4 Comments ] Posted on June 9, 2010 under WordPress
The default WordPress configuration is that the image embedded on the attachment page is a link to the image file itself. Do you want to remove the hyperlink and present the image in the attachment page as a regular image?
[ 9 Comments ] Posted on June 8, 2010 under WordPress
Post lists are WordPress generated pages that contain list of all posts and may either display whole posts or excerpts. These include search results, category pages, and if configured, the home page. Do you want to insert advertisement between two adjacent posts in the post list?
[ 6 Comments ] Posted on June 5, 2010 under Adsense / Ads Embedding Tips, WordPress
Use the parent-child structure of WordPress static pages to create more than one navigation menu in your WordPress-powered website.
[ No Comments ] Posted on May 22, 2010 under WordPress