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
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
When WordPress used the first few (usually 55) words of the post content as post excerpt, by default it will end with a bracketed ellipsis like this [...]. Do you want to remove it or replace it with some other characters or symbols? Here’s how.
[ No Comments ] Posted on January 31, 2010 under WordPress
If you leave the excerpt form blank, WordPress will use the first 55 words of your post content as post excerpt. You think 55 words are too long or too short? This is how you can change it.
[ No Comments ] Posted on January 31, 2010 under WordPress
Allow your website visitors to determine whether a link is internal or external by modifying your WordPress theme so that it automatically inserts a small graphic to any external link in your website’s content.
[ 4 Comments ] Posted on January 30, 2010 under Cascading Stylesheet
Insert a PHP code in the functions.php of your WordPress theme to make all internal links open in new window or tab and all internal links on the same window without having to manually set the target window in your WordPress visual editor..
[ 13 Comments ] Posted on December 15, 2009 under WordPress
Make all of your internal links consistently with or without www without having to edit all of them one by one.
[ No Comments ] Posted on December 12, 2009 under WordPress
WordPress automatically insert rel=”nofollow” attribute to all links that are in the comment. Would you like to reward your loyal visitors and intelligent comment posters? Give them some link love by removing the nofollow tag.
[ No Comments ] Posted on December 4, 2009 under WordPress