Home › Forums › Calendar Products › Events Calendar PRO › Page title for Main Event Page
- This topic has 6 replies, 2 voices, and was last updated 12 years, 2 months ago by
Brook.
-
AuthorPosts
-
January 6, 2014 at 6:38 am #87327
jussibr
ParticipantHow 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
January 7, 2014 at 3:02 pm #87973Brook
ParticipantHowdy 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
January 9, 2014 at 4:29 am #89204jussibr
ParticipantI will give it a try and let you know. Thanks!
January 9, 2014 at 7:28 am #89279jussibr
ParticipantUnfortunatly 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?
January 9, 2014 at 11:11 pm #89933Brook
ParticipantBy 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
January 29, 2014 at 5:47 am #98175jussibr
ParticipantHi 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
January 30, 2014 at 7:18 pm #99044Brook
ParticipantHowdy 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
-
AuthorPosts
- The topic ‘Page title for Main Event Page’ is closed to new replies.
