[Resolved] Elements not loading on homepage

Home Forums Support [Resolved] Elements not loading on homepage

Home Forums Support Elements not loading on homepage

  • This topic has 5 replies, 3 voices, and was last updated 4 months ago by Claudia.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2143968
    Hubert

    I’m new the GeneratePress and have spent all day trying to watch videos and learn about the setup.

    I created a blank home page and then built a custom elements page assigning it to the blank home page using blocks/content template with sections tag (domain.com/home). Everything looked good and was working as intended on the page. When I went into Customizer and assigned that page as my root home page (domain.com), now none of the elements I created are showing.

    I built it using the Elements and not directly on the page because I was using query loops with dynamic images and apparently those don’t work on the page itself. I tried searching YouTube and the Forum but could not find anything about this. Any advice?

    #2143969
    Ying
    Staff
    Customer Support

    Hi Hubert,

    I created a blank home page and then built a custom elements page assigning it to the blank home page using blocks/content template with sections tag (domain.com/home)

    I’m not sure I understand what you mean. Can you explain a bit more?

    query loops block is a WP core block, GP’s block element -content template (style) won’t work on it. A block element – content template only works for the default post loop, in another word, it works on the default blog/archive pages.

    Have you watched this video to understand the concept of block element – content template?
    https://docs.generatepress.com/article/block-element-content-template/

    Let me know ๐Ÿ™‚

    #2144209
    Hubert

    I’ll try to explain it this way. I have linked the exact same element titled “first homepage section” to two blank pages: home and front-page.

    See https://backyardpatiosdecks.com/home/ the page loads and is displaying the element correctly

    Now see https://backyardpatiosdecks.com/front-page/ is set in customizer as the front-page but the element does not load when you visit https://backyardpatiosdecks.com

    pages
    elements
    customizer setting

    #2144254
    Hubert

    Never mind I found the error. I was selecting the wrong front page option in the Layout section

    #2144592
    Ying
    Staff
    Customer Support

    Glad you figured it out ๐Ÿ™‚

    #2188974
    Claudia

    Dear Hubert, can you just explain what option you corrected, because i have the same behaviour with my frontpage as you described and cannot figure out what is wrong.
    Regards, Claudia

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