WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Single location page title: name town?

[Resolved] Single location page title: name town?

Viewing 4 replies - 1 through 4 (of 4 total)
  • angelo_nwl

    @angelo_nwl

    NetWebLogic Support

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

    Plugin Author Marcus

    @netweblogic

    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)');

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

    Plugin Author Marcus

    @netweblogic

    noted 😉

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Single location page title: name town?’ is closed to new replies.