Site logo

Archived topic

Post Attributres Template

1 reply · Started by Joel on June 27, 2017

Viewing posts 1–2 of 2

Hi

I'm currently using the premium version of GP and each page I create I disable some elements, choose no side bar, how many widgets and a full width page builder container. Is there a way to save the settings created each time as a post attribute template which would make this process much quicker?

If not is this something you'd consider adding in the future. It would save a lot of time and effort, particularly when passing the site over to clients.

Hi there,

You couldn't turn it into a template, but there's likely functions that can be used to disable these elements for you.

For example:

Sidebars: https://docs.generatepress.com/article/sidebar-layout/#using-a-function
Footer widgets: https://docs.generatepress.com/article/footer-widgets/#changing-the-numbers-of-widgets-using-a-filter
Full width content: https://gist.github.com/generatepress/c0d6858af13f5d7975f0fd0b075d60d5
Full width content in Beaver Builder only: https://gist.github.com/generatepress/ad921185bc15b6f28bcf773596217739
Full width content in Elementor only: https://gist.github.com/generatepress/445e1430db638b6ce4f3ddfb4c2ca9cf

Which other elements are you wanting to disable by default?

This archived topic is closed to new replies.