[Resolved] Scribe theme home page

Home Forums Support [Resolved] Scribe theme home page

Home Forums Support Scribe theme home page

Viewing 12 posts - 16 through 27 (of 27 total)
  • Author
    Posts
  • #2358734
    Fernando
    Customer Support

    Here’s the article with regards to Block Element – Hook: https://docs.generatepress.com/article/block-element-hook/

    More or less, you just need to create a Block Element – create the design you want through GenerateBlocks, and add a WP Search Block as well.

    Here’s a short screen recording I made as a very basic example on how to create one: https://share.getcloudapp.com/OAuj4zgY

    #2361153
    Christiano

    Hi Fernando, thanks for your suggestions!

    I created a block element and I choose to show it in the home page. The problem is that it’s not showing…

    What can I done wrong?

    THANKS! πŸ€—

    #2361164
    Fernando
    Customer Support

    I see. Can you provide temporary admin login credentials to your site, and we’ll check what’s causing the issue?

    Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2362356
    Christiano

    You already have access to my site as I created an user for you.

    I do not have the user+password right now, can you look in the support thread?

    THANKS!

    #2362383
    Fernando
    Customer Support

    I see. However, it was provided from a previous thread that’s already marked resolved. By default Private Replies are removed from the thread once resolved. We no longer have access to your site.

    Once you get the chance to check, can you share the credentials here as well?

    #2362410
    Christiano

    Sure, here they are…

    #2362489
    Christiano

    I’ve created two elements for my home page:
    – Banner Agenda
    – Sezione RICERCA

    They do not show up… 😞

    #2363055
    Ying
    Staff
    Customer Support

    You didn’t choose a hook for your element:
    https://www.screencast.com/t/IOx8etF6ml2

    Depending on where you want it to be, check this visual hook guide:
    https://docs.generatepress.com/wp-content/uploads/2018/07/hooks-postspage.png

    #2363819
    Christiano

    Hi Ying, that was not the problem as in the other block elements I correctly choosed a custom hook name and set a priority.

    It doesn’t work… What could be the problem?

    THANKS! πŸ€—

    #2364331
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You can’t create a custom hook name without that hook actually existing in the theme.

    For example, you’ve chosen banner_agenda as a custom hook name, but that hook does not exist in the theme (so it won’t display).

    Instead, choose an existing hook name. For example, if you want it below the header, choose the after_header hook. This will display the Element after the header.

    You can refer to the existing Elements on the page to see where they’re hooked in to, and you can use the same hooks with different priorities to add your new Elements above or below the existing ones.

    Hope this helps!

    #2364852
    Christiano

    Hi Tom, this definitely help! πŸ‘πŸΌ

    Now I understand because the content doesn’t show up.

    Now all perfectly works.

    THANKS A LOT! πŸ€—

    #2365745
    Tom
    Lead Developer
    Lead Developer

    No problem! πŸ™‚

Viewing 12 posts - 16 through 27 (of 27 total)
  • You must be logged in to reply to this topic.