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

    My question is how to exclude certain categories from related posts.

    Once again there was the similar question many years ago on the forum.

    https://kriesi.at/support/topic/exclude-category-from-related-posts/

    However, this old trick does not work any more in the new version of enfold theme since the code changed completely.

    Please help me to exclude some specific categories from related posts working in the new version of Enfold theme.

    I want to know how to exclude several categories.

    Kindest regards.

    #1026521

    Hey WebManager11,

    Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,
    Victoria

    #1026532

    In old version, people were able to do that using this code:

    WP_Query(“tag=$tag_ids&showposts=$postcount&ignore_sticky_posts=1&orderby=rand&tag__not_in => array( 59, 61, 62 )”);

    Please check this thread:

    https://kriesi.at/support/topic/exclude-category-from-related-posts/

    Why can you not suggest the equivalent code for the new version ?

    What makes the new version of enfold theme to hard to customize comparing to old version of enfold theme ?

    Please explain. New version should move forwards towards the better customizability and not going backwards.

    #1027317

    Hi,

    The same code should work as that section has no changes.
    If you do need to do any changes or that code does not work – or not having enough knowledge on how it works – then you should hire someone to help you.

    Best regards,
    Basilis

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