Changing event page title (archives)

Home Forums Calendar Products Events Calendar PRO Changing event page title (archives)

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #989832
    Bartel
    Participant

    Hi,

    The page title of the event page says “Archives”. I tried to change this with functions.php like in your article https://theeventscalendar.com/knowledgebase/modifying-the-community-events-page-titles/ but nothing happens. Same as with modifying the title of the Calendar.

    I use a child theme of the theme Jupiter.

    What could be wrong?
    Thank you.

    PS: If I upload the functions.php in the childtheme of Jupiter, I cannot access /wp-admin any more.

    • This topic was modified 8 years, 9 months ago by Bartel.
    #990073
    Michael
    Participant

    Hi Myra, I’m having the exact same problem!

    #990126
    Brian
    Keymaster

    Hello,

    Sorry for the issues you are having. I can help out here.

    Myra, I tried to visited your site and go not access it as it is password protected.

    Anyway, please follow these steps to add the constant in this tutorial to your wp-config.php file on your site root directory and see if that helps the issue.

    https://theeventscalendar.com/knowledgebase/configuring-the-events-calendar-with-constants/#tribe_modify_global_title

    Please let me know if that helps the issue.

    Thanks

    #990342
    Bartel
    Participant

    Hello Brian,

    thanks for your reply. This doens’t do anything either. The website is going live tomorrow, I will give you a notice so you can have a look.

    #990512
    Brian
    Keymaster

    Hi,

    Ok let me know and I can take a look.

    The word Archive is being added as the event views are archives in WordPress. So most likely it is some coding from the theme or a plugin that adds that to every archive.

    There maybe a way to add a conditional to that coding to get this to stop.

    Let me know when the site is live and I will see if what can be done.

    Cheers

    #994558
    Bartel
    Participant

    Hi Brian,

    you can have a look at http://intimate-moves.nl/agenda/
    I removed the title of the calendar, so that issue is no longer a issue 😉

    But the page title is ‘Archives’, it should be “Agenda”.

    Regards, Myra

    #994564
    Brian
    Keymaster

    Hi,

    Glad one thing is fixed and moving forward.

    I noticed you are using Yoast SEO.

    So I believe the Page Title Archives is being added by that plugin.

    I have come up with this snippet to prevent Yoast from rewriting Event View Titles:

    https://gist.github.com/jesseeproductions/f4937c82325ab152cb24

    Add that to your theme’s funstions.php and see if that fixes the title.

    Thanks

    #994658
    Bartel
    Participant

    Hi Brian,

    thanks, I pasted it in an empty functions.php in my child theme (correct, right?) but it does nothing.

    Regards, Myra

    #994734
    Brian
    Keymaster

    Hi,

    That coding is for the Title in the browser tab and it did change it for me so it is working. I thought that is what you were referring too.

    I looked again and the word Archives is set by your theme and the changes would have to be made in your theme. I do not know where that would be in your theme unfortunately.

    We have this list of conditionals that can be used where that function is in your theme to prevent archives from being displayed and instead you can show the word you would like:

    https://gist.github.com/jo-snips/2415009

    Cheers

    #994935
    Bartel
    Participant

    Hi Brian,

    OK, thanks, I see it in the tab! This is nice. But how do I change the text; i’d like events (evenementen in Dutch) changed in workshops.

    So which conditional should I use for the main event page http://intimate-moves.nl/agenda/ ? Is that List View page:

    if( tribe_is_past() || tribe_is_upcoming() && !is_tax() ) { // List View Page
       	echo 'were on the list view page';}

    and where can I type the word? I’ll contact Jupiter where to put this code.

    Cheers

    #995091
    Brian
    Keymaster

    Hi,

    Yep that conditional would work on the main event page as it is the list view. The coding would be in your theme archive.php template perhaps. It could be somewhere else too, it is hard to tell without having the theme. The theme developer could tell you the exact spot.

    We have these snippets to changing the word events:

    https://theeventscalendar.com/knowledgebase/changing-the-word-events-to-something-else/

    That will change it globally across your site too.

    Cheers

    #995326
    Bartel
    Participant

    Thank you, I will contact my theme (Jupiter).

    The code worked for translation of “events”. But in the browser tab (and page title) also the Dutch word for Upcoming (Aankomende) is displayed, I want this to be “Agenda”. So, the total should be “Agenda workshops”

    In the po/mo files “Upcoming events” is translated to “Agenda workshops”. But it doesn’t show in the browser tab (and page title). How can I change the word “Aankomende”? http://prntscr.com/83pygj and http://prntscr.com/83q0vo

    Another issue:
    I notice that the entry title of the first event in the list is missing. I looked, it seems the size is 0x0px. http://prntscr.com/83q1wz Font size and line height are ok. Any ideas?

    Cheers

    #995519
    Brian
    Keymaster

    Hello,

    I have that one resource I sent for changing the word events.

    The other tutorial we have can change any word:

    https://theeventscalendar.com/knowledgebase/change-the-wording-of-any-bit-of-text-or-string/

    I believe you can use that to modify the Dutch word too.

    Entry Title
    The Event title that is not showing is not there that is why it is 0 0.

    Do you still have the code in from this link?

    https://theeventscalendar.com/knowledgebase/configuring-the-events-calendar-with-constants/#tribe_modify_global_title

    If not does adding that fix the issue.

    #999194
    Bartel
    Participant

    Hi Brian,

    Entry Title: Yes, i have that line of code in my wp-config like this: http://prntscr.com/895ov2 is that ok?

    But still the first entry title is missing: http://prntscr.com/895pme

    Regards, Myra

    #999265
    Brian
    Keymaster

    Ok, thanks for the information.

    Can you try with another theme such as Twenty Fifteen and see if that resolves the issue.

    That will helps us narrow down the issue here.

    Thanks

Viewing 15 posts - 1 through 15 (of 19 total)
  • The topic ‘Changing event page title (archives)’ is closed to new replies.