[Resolved] Element Type Block – Hook containing Query Loop

Home Forums Support [Resolved] Element Type Block – Hook containing Query Loop

Home Forums Support Element Type Block – Hook containing Query Loop

  • This topic has 2 replies, 2 voices, and was last updated 2 weeks ago by Aldrin.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2302404
    Aldrin

    Hi, I’ve created an Element called Related Vehicles, which is Type Block-Hook to display in generate_after_content. This Block contains a Query Loop which selects Custom Post Type Vehicles in a specific category and displays them on the single vehicle post. So when viewing the single post for a specific vehicle, I would like the Block-Hook I created to be displayed, not to show the current post I am viewing. Any help would be appreciated.

    I hope I am being clear.

    Thanks

    #2302427
    Ying
    Staff
    Customer Support

    Hi Aldrin,

    To exclude the current post from the query loop block is a GB pro feature, unfortunately.

    #2302449
    Aldrin

    That’s what I thought. No problem

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