0

I will explain what I’m trying to accomplish as I am having a difficult time figuring out the best way to ask this question. I have a custom theme that I am working on. I have several custom page templates for different page layouts etc.

I have one page template that places the page title centered below the header on top of a full width background image (featured image).....a common template the user could use for interior pages if they want.

I realized that maybe they would want this feature at the top of some of the other layout templates. How can I add this to the top of every page template, but allow the feature to be checked on or off in the page editor? I feel like this should be somewhat standard, but I’m stuck.

Any help greatly appreciated!

1
  • You could use the 'Featured Image' in WordPress and then just conditionally check if a thumbnail has been assigned or not. – Tony Djukic Jan 30 at 4:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.