by Bhumi // Dec 23,2012 // No comment
Whenever you wanted to have separate or different header in your wordpress theme,you are mostly used
include function for including different headers as per conditions. So today I am going to show ways to call custom headers for different pages in wordpress.
To call a particular header, you can create and include that file in require page,With the use of use of PHP include() function,you can easily customize the header.
Other Method is to use
get_header function with parameter.you can create new custom header file with name
header-name.php and pass name value into the get_header function as argument.
Above code will automatically include
header-home.php whenever the above defined function is called.
NOTE: using same method you can easily add Custom Footer, or Sidebar too.
As you can see, it’s very simple.I hope this little tutorial helps you with how to use multiple headers in wordpress.Again if you have any questions just drop me a comment. So that’s all for now.
Before today, I was using plugin for add tabbing in wordpress. but today I have tried one thing to use tabbing in wordpress without plugin READ MORE
Here in this quick post,I am going to explain about how to customize media uploads types in wordpress. In the latest version of wordPress, you READ MORE
WordPress is a great platform for building any kind of web sites and it has a sufficient back-end but sometime you need to make changes READ MORE
WordPress is easy. It lets you create your website quickly. It is free and highly search engine friendly. But, do you really think that you READ MORE
Posted on Dec 1,2011
Posted on Nov 26,2011
Posted on Mar 2,2012
Posted on Dec 12,2011
Posted on Jan 27,2012
Be a Contributor at CreativeDev.Write an article or tutorial to the community and share some of your knowledge!