Archives for August, 2011
As you probably know, you can add a category description from the categories tab, but if it is so long, you can truncate it using and pasting the following code to your function.php file. This will hide the description only in the wordpress backend-
In one of my project i've the necessity to publish an item description and a thumbnail when user clicks on Google +1 button; if you use an html5 wordpress theme you could not have to integrate the brand new Google itemprob, but if you use a normal theme you can add this snippet to do what you need.
If you want to remove a shortcode from your blog's home page, but not from posts, you may use this snippet. Just paste the code to your function.php to remove the shortcode value from index.php or home.php but not from the rest of your template
This cool snippet will add a bookmark button to default wordpress admin bar, so you can browse between the bar specific posts. in the $cat variable you must specific a category id, where you will publish the bookmark. Add this code to your wordpress function.php file
This cool snippet will help you to hide a custom field in your template, add it to your wordpress function.php file
This will add a TinyMce editor to title field in the posts and pages tab, you can customize style font and format to your title. To use this snippet just add the code to your function.php theme file.