Site logo

[Support request] How to build single post layout like this with GP premium & GB pro?

Home Forums Support [Support request] How to build single post layout like this with GP premium & GB pro?

Home Forums Support How to build single post layout like this with GP premium & GB pro?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2432175
    Trạng

    Is it possible to build a single post layout like this with GP & GB pro?

    In the left sidebar, I want to display 2 tabs In Category & Latest (or only in category is ok). Like this one.

    In the right sidebar, I want to display a simple fixed TOC like this.

    So can I build this single post layout with GP premium & GB Pro? or do I need to hire a front end dev to do it.

    Please give me some advice. Thanks.

    #2432186
    Fernando
    Customer Support

    Hi Trang,

    It should be possible. You’ll need a TOC plugin.

    You can set the Sidebar settings through Appearance > Customize > Layout > Sidebars. Reference: https://docs.generatepress.com/article/sidebar-layout-overview/

    So, it should be Sidebar / Content / Sidebar.

    Then, you can add a Category List Block on the left. We have no Tabs Block yet so you’ll also need a plugin or custom code for this. We’ll need custom CSS to make it scrollable as well. We can help you with this after you’ve finished your setup.

    As for the TOC, usually, TOC plugin provide a shortcode, which you can add through a Shortcode Block. One previously recommended ToC here in the forums is this: https://en-gb.wordpress.org/plugins/easy-table-of-contents/

    You can add Blocks in the sidebar through Appearance > Widgets.

    Or, if you want it to appear only on specific pages/post – in your case, just single posts, you can use a Block Element – Hook. Hook it to the sidebar hooks. You can view some possible Hook locations here: https://docs.generatepress.com/article/hooks-visual-guide/

    #2432482
    Trạng

    Hi Fernando, thank you so much for such a detail answer.

    Can I ask about “Category List Block” -> will it display all the posts in the same category with the current post or it just display list of category on my site?

    Thank you. And I will deploy those steps, when I’m done, I will comeback to look for the help on further step.

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