Support » Plugin: Manual Related Posts » Different shortcodes on different types of content

  • Arnolito

    (@lamaisongraphique)


    Hi Julio,

    On a blog with 300 posts and 6 CTP with 120 posts (these posts are made by CTP for having an easier administration and for SEO reasons), I would have different widget of related posts in sidebar by using a different shortcode at each time :

    1. On CTP posts : a shortcode like [bawmrp – tous les CTP idems – 4 posts – random display – random order – thumbnail mode]

    2. On posts : [bawmrp – Same category posts – 4 posts – random display – random order – thumbnail mode – nofollow]

    Do you think it’s possible ? How can I do that ?

    Thanks for your answer,
    Arnolito

Viewing 1 replies (of 1 total)
  • Arnolito

    (@lamaisongraphique)

    For readers :

    It’s possible with filter : bawmrp_li
    Have to make a loop : str_replace (‘<a ‘, ‘<a rel=”nofollow” ‘)

Viewing 1 replies (of 1 total)
  • The topic ‘Different shortcodes on different types of content’ is closed to new replies.