WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] [Plugin: Yet Another Related Posts Plugin] How to add my custom_post_types permanently? (2 posts)

  1. bigneno
    Member
    Posted 2 years ago #

    Hi,
    how can I add my custom post types into plugin core, so they are cached like posts?

    I'm aware that there's a hack yarpp_related(array('post_type'=>array('post','toy')));, but as the author mentioned, the results are not cached.

    Thank you

    http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    Using YARPP with custom post types is an advanced, developer-focused tool, so as such I suggest you build your own caching code, using WordPress's builtin functions:

    http://codex.wordpress.org/Class_Reference/WP_Object_Cache
    http://codex.wordpress.org/Custom_Fields

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic