Home › Forums › Support › Query loop used in Elements? This topic has 5 replies, 2 voices, and was last updated 5 months, 3 weeks ago by Leo. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts September 28, 2022 at 2:39 pm #2356899 Annamari Hi, is it possible to add the query loop to an element as a hook to be displayed at the end of every blog post? Thanks, Annamari September 28, 2022 at 3:30 pm #2356927 LeoStaff Customer Support Hi there, A believe a block element hook is what you are looking for: https://docs.generatepress.com/article/block-element-hook/ Let me know if this helps ๐ Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ September 28, 2022 at 3:40 pm #2356934 Annamari Hi Leo, great, that’s the one! Is it possible to build a related posts section with this? I managed to embed the block at the end of the posts, but I got stuck with setting it up to pull posts from the same category and skip the actual post. Thanks, Annamari September 28, 2022 at 3:52 pm #2356940 LeoStaff Customer Support The related posts feature would require the Pro version of GenerateBlocks: https://generateblocks.com/creating-related-posts-with-query-loop-block/ Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ September 28, 2022 at 4:06 pm #2356955 Annamari Thanks! September 28, 2022 at 4:47 pm #2356985 LeoStaff Customer Support No problem ๐ Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In