Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Fernando Briano

    (@fernandobt)

    Maybe using a different shortcode for each category?

    [catlist id=1 catlink=yes]
    [catlist id=2 catlink=yes]
    [catlist id=3 catlink=yes]
    [catlist id=4 catlink=yes]
    Thread Starter Johnny

    (@grsgrk)

    That would only work if it were four separate lists. In my case it’s one list that’s pulling post from four categories. I need it to display the category specific to each post. For example, I have a list that pulls posts from categories 1,2,3 and 4. The first post in the list is from category 1. I would like it to display 1 as a link. If the second post in the list is from category 3, I would like it display 3 as a link. When I apply catlink=yes now it just lists all the categories I’m pulling from in this list. So, that first post displays 1 2 3 4 as links even though that post only falls under category 1. Again for the second post, it’s displaying 1 2 3 4, even though it only falls under category 3.

    In any case I’ve solved this by reverting back to using the default WP blog page, on which I can call the_category() and apply that categories permalink. Here’s a link to the blog so you can see what I mean.

    This might make a nice addition to your plugin, which is still terrific btw. Thanks for creating and maintaining it! I’m still using the LCP widget for the sidebar. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Post Specific Category Links’ is closed to new replies.