[Resolved] Layout Settings not working on Blog Page

Home Forums Support [Resolved] Layout Settings not working on Blog Page

Home Forums Support Layout Settings not working on Blog Page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #619575
    Patrick

    The Layout settings are not working for the Blog page on this site:
    https://learnavprogramming.com/courses/blog/

    They are currently set to:
    Sidebars (none), Footer Widgets (0), Disable Elements (Secondary Menu), Page Header (Hero)

    The same settings work fine on the blog posts and Main page.

    Any ideas?

    GeneratePress 2.1.3
    GP Premium 1.6.2
    #619675
    David
    Staff
    Customer Support

    Hi Patrick,

    WordPress doesn’t accept input from meta boxes on the blog page. You can disable the sidebars for the blog page in Customiser > Layout > Sidebars.

    Are you using sidebars, footer widgets, secondary menu anywhere else on the site? As they can all be disabled in the Customiser. If you are then we can throw a little bit of code at it ( or wait for GP 1.7 which is in Beta where this is super simple ).

    #619865
    Patrick

    Thanks for the fast reply!

    By customiser do you mean this?:
    https://drive.google.com/file/d/1dXKb4olvMc6UWxRiVUwruJFZE7Rs5rQA/view?usp=sharing

    Result:
    https://drive.google.com/file/d/1uT8EGQFSXxwfW0jXQ3vW4h5YTIiRHPb8/view?usp=sharing

    I am not using sidebars anywhere right now.
    Would be nice to have the option though (it is an online course sit, so the course lessons might benefit from sidebars).

    #619980
    David
    Staff
    Customer Support

    Hi Patrick,

    If you go WP Dashboard > Appearance > Customiser.
    Here you can make global customisations, that can be overwritten at a page level by the Layout Module you are currently using.

    #619991
    Patrick

    Thanks.
    So I used Appearance > Customize to disable the sidebars, and footer widgets globally.

    But why do the Layout controls (like disable secondary navigation) of the Post Page not work?
    I have different menus for different pages, so that cannot be handled globally.

    #620045
    David
    Staff
    Customer Support

    The Layout module is a meta box, and unfortunately they won’t work on Blog / Archive pages, as they don’t have a page ID that can be queried.

    The good news is, GPP 1.7 which is currently in Beta, introduces a new module called Elements, one of those Elements is the Layout module. This will come with Display Rules, so it will be super easy to assign different settings for individual posts / pages / templates (blog / archives etc).

    Some more info here:

    https://generatepress.com/gp-premium-1-7/

    #620053
    Patrick

    Sounds good.
    Looking forward to 1.7!

    Thanks for the help ๐Ÿ™‚

    #620065
    David
    Staff
    Customer Support

    You’re welcome! Have an explore of the Customiser, note that under Layout there is a specific Blog section that adds lots of functions, its also where Featured Image settings are controlled globally ๐Ÿ™‚

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.