Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #793805

    Hi

    I am making a kind of food theme and we display the products with the blog posts (content elements). When I click on a food item I also have the other food items on display on the bottom of that page. Is there a possibility to exclude this blog post cause it’s kinda silly to show the same food item on the same page.

    Thanks

    #793818

    Hey Daddykate,

    What widget did you use to show the items on the bottom of the page?
    Best regards,
    Sarah

    #794915

    The blog posts, you can find it in content elements.

    #795255

    Hi,

    That’s strange. By default, related-posts.php should exclude the current post. 
    'post__not_in' => array($this_id))<br>
    Can you try the solutions presented in this thread: https://kriesi.at/support/topic/post-title-and-related-posts-titles/

    Best regards,
    Sarah

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