All Events link is missing

Home Forums Calendar Products Events Calendar PRO All Events link is missing

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1362214
    LaVonne Ewing
    Participant

    The “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?

    #1362574
    Andras
    Keymaster

    Hello 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( '&laquo; ' . 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,
    Andras

    #1363243
    LaVonne Ewing
    Participant

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

    #1364316
    Andras
    Keymaster

    Hi 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,
    Andras

    #1364336
    LaVonne Ewing
    Participant

    Should I have copied all files from the main Avada theme? I only copied the one file you mentioned.

    #1364546
    Andras
    Keymaster

    Sorry, 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,
    Andras

    #1364629
    LaVonne Ewing
    Participant

    Yea!! It worked. Thanks for your patience with me. I’m new to this WordPress stuff.

    #1365185
    Andras
    Keymaster

    You 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,
    Andras

    PS: 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!

     

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘All Events link is missing’ is closed to new replies.