Forums

[Plugin: All in One SEO Pack] single.php title rewrite using The Events Calendar (2 posts)

  1. justinendler
    Member
    Posted 1 year ago #

    @hallsofmontezuma

    Hi,

    A plugin I work on, The Events Calendar ( http://wordpress.org/extend/plugins/the-events-calendar/ ), hooks to template_redirect to route to some custom view templates. When our users have AIOSEOP activated, title rewrite turned on, and have specified a custom title structure, all their posts properly get the rewritten title, except those posts using our view template single.php. Looking through your code, I gather that the title is rewritten in $aioseop->wp_head(). Since our single.php calls get_header() and the user's header.php calls wp_head(), I'm wondering why our titles don't get rewritten. I've only briefly looked into this, but do you have any ideas how we can allow our view templates titles to get rewritten by AIOSEOP? Thanks,

    Justin

  2. Hi Justin,

    Drop me a line at http://michaeltorbert.com/contact/ and we can take a look.

Topic Closed

This topic has been closed to new replies.

About this Topic