Support » Plugins and Hacks » Results for Different Categories

Results for Different Categories

  • Hi,

    I’m running a site that is primary used to index videos but recently I added a blog to the site so what I’m trying to do is have one set of related posts for all categories excluding the blog and then another set for blog posts. So all posts in blog category only have related posts for that category and all other post in other categories exclude blog from there related posts.

    I tried creating a template that has an if statement to check for the category and then modifies the query_posts() to either exclude the blog category or solely show posts from the blog category. This works to a degree but doesnt show the correct related posts, I’m guessing because i’m modifying the display rather then the results found.

    Anyone have any idea how I could possibly achieve this?



Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Results for Different Categories’ is closed to new replies.