Use of templates - global structure

Hi, I would like to add specific structure to my post pages: I mean a header before the content and a footer to remind shopping options. But I am having some questions with templates. 

1. Do I have to create 2 templates (one for the header and another to the footer) or just one would be enough?

2. How can I automatically added to all my posts?

3. Is there a way to make it global? I mean that when I make a change in the template, that change would be replicated in all posts? 

If you can answer these questions would be great.

Thank you so much ;)

Comments

  • Hi,
    1) Header(Action Bar, Top Bar, Slider, Subheader) and footer are already in the theme, so you would have to use the "Blank Page" template first to remove them.
    I do not understand the question.

    2) It's not possible to automatically add it, you have to add them by inserting your pre-built template.

    3) Answer is the same as the answer from second point.

    Thanks
  • Hi, thank you for your answer. 

    1. Yes, I know but I would like to add this elements only in blog posts, not the whole site. The structure I am looking for is: 
    - Web Header (Menu)
    - My structure (similar like a banner) after the menu 
    - Post content
    - My structure after the content
    - Web Footer

    I have created a template with these 2 structures (as you show in your screenshot) but how can I use this template to be in all blog posts?

    How can I select this template to my entries?

    Thank you
  • That's not possible to attach on all of them at once.
    You have to select this template while creating the post.

    Thanks
  • OK, thank you for your reply and attention :)
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.