Ready to get started?Download WordPress


WordPress Related Posts
how to add related post on category pages (2 posts)

  1. baadshah26gold
    Posted 1 year ago #

    dear sir
    i am using related post plugin which show related post on single post below and i am using one post page and in category pages related post not shown how can i add these.
    please help me
    and thanks in advance


  2. baadshah26gold
    Posted 1 year ago #

    I get solution
    by alchymyth
    The Sweeper & Moderator
    this great person

    if ($post->post_type === 'post' && (($options["on_single_post"] && is_single()) || (is_feed() && $options["on_rss"]))) {

    and possibly change that to:

    if ($post->post_type === 'post' && (($options["on_single_post"] && (is_single() || is_category()) ) || (is_feed() && $options["on_rss"]))) {

    not widely tested - will obviously get lost when you update the plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic