WordPress.org

Support

Support » Plugins and Hacks » WordPress Related Posts » how to add related post on category pages

how to add related post on category pages

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘how to add related post on category pages’ is closed to new replies.
Skip to toolbar