Replace default WordPress jQuery script with Google Library

Posted on April 18th, 2011 by in Themes | 8 Comments  
Replace default WordPress jQuery script with Google Library

There are default scripts that comes with each WordPress installation. These scripts are at disposal of theme and plugin authors to use in their work. From our experience, jQuery is one of the most used scripts in plugins and themes. In this article, we will show you how to replace the default WordPress jQuery script with Google Library script. You are probably wondering why should you replace the default WordPress jQuery script with the one from Google Library? jQuery is…

Continue Reading »

How to use Shortcodes in your WordPress Themes

Posted on April 8th, 2011 by in Themes | 7 Comments  
How to use Shortcodes in your WordPress Themes

Recently, we got a request from a user asking how they could use WordPress shortcodes in their WordPress themes. Shortcode is a special tag that you can enter into a post that gets replaced with different content when actually viewing the post on the website. If you have ever embedded a WordPress gallery on your blog, then you’ve already seen the built in shortcode. Check out our article on adding shortcodes in your themes. Thankfully, WordPress has a very easy…

Continue Reading »

How to Set a Default Fallback Image for WordPress Post Thumbnails

Posted on March 27th, 2011 by in Themes | 15 Comments  
How to Set a Default Fallback Image for WordPress Post Thumbnails

Often new bloggers forget to set a post thumbnail (featured image) which causes the template display to break. In this article, we will show you two different ways of adding a default fallback image for WordPress Post Thumbnails.

Continue Reading »

How to Display Only Child Category in your WordPress Post Loop

Posted on February 3rd, 2011 by in Themes | 5 Comments  
How to Display Only Child Category in your WordPress Post Loop

In our previous post, we shared how you can only display parent category in your WordPress Post Loop. This article is the continuation of the similar technique except here we will try to only show child category in your WordPress loop. Unfortunately the_category() does not have any optional parameters like child=0 or depth=-1. When creating our WordPress Gallery, this was one of the issues we had to deal with to organize our single site pages the way we wanted. To…

Continue Reading »

How to Display Only Parent Category in your WordPress Post Loop

Posted on February 3rd, 2011 by in Themes | 5 Comments  
How to Display Only Parent Category in your WordPress Post Loop

When you use the_category() template function in your WordPress theme, it displays both the parent category and any child/subcategories under it. If you are creating a site that uses a lot of child categories to categorize the content, then this can become a problem because the_category code will create a lot of clutter. In this article, we will show you how to display only parent category in your WordPress post loop.

Continue Reading »
Tweets about us: