Events Manager
[resolved] Single location page title: name + town? (5 posts)

  1. antwoorden
    Posted 1 year ago #

    It's great that in the admin "Single location page format" can be adjusted. But it seems like the displayed header title can't be adjusted...

    It's showing the #_LOCATIONNAME, but I want it to show:

    Is this possible? THANKS in advance!


  2. angelo
    NetWebLogic Support
    Posted 1 year ago #

    sorry, this isn't available at the moment but maybe you can try to hook into em_content_page_title filter.

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    we disabled this from 5.0 because we started using CPTs and rewriting titles caused too many problems with bad themes/plugins. that said, we could re-enable this and make it optional, so it can be turned off.

    alternatively with php you could also e.g. copy your theme's single.php file and rename the copy to single-location.php and then use something like

    global $post;
    $EM_Location = get_em_location($post);
    $title = $EM_Location->output('#_LOCATIONNAME (#_LOCATIONTOWN)');
  4. antwoorden
    Posted 1 year ago #

    Thanks Marcus!! It would be great if this would be integrated in later versions of the plugin, as an optional feature!

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    noted ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic