Home › Forums › Calendar Products › Events Calendar PRO › All Events link is missing
- This topic has 8 replies, 2 voices, and was last updated 8 years, 6 months ago by
LaVonne Ewing.
-
AuthorPosts
-
October 11, 2017 at 12:25 pm #1362214
LaVonne Ewing
ParticipantThe “All Events” link above an event is not appearing. I have tried Skeleton Style, Full Styles, Tribe Event Styles, with Default Events Template and other templates in the DISPLAY tab of settings. Avada 5.2.2 is my theme. Any ideas?
October 12, 2017 at 7:19 am #1362574Andras
KeymasterHello LaVonne,
Thanks for reaching out and using our plugins!
It looks like the relevant code is missing from the Avada theme files.
Fortunately this is easy to fix.
Create a copy of this file:
\wp-content\themes\Avada\tribe-events\single-event.php
into this folder:
\wp-content\themes\Avada-Child-Theme\tribe-events\single-event.php
Open the new file for editing and insert the following code in the beginning. I will also include the 2 lines before and after:
<div id="tribe-events-content" class="tribe-events-single vevent hentry"> <p class="tribe-events-back"> <a href="<?php echo esc_url( tribe_get_events_link() ); ?>"> <?php printf( '« ' . esc_html_x( 'All %s', '%s Events plural label', 'the-events-calendar' ), $events_label_plural ); ?> </a> </p> <!-- Notices -->Hopefully that will solve it. Let me know how that works out!
Cheers,
AndrasOctober 13, 2017 at 9:23 am #1363243LaVonne Ewing
ParticipantI was a bit confused by what you typed: vevent hentry (in your first reference line of code), but I ignored it and put the new code above <!– Notices –>.
But this child theme modification still does not show the All Events link above an event.
Do I need to do something to tell it to use the child theme? Or copy more files into that Avada-Child-Theme/tribe-events/ folder?
Thanks!October 16, 2017 at 1:43 pm #1364316Andras
KeymasterHi LaVonne,
You did the right thing with the copying, good job!
To use the child theme you need to go toΒ Appearance > Themes in your dashboard and choose the ‘Avada Child’ as your active theme.
Using the child theme is recommended, so if you make any changes to your theme – adding CSS to style.css, some code toΒ functions.php, or modify templates like above – then these changes don’t get lost with a theme update.
Let me know how that works out.
Cheers,
AndrasOctober 16, 2017 at 2:42 pm #1364336LaVonne Ewing
ParticipantShould I have copied all files from the main Avada theme? I only copied the one file you mentioned.
October 17, 2017 at 5:21 am #1364546Andras
KeymasterSorry, I was under the impression you are using a child theme already. Sorry for the delay this has caused.
If I remember correctly then in the theme package of Avada there should be a child theme as well. When you unpack it, there should be an ‘Avada-Child-Theme’ folder.
In case you cannot find that you can find a copy here. Just unpack an put it in your wp-content/themes folder. The full path would be:
/wp-content/themes/Avada-Child-Theme
Then make sure you have the modified single-event.php file there as well.
After you activate the child theme you should be all set.
Since it is a child theme, it will take over all the settings from the parent so you will not need to worry about that.
Holler if you need further assistance with this. I’m happy to help you out.
Cheers,
AndrasOctober 17, 2017 at 8:05 am #1364629LaVonne Ewing
ParticipantYea!! It worked. Thanks for your patience with me. I’m new to this WordPress stuff.
October 18, 2017 at 1:30 am #1365185Andras
KeymasterYou are so welcome LaVonne! Happy I could guide you through your first experiences with WordPress. π You are doing great and soon all of this will be like second nature to you. π
Since this is marked resolved I am going to close this ticket, but if you need anything else related to this topic or another please create a new ticket and we’ll be happy to help.
Good luck with your project!
Cheers,
AndrasPS: If you like our plugins, and you didn’t yet do so π we would be happy to receive a review in the wordpress.org repository. Thanks!
https://wordpress.org/support/view/plugin-reviews/the-events-calendar/PS2: We’d be also grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. π If you can spare a few words, that’s even better. Doublethanks!
-
AuthorPosts
- The topic ‘All Events link is missing’ is closed to new replies.
