• Hi!

    Awesome plugin ! I’m trying to custom my pages/single using the shortcode, but I can’t really find a way. What I’m trying to do is to use related tags on specific categories, on several pages. For example :

    Page 1 : related tags only for category A
    Page 2 : related tags only for category B
    Page 3 : related tags only for category F

    Any clues ?

    https://ww.wp.xz.cn/plugins/contextual-related-posts/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WebberZone

    (@webberzone)

    Please check out the addon: https://ww.wp.xz.cn/plugins/crp-taxonomy/

    Thread Starter UnderScores 2.0

    (@underscores-20)

    Thanks for your reply. The addon is very useful, but if I’m not mistaken, you can only use it to restrict categories for the entire website. This doesn’t solve my problem, as I need to be able to select different categories for different posts or pages where I want to have related posts displayed.

    Plugin Author WebberZone

    (@webberzone)

    The addon will limit the related posts to the same categories / tags of the current post.

    I think I haven’t clearly understood what you’re trying to do.

    Thread Starter UnderScores 2.0

    (@underscores-20)

    Here’s an example: I have 50 articles files under the “Movies” category and containing the tag “Tom Cruise”. I want to display the 10 most recent Tom Cruise tagged articles, in descending order.

    So far, even with the addon, it doesn’t work, except for the category filter : it displays a couple of related posts (not the most recent ones), and then a bunch of unrelated articles (not cointaining the “Tom Cruise” tag) from the same category…

    Plugin Author WebberZone

    (@webberzone)

    Hi,

    This is going to be very difficult with the default installation. You’ll need to have to modify your theme and use the plugin API to fetch this.

    A simple example of this is below:
    https://gist.github.com/ajaydsouza/968b24a052e858bf8926

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

The topic ‘Different categories’ is closed to new replies.