if we want first category than, we will get result in php array format. Using that array we can easily get first category name or id from wordpress post.
In this article we given full steps and code for How to set different layout for each category in Wordpress. Which you need to use in your wordpress theme
In this tutorial we are going to show you, how to use conditional tags in wordpress. We given code sample for wordpress theme.
The Conditional Tags are most useful in creating the wordpress themes and plugins. use of conditional tags in wordpress is necessary in custom themes
What is meaning of a Template Tag in WordPress A template tag is code that instructs WordPress to “do” or “get” something. In the case of the header.php template tag for your WordPress site’s name, it looks like this: php bloginfo(‘name’); ?> // this will print the blog name Following are the more public methods. name …
When we create custom wordpress theme then functions file important. functions file is important in wordpress theme. Here is information about functions file
Whenever you are developing the new wordpress theme, you need to put some css in your style.css file. If you are not adding that css in your theme then there is a lot of changes to break your theme view. Some classes which are needful for image and alignment purpose. You need to just copy …
Just put some jpg, png or gif files in your theme images folder. In this article we shown to set Media Icons in wordpress theme
In custom themes, we choose category to show the posts from which will be good trick. In this article we given code for display recent posts from category.
This pretty much old article and trick, shown, How to remove category word from your Wordpress URL. Now these days many wordpress plugins