Home › Forums › Calendar Products › Events Calendar PRO › Page Title showing first event title, not page title.
- This topic has 8 replies, 3 voices, and was last updated 10 years, 10 months ago by
Support Droid.
-
AuthorPosts
-
July 10, 2013 at 7:19 am #54272
kduncan773
ParticipantI tried researching this in the forum and could only find partial answers and nothing that pertained to 3.X+
On my blog events, http://downtowndallasguide.com/events/ The page heading shows the first event and not the page title likes the other pages.
On my themes page.php it tires to pull the page info from the post. However, this plugin does not pass it in the same format.
Is there a way for the main events page to pass the page id? or any other solution is welcome.
July 10, 2013 at 2:10 pm #54369Jonah
ParticipantHi kduncan773,
Please see our FAQ on that topic: https://theeventscalendar.com/knowledgebase/calendar-page-shows-event-title/
Let me know if you have any questions.
– Jonah
-
This reply was modified 11 years, 1 month ago by
Leah.
July 10, 2013 at 2:57 pm #54388kduncan773
ParticipantMy theme doesn’t use the the_title() or get_the_title() functions.
This is the code….
permalink}” title=”{__ ‘Permalink to’} {$post->title}” rel=”bookmark”>{$post->title}
July 11, 2013 at 7:37 am #54505Jonah
ParticipantHi kduncan773,
Can you please share that code through http://snippi.com/ – it looks like some of it got cut off.
July 11, 2013 at 9:52 am #54540kduncan773
ParticipantLink: http://snippi.com/s/3w2bnio
In my template there is no the_title() functions. Its not in my header.php, page.php, functions.php. It’s in the form as the snippet in the link shared – which is from page.php
July 12, 2013 at 7:23 am #54711Jonah
ParticipantHi kduncan773,
This is basically the same thing. So what you’ll need to do is similar to what is outlined in the FAQ above. Here is an example using your code: http://snippi.com/s/ddcbp92 – you can use the FAQ above and these conditional wrappers to help you code the title for all the other pages: https://gist.github.com/jo-snips/2415009
I hope that helps!
– Jonah
July 12, 2013 at 8:26 am #54726kduncan773
ParticipantThanks Jonah for the fast responses. I have figured it out with your sample.
July 12, 2013 at 9:20 am #54743Jonah
ParticipantAwesome kduncan773! Glad that helped. I’m going to close this thread out then but let us know if you need help with anything else.
– Jonah
July 7, 2015 at 6:27 am #979590Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
This reply was modified 11 years, 1 month ago by
-
AuthorPosts
- The topic ‘Page Title showing first event title, not page title.’ is closed to new replies.
