Tag: functions.php

Excluding certain categories in WordPress post category list

The categories where a particular post belongs are usually listed somewhere in the post page, usually under the post title. For administrative or some other reasons, you want to assign posts to a particular category but you do not want your site visitors to see this category. This is how you prevent one or more category from showing up in the post page.

no thumbnail yet

[ 3 Comments ] Posted on December 2, 2009 under WordPress

Excluding static pages and some posts from WordPress search results

The proper way of combining the codes discussed in two previous posts “Preventing certain posts from appearing in WordPress search results” and “Excluding static pages from WordPress search using functions.php”.

no thumbnail yet

[ No Comments ] Posted on September 21, 2009 under WordPress

Preventing certain posts from appearing in WordPress search results

Use the functions.php to prevent certain posts from appearing in search results of WordPress’ built-in search function.

no thumbnail yet

[ 2 Comments ] Posted on August 21, 2009 under WordPress

Excluding static pages from WordPress search using functions.php

Prevent all WordPress static pages from appearing on search results by inserting a simple code in the functions.php. Well, the code is not really simple, but the process is.

no thumbnail yet

[ 3 Comments ] Posted on August 18, 2009 under WordPress

Disabling smart quotes in WordPress

Aside from quoting words from a person, a book or any reference material, single and double quotes are also used in various programming language as well as in codes and scripts such as HTML and Javascript. WordPress tends to change quotes to curly ones, the ones that were frequently used in quoting words. However, curly quotes in codes and scripts make them unusable. If you are writing blog posts about codes and scripts, here is how you can force WordPress to keep the straight quotes.

no thumbnail yet

[ 2 Comments ] Posted on April 14, 2009 under WordPress

Next Entries »