Support » Plugins and Hacks » Easy Related Posts » [Resolved] Limit to post types

[Resolved] Limit to post types

  • Hi,

    I would like to limit the display of related posts to certain post types. Could you implement that feature?

    I use Ninja Popups, a plugin to create popups. Popups are normal posts of type snp_popups. Unfortunately, therefore related posts are shown in the popup which makes no sense. It’s possible to hardcode it not to show the related posts on a popup but I was confused about the Displayer() function in easy-related-posts/erp_display.php – the WP_Query object there is not the current post?



Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author xdark


    It is possible to be done with some coding but currently I am not planing to implement such feature. If you know coding I can add you to developers and help me with that.

    $erpDisplayC->Diplayer($argum) just renders the plugin content.

    Wp_Query obj is for related posts and not for the current post. The curent post is the $defcon var in $erpDisplayC->ConModifier($defcon).

    You will have to look at $erpDisplayC->ConModifier($defcon) which takes the default main area content and returns it with ERP content or not.

    To point you somewhere look in __construct of erpDisplayC class. There is a filter for the_content.


    are you interested in having this feature development sponsored? If so- how much?


    Plugin Author xdark


    Sorry but this is a free plugin and it will stay so. If you need a plugin to do the job you can allways contact me at xdark dot eu at gmail dot com.

    I appreciate your interest anyway,
    Have a nice day.

    Plugin Author xdark


    I thing you can solve this now with putting posts under certain categories. This function is included in the new version.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Limit to post types’ is closed to new replies.
Skip to toolbar