Home › Forums › Calendar Products › Events Calendar PRO › Changing event page title (archives)
- This topic has 18 replies, 3 voices, and was last updated 8 years, 8 months ago by Brian.
-
AuthorPosts
-
July 24, 2015 at 6:08 am #989832BartelParticipant
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.
July 24, 2015 at 12:10 pm #990073MichaelParticipantHi Myra, I’m having the exact same problem!
July 24, 2015 at 1:50 pm #990126BrianKeymasterHello,
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.
Please let me know if that helps the issue.
Thanks
July 26, 2015 at 6:27 am #990342BartelParticipantHello 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.
July 27, 2015 at 7:44 am #990512BrianKeymasterHi,
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
August 9, 2015 at 9:11 am #994558BartelParticipantHi 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
August 9, 2015 at 9:29 am #994564BrianKeymasterHi,
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
August 10, 2015 at 12:16 am #994658BartelParticipantHi Brian,
thanks, I pasted it in an empty functions.php in my child theme (correct, right?) but it does nothing.
Regards, Myra
August 10, 2015 at 7:43 am #994734BrianKeymasterHi,
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
August 11, 2015 at 12:36 am #994935BartelParticipantHi 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
August 11, 2015 at 7:41 am #995091BrianKeymasterHi,
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
August 12, 2015 at 3:40 am #995326BartelParticipantThank 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
August 12, 2015 at 12:11 pm #995519BrianKeymasterHello,
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?
If not does adding that fix the issue.
August 26, 2015 at 9:40 am #999194BartelParticipantHi 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
August 26, 2015 at 11:27 am #999265BrianKeymasterOk, 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
-
AuthorPosts
- The topic ‘Changing event page title (archives)’ is closed to new replies.