Category: WordPress

Detecting mobile devices for your WordPress website

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 thumbnail yet

[ No Comments ] Posted on August 30, 2011 under Designing for Mobile Devices, WordPress

Multiple category list in 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.

no thumbnail yet

[ 5 Comments ] Posted on October 19, 2010 under WordPress

WordPress: Hiding certain posts from the homepage

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.

no thumbnail yet

[ 2 Comments ] Posted on July 27, 2010 under WordPress

Listing ip addresses of WordPress comment spammers easier and faster

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 thumbnail yet

[ No Comments ] Posted on July 16, 2010 under Server Configuration, WordPress

Make the WordPress attachment page display full image

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.

no thumbnail yet

[ 4 Comments ] Posted on June 9, 2010 under WordPress

Removing the link of image in WordPress attachment page

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?

no thumbnail yet

[ 9 Comments ] Posted on June 8, 2010 under WordPress

WordPress: inserting ads between two posts in post list

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?

no thumbnail yet

[ 6 Comments ] Posted on June 5, 2010 under Adsense / Ads Embedding Tips, WordPress

Multiple page menus in WordPress using parent pages

Use the parent-child structure of WordPress static pages to create more than one navigation menu in your WordPress-powered website.

no thumbnail yet

[ No Comments ] Posted on May 22, 2010 under WordPress

« Previous Entries