WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] Remove PHP from template when upgrading to version 4? (5 posts)

  1. Sven D.
    Member
    Posted 1 year ago #

    Hi

    I want Yet Another Related Posts Plugin to display as before.

    Do I have to remove the PHP from my template when upgrading to version 4, or can i just leave it and everything wil work?

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

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    What do you mean by "to display as before"? Are you using a custom template?

    YARPP version 4 was intended for you to just upgrade and for it to just work in most cases.

  3. Sven D.
    Member
    Posted 1 year ago #

    Thanks for the reply Mitcho, and sorry for being unclear about my question. This is the case:

    I have YARPP installed and have added the PHP in my theme (below post), it works as intended :)

    I was about to upgrade to version 4, but this line from the changelog no PHP required — just visit the settings page made me unsure: should I remove my old YARPP PHP from the theme or will it still work as before?

  4. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    No no no, YARPP will work just as it used to for your purposes. It should respect your choice to not display automatically, and the code you added will still work.

    The only difference is that it will wrap its output in a div. In most cases this is not a problem.

    Please give it a try and let me know how it works for you.

  5. Sven D.
    Member
    Posted 1 year ago #

    Thanks Mitcho, it worked just fine :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.