by Randa Clay | Apr 2, 2010 | Scripts & Code
Inserting a simple link to Twitter is one thing, but including SEO friendly, valid links using WordPress template tags to make it extra convenient for your users to add posts to social media sites requires a little more thought. Fortunately, the linked article does...
by Randa Clay | Apr 2, 2010 | Scripts & Code, Templates
Shortcodes are designed to allow you to call certain plugin or built in theme functions within the post/page editor. This code snippet allows you to use shortcodes in a template file as well.
by Randa Clay | Mar 30, 2010 | Scripts & Code, Templates
Need your single post views to be totally different depending on what category the post is in? You can do this easily by creating special single post files for each category as needed, and then replace the code in your single.php file with the following: <?php if...
by Randa Clay | Mar 27, 2010 | Scripts & Code
WordPress sets a cookie on a user’s computer that remains stored for 10 days after they visit a site. This means they will not have to re-enter their info every time they leave a comment, nor will they have to re-enter the password on password protected pages or...
by Randa Clay | Mar 19, 2010 | Scripts & Code
This is a great tip for limiting the built in search functionality to search only the category you specify. The author provides the code for searching just a single category or searching only the children of a certain category.