WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] How to include rel=next / prev in paginated content (6 posts)

  1. Thijsonline
    Member
    Posted 1 year ago #

    Not sure this is something that can be expected of a plugin, but I'm looking into the possibility of including rel=next and rel=prev in the paginated event lists, either in the pagination links themselves or in the <head> section.

    Any thoughts are definitely welcome as most posts about this focus on the default WordPress archives and not on implementing it on single pages with variable page numbers as with Events Manager.

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 1 year ago #

    at the moment you need to add that by editing plugin file at events-manager/em-functions.php at around line 13 however this is not upgrade safe.

  3. Thijsonline
    Member
    Posted 1 year ago #

    Great. Keeping one thing in mind while upgrading should be do-able.

    Thanks for pointing out the location.

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    if you want to modify it yourself, you can actually override that function in your theme file (e.g. define it in a mu-plugins folder file), or use the filter. that'd be upgrade-safe

  5. Thijsonline
    Member
    Posted 1 year ago #

    Thanks, the mu-plugins solution worked perfectly for the on-page rel=next. I'll look into learning a bit more php before attempting <link rel="next"> in the <head> section :-)

  6. angelo
    NetWebLogic Support
    Posted 1 year ago #

    thanks for the update.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic