Page Title showing first event title, not page title.

Home Forums Calendar Products Events Calendar PRO Page Title showing first event title, not page title.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #54272
    kduncan773
    Participant

    I 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.

    #54369
    Jonah
    Participant

    Hi 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.
    #54388
    kduncan773
    Participant

    My 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}

    #54505
    Jonah
    Participant

    Hi kduncan773,

    Can you please share that code through http://snippi.com/ – it looks like some of it got cut off.

    #54540
    kduncan773
    Participant

    Link: 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

    #54711
    Jonah
    Participant

    Hi 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

    #54726
    kduncan773
    Participant

    Thanks Jonah for the fast responses. I have figured it out with your sample.

    #54743
    Jonah
    Participant

    Awesome 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

    #979590
    Support Droid
    Keymaster

    This 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.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Page Title showing first event title, not page title.’ is closed to new replies.