[Resolved] Keep sidebars in sections

Home Forums Support [Resolved] Keep sidebars in sections

Home Forums Support Keep sidebars in sections

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #806006
    Enrique Garcia-Sayan

    Hi, I searched on the forum for the answer to this, trying to use sections in my homepage, while keeping the sidebars, and saw that it was recommended to add this filter:

    add_filter( ‘generate_sections_sidebars’,’__return_true’ );

    However, when I go to the customize and additional CSS section, I get an error code “unexpected token at….”.

    I don’t have a lot of coding experience, trying to get this solved in the easiest possible way.

    Thank you!

    #806077
    Leo
    Staff
    Customer Support

    Hi there,

    That code is actually PHP.

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    #811917
    Enrique Garcia-Sayan

    Thank you, that worked!

    #812245
    Leo
    Staff
    Customer Support

    No problem 🙂

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