[Support request] how to make the container block (table of content) in left sidebar?

Home Forums Support [Support request] how to make the container block (table of content) in left sidebar?

Home Forums Support how to make the container block (table of content) in left sidebar?

Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • #2317398
    eran

    Hi,
    How can I make the Table of Content as a sidebar? without using a plugin?

    #2317714
    Ying
    Staff
    Customer Support

    Hi there,

    GP doesn’t have the TOC function unfortuanly, you will need a plugin for this.

    #2317730
    eran

    I can create links with id.
    Checkout my website

    #2317833
    Ying
    Staff
    Customer Support

    I think it takes too much time to manually create the TOC, are you ok with that?

    If so, try using custom fields in your post to create titles, then you can use the dynamic option of headline block to pull the post meta as its content.

    #2317918
    eran

    Too much time? I already did it.
    Did you check my homepage?

    #2317921
    Ying
    Staff
    Customer Support

    Did you check my homepage?

    I did and I know you’ve made one manually using GB.

    I’ve replied with the possible solution to add the TOC in the sidebar, have you tried it?

    #2319207
    eran

    nope. i dont know how to do that.
    how i add the custum fields to my post?

    #2319492
    Fernando
    Customer Support

    Hi Eran,

    You can use ACF: https://www.advancedcustomfields.com/resources/getting-started-with-acf/

    Are you planning to add TOC on just your homepage or to posts as well?

    #2319551
    eran

    I wanted to make it only for my homepage for now.
    is there a way to do it without a plugin?

    #2319565
    Fernando
    Customer Support

    If it’s just for the homepage, without a plugin, what you did would be good.

    #2319574
    eran

    But how i place it asa sidebar?

    #2319576
    Fernando
    Customer Support

    You can create a Block Element – Sidebar, and paste the TOC you manually created there. Then set it to display only in your homepage.

    Reference to Block Element – Sidebar: https://docs.generatepress.com/article/block-element-sidebar/

    #2319579
    eran

    I already did it but it didnt work

    #2319587
    Fernando
    Customer Support

    Can you provide temporary access? I’ll try to check why it isn’t working.

    #2319593
    eran

    Im not at home right now

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