Events Manager
[resolved] Events manager wipes out wp_title (3 posts)

  1. Ross Wintle
    Posted 4 years ago #

    Hi there,

    Sorry, I know, I keep raising issues.

    I've spotted that Events Manager filters wp_title when on event pages (see code in em_events.php starting on line 96)

    Unfortunately, you wipe out any of the nice formatting with separators that wp_title() does.

    wp_title() is documented here: http://codex.wordpress.org/Function_Reference/wp_title

    So if I call wp_title( '|', true, 'right' ), I expect to get printed something like:

    Events |

    My default template takes the Twenty-Ten approach and does:

    wp_title( '|', true, 'right' );
    bloginfo( 'name' );

    Expecting to get:

    Events | My Blog Name

    But because Event Manager doesn't process the separator arguments I get:

    EventsMy Blog Name

    From the code, it looks like this filter used to be on single_post_title, which is where I think it should still be.

    If you're going to use this filter on wp_title, can you please make it process the separator arguments correctly?



  2. agelonwl
    Posted 4 years ago #

    That issue is already been raised; please refer to this post http://wordpress.org/support/topic/plugin-events-manager-title-tag-merged-string?replies=13

  3. Ross Wintle
    Posted 4 years ago #

    Cool - carried discussion over to there. Will set this to resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic