WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
Latest Update puts Page name in upper left hand of page (35 posts)

  1. Cyndi Papia
    Member
    Posted 2 years ago #

    Latest version (using Genesis framework/themes) is throwing the page name up into the far left top corner on the main or single events page.

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

  2. agelonwl
    Member
    Posted 2 years ago #

    Is it the latest version 4.302? Did you also try to check the css/theme

  3. agelonwl
    Member
    Posted 2 years ago #

    tested it on the default 2011 wp theme and it works fine. Can you post your website url?

  4. Cyndi Papia
    Member
    Posted 2 years ago #

    Yes, it is the latest plug-in and does it on all my client's sites. I don't usually run into plug-in problem with the Genesis framework/themes. I would have to change 30 sites and check css.

  5. Cyndi Papia
    Member
    Posted 2 years ago #

    Here's one site: http://confidentmarketer.com/events and all sites are doing the same thing on the main event page and single event pages.

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    my guess is your html is wrong in your header.php most probably, looks like you're missing a title tag surrounding the "Events" that shows up

  7. Cyndi Papia
    Member
    Posted 2 years ago #

    I don't know why that would change from the last plug-in version and then this one does that. Oh, well, thank you. I'll find another plug-in, though I love this one and have several clients with the paid version. Genesis is a great framework and everything else works like a dream and there is not html in the header.php. Again, thank you, Marcus.

  8. Shonu
    Member
    Posted 2 years ago #

    Such are the reasons to test all plugin updates first on a clone of production systems or a test environment. It really prevented me from problems like this. But of course, not everything can be seen on a test system unless one defines "regression" test cases.
    I usually keep a log of one version and wait for forum posts after releases....like this ;-)
    This prevented me from updating to this version (thanks BTW)

  9. Cyndi Papia
    Member
    Posted 2 years ago #

    You're welcome, Shonu.

  10. Cyndi Papia
    Member
    Posted 2 years ago #

    As a follow-up, Shonu, when clients update the plug-ins, I have no control over that so testing ahead of time isn't always an option.

  11. Shonu
    Member
    Posted 2 years ago #

    I see, if you have sub-admins for each of the 30 sites, then I guess it is just a matter of them to be patient and not too eager to update ("never change a running system,.....unless urgently needed as of hotfixes")

  12. Shonu
    Member
    Posted 2 years ago #

    Research:
    1. "Events" is ijn the middle of the header, Cyndi:

    ...<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      Events<link rel="Shortcut Icon" href="http://confidentmarketer.com/wp-content/themes/suepainter/images/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="http://confidentmarketer.com/wp-content/themes/suepainter/style.css" type="text/css" media="screen" />
    <lin....

    2. The fact that the title tag is missing in the header indicates that something usually rendering is involved.

    3. As the Word "Events" would be the string placed in title -tag as
    <title>Events</title> (potentially with | <site name> appended) and is now just plain "Events" I assume that a plugin that renders the title has been corrupted in a way that it's tags are stripped out
    <title>Events</title>
    goes
    Events
    ergo: you see the events

    Are you seeing it on all 30 sites ?
    If yes, do they all have the same theme (should be fine) and framework (this could indicate header-tag processing) then it is likely that Plugin-and framework have an incompatibility issue.
    If nobody else reported this, then there is a chance it is the constellation of your setup(s).
    Revert to previous version for the time being, if that helps...?

  13. Shonu
    Member
    Posted 2 years ago #

    (Text-correction:)
    2. The fact that the title tag is missing in the header indicates that something rendering the full meta title is involved.

  14. Cyndi Papia
    Member
    Posted 2 years ago #

    The Events<link rel="Shortcut Icon" href="http://confidentmarketer.com/wp-content/themes/suepainter/images was never there before.....

  15. Cyndi Papia
    Member
    Posted 2 years ago #

    Shonu, I reread what you said, have latest version installed. On the settings page for the plug-in I had the page title in there, which worked fine before but not with the update. I removed them and all looks fine. THANK YOU!

  16. Shonu
    Member
    Posted 2 years ago #

    There is a strong delay of your posts here, Cyndi. I get email notifications almost half an hour before they show up here....my posts show up immediately....

    Anyhow, I answer your future post in advance!
    You site now does not have any title on the Events page.

    @Marcus: I remember some issues in the way that EM is including, hooking into the meta-title mechanism. Shouldn't EM render a title tag whether setup as an empty string or with "Events" ? If empty, one could imagine that wordpress default title generation would be applied, with the page name being the title, but there is more than 1 way to modify the title with plugins.....

  17. Shonu
    Member
    Posted 2 years ago #

    ..but I am glad, that you temporarily found the workaround. The plugin is really worth keeping.

  18. Cyndi Papia
    Member
    Posted 2 years ago #

    I love the plug-in....the only one I use on sites. But there is something with the latest version that is playing with the WP-generated title tags. Hope my workaround works for others. You've been a wonderful help, Shonu.

  19. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    in this case, am pretty sure it's a theme issue, because we just filter out the content, am betting the theme supplies the title tags inside the wp_title() function, which it shouldn't (most themes do it outside, so EM can't overwrite it).

  20. Cyndi Papia
    Member
    Posted 2 years ago #

    Marcus, thank you! I just posted on the StudioPress forum. You are awesome, very rare to find people/developers so fast and responsive. Will keep you posted on what I learn.

  21. Cyndi Papia
    Member
    Posted 2 years ago #

    Don't know if this helps or not but got a response from StudioPress:

    The theme filters the function and builds the tags based on the type of data being built, which is more efficient and the same approach used by top SEO plugins.

  22. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    all i can say is it works with top SEO plugins, yet not with your theme :)

    this might get resolved when this is done though : http://wp-events-plugin.com/blog/2011/10/20/state-of-the-event/

  23. csw14
    Member
    Posted 2 years ago #

    I also use a Studio Press / Genesis theme (Prose) and got the same issue of the page title appearing top left when I updated to Events Manager 4.302

    Cyndi -- I didn't understand your fix. Please could you explain it again? Thanks!

  24. Cyndi Papia
    Member
    Posted 2 years ago #

    CSW14, probably easier if I send you a screen shot, email me at otg.virtual AT gmail and put "Event Manager" in the subject line.

  25. Cyndi Papia
    Member
    Posted 2 years ago #

    Let me see if I can explain here. For the line with Events page title I leave it blank.

    Default event list format I put the h tag in it: <h2><b>#_EVENTLINK</b></h2> and then my other stuff

    For Single event page title format I leave it blank.
    Default single event format I have (your will vary, but it the h tag that does the trick):
    <h2>#_NAME</h2>
    <p>#F #j, #Y #@_{ \t\h\r\u F j, Y} </p>
    <p>#_NOTES</p>

  26. csw14
    Member
    Posted 2 years ago #

    Marcus -- this issue did not occur with version 4.212 (the version I'm running on my live site), so it's been prompted by some change in Events Manager between that version and 4.302.

    With version 4.212 of Events Manager, the title tag in the HTML head section pulls in "Events" for the main events manager page or the name of the event for the specific event page ("West Windsor Community Bike Ride" in the example here):

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>West Windsor Community Bike Ride</title>
    <meta name="robots" content="noodp,noydir" />
    <link rel="Shortcut Icon" href="http://sustainableprinceton.org/wp-content/themes/prose/images/favicon.ico" type="image/x-icon" />

    With version 4.302, there is no title tag at all in the HTML head section. Instead, the name of the event appears without title tags; a meta tag that Genesis inserts is also missing:

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      Monthly residents meeting
    <link rel="Shortcut Icon" href="http://localhost:8888/wp-content/themes/prose/images/favicon.ico" type="image/x-icon" />

    I checked the header.php file of the Genesis theme framework code and it indeed does apply some filters to the wp_title() function. For example, it has a series of if statements testing whether the page is the home page, a post, a category etc -- depending on what the page is, different things get put in the title.

  27. csw14
    Member
    Posted 2 years ago #

    Cyndi -- thanks for clarifying. Your workaround goes some way towards fixing the issue from an appearance point of view, but we still have no <title> tags... which has consequences for the way the page appears in the browser (no name in the title bar/tab) and for search engines.

  28. Cyndi Papia
    Member
    Posted 2 years ago #

    I know.....but had to get the text out -- it was driving the clients batty!

  29. csw14
    Member
    Posted 2 years ago #

    Marcus -- I had a quick look at the Event Manager code, and the issue seems to arise at least partly from line 175 in em-events.php. If I change the arguments of the filter call to lower the priority of the filter em_content_wp_title, everything seems to work as it used to back in version 4.212 (although interestingly the robots meta tag appears to be inserted a couple of lines below where it used to be). For instance, replacing the priority value of 100 with a value of 10 means that we get a properly formatted title tag whether we are on the main events page or a specific event listing:

    add_filter ( 'wp_title', 'em_content_wp_title',10,3 ); // override other plugin SEO due to way EM works.

    Any priority value up to and including 20 works fine (which I suppose isn't surprising given that the relevant Genesis filter, genesis_doctitle_wrap, has a priority of 20).

    On a side note, I wonder if there's a typo at line 164 of em-events.php (should %WP_TITILE_SEP% be %WP_TITLE_SEP% ?)

  30. Cyndi Papia
    Member
    Posted 2 years ago #

    Good investigation, CSW!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic