I’m working with a lot of WordPress based sites and there are some code snippets which I frequently use. I want to share them with you. 1. Prevent Direct File Access # No direct file load if (!empty($_SERVER[’SCRIPT_FILENAME’]) && ‘functions.php’ … Read post
10 Useful Code Snippets For Your WordPress Theme Functions.php File
May 16th, 2010 - 21:11:18Re-numbering With jQuery
August 20th, 2009 - 17:29:13I needed this to do a quick re-numbering of featured items in a slider on the homepage because I was always changing the PHP code and the numbering got messed up. Code to do a quick re-numbering of ‘a span’ … Read post
Tip: Exclude Categories From Archive In WordPress
August 20th, 2009 - 15:53:13While working on a recent project, I came across a task: exclude certain categories from the archive page. I went the usual way to the WordPress codex -> query_posts and thought the following would do it: 1 2 3 4 … Read post
Adding Facebook Connect to your WordPress Blog
August 9th, 2009 - 17:45:08Today I added ‘Facebook Connect‘ to my blog and I was running into two or three caveats. I want to share my trial-and-error experience from today with you. First, I downloaded the WP-FBConnect plugin, installed & activated it in the … Read post
Include WordPress Author Biographical Info In Posts
July 29th, 2009 - 15:17:46In addition to this and this post, I thought this post may be useful for you as well. It describes how you can add the ‘Biographical Info’ to your posts.
Dynamic form elements & the jQuery validation plugin
April 15th, 2009 - 00:50:57I recently run into a problem where I had to validate a form with dynamic fields. I am impressed of the jQuery Validation plugin but I had no clue on how to achieve this as the documentation does not have … Read post
Guest Posts And the_author() In Your WordPress Blog
August 18th, 2008 - 20:24:12As you may have seen I have a guest post on this blog written by Matt from phuketvogue.com. Since I am the only registered writer/author on this site, all posts are marked as ‘written by Toxane’ or something similar. I … Read post
WordPress, My Gravatar and the Mystery Man
August 9th, 2008 - 12:04:34I just had a problem with my own gravatar not showing up on my own site for the comments I wrote. First I thought that clearing the browser cache would solve everything. I was wrong. After clearing the cache, deleting … Read post
