Page title for Main Event Page

Home Forums Calendar Products Events Calendar PRO Page title for Main Event Page

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #87327
    jussibr
    Participant

    How do I set a title for my main events page? I noticed your demo has a title (http://wpshindig.com/events/) but my page just shows the name of the browser in the title, and the url web address in the tab bar. http://www.childslife.ca/events

    #87973
    Brook
    Participant

    Howdy jussibr,

    By default our plugin shows the same title as WPshindig.com. However, you appear to be running the Yoast plugin, which does some very screwy things with <title>s. In this case it decided to just leave the title blank!

    Some of our users have had success with adding scripts like this to their functions.php file, allowing them to set the title of each events page in spite of Yoast. We can not really support that script since it is just trying to fix Yoast’s over active title overrides. However, it should be fairly plug and play if you understand PHP.

    Will that work for you? Please let me know. Thanks!

    – Brook

    #89204
    jussibr
    Participant

    I will give it a try and let you know. Thanks!

    #89279
    jussibr
    Participant

    Unfortunatly this didn’t work for my situation. Yoast works very well for my event category pages letting me set titles and descriptions. It is only the main events page that has a problem with no title. When I use this function it replaces every page (all categories) with the same title ‘Upcoming Events’.

    Is there a fix for just the Main page List view? Or maybe a way to set that page (url) title and description through a function?

    #89933
    Brook
    Participant

    By removing the pages you do not need to override the above script should generally work. For instance if your default view is list, try removing everything else like so: http://pastebin.com/pQnazXmW

    Would that work?

    – Brook

    #98175
    jussibr
    Participant

    Hi thank you for this answer – yes it does work for the main events page! It does not have any effect on past events views though – the code looks like it should also use this title for past event list views. Is that correct?

    Also wondering – is there anyway to use something like this to add a meta description to the main page as well?

    Thx

    #99044
    Brook
    Participant

    Howdy jussibr,

    You are right that it should affect past events as well. In my local install it is doing so admirably. Is this still giving you trouble?

    If so this could easily be caused by a theme or plugin conflict. If you are interested in diving in and trying to find out what the conflict is, I would first try disabling your theme. If that does not fix it, then try disabling your plugins one at a time. Eventually disabling one of these should temporarily fix the problem. Once you have isolated which of those is causing a conflict we can look into this a bit further.

    Please let me know if that helps you to isolate the issue. I would be glad to help you further if I can. Thanks!

    – Brook

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Page title for Main Event Page’ is closed to new replies.