Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I’m new to WordPress. I saw a custom header file in the inc folder of Twenty Twelve theme. I understand that we can use this custom header in any custom page template instead of header.

I have a doubt now, is there any custom footer that also can be used? Why this custom files should be stored in inc folder?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You can take a look at Custom Headers documentation for information about it.

There is no "custom footer" feature, well because WP only has "custom header" theme feature and it isn't named/scoped to handle arbitrary custom-something.

why this custom files should store in "inc" folder?

This is just an implementation detail of specific theme, it's not required or standardized in WordPress. inc is short for includes and is typical name for folder containing PHP files (other common folder names being php and src).

share|improve this answer
    
thank you... :) –  barbieegal Nov 22 '13 at 6:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.