• Resolved valquey

    (@valquey)


    Hi, I am in charge of a website and I’ve been using The Events Calendar for several years because I loved its elegance and user-friendliness.

    As you can see here https://www.ccfb-nantes.org/stages-intensifs/ , I am still using the 5.16.4 version of your plugin. That is because several months ago, when I updated The Events Calendar to 6.x in my test website, I noticed major issues. I was hoping these issues would be addressed in the upcoming months… However, after updating to the 6.2.0.1 version, the issues are still there.

    The issues I am struggling with are:

    • the widget doesn’t display according to the Theme template. It is the only widget in this column that doesn’t use the theme template, which is quite disturbing, as you can see here: https://dev.ccfb-nantes.org/ccfb/
    • On the list of events page, the post content doesn’t display, as you can see here: https://dev.ccfb-nantes.org/events/

    In the 5.16.4 version, an excerpt of the post content was displayed with an option to see more if needed, as you can see here: https://www.ccfb-nantes.org/events/

    Could you please help me retrieving those useful features in the current version of The Events Calendar?

    (FYI, I am working with WP, version 6.2.2 Theme Cream magazine, version 2.1.6 in both my actual website and my test website)

Viewing 8 replies - 1 through 8 (of 8 total)
  • There’s a browser console error on this version that says: Block “core/legacy-widget” is already registered. I just tracked that error to this plugin. It may have something to do with the widget problem.

    Plugin Support Atousa Najafi

    (@atousanajafi)

    Hi @valquey,

    I’d recommend doing a Custom CSS. Go to Appearances → Customize → Additional CSS and insert this Custom CSS here:

    /*******************Widget*************/
    .tribe-compatibility-container {
        background-color: rgba(0,0,0,.03);
        margin-bottom: 30px;
        overflow: hidden;
        padding: 30px 20px;
    }
    
    h2.tribe-events-widget-events-list__header-title:after {
        background-color: #c6c441;
        content: "";
        height: 2px;
        margin-left: 15px;
        position: absolute;
        top: 50%;
        width: 100%;
    }
    
    h2.tribe-events-widget-events-list__header-title {
        position: relative;
        display: inline-block;
        font-size: 18px;
        font-weight: 700;
        overflow: hidden;
        position: relative;
        width: 100%;
    }
    /**************Description************/
    .tribe-events-calendar-list__event-description.tribe-common-b2.tribe-common-a11y-hidden {
        display: block !important;
        visibility: visible;
    }

    For adding the Read More link, try the following snippet and add it to your child theme’s functions.php file:

    add_action( 
    'tribe_template_after_include:events/v2/list/event/description', 
    function ( $file, $name, $template ) { 
    echo "<a href=" . tribe_get_event_link() . " class='custom-btn'>Read More</a>"; 
    }, 
    10, 
    3 
     );

    Best,

    Atousa

    Thread Starter valquey

    (@valquey)

    Hello Atousa,

    Thanks a lot for the css,  it worked well! ??

    I also tried your snippet in the functions.php file to get the ‘Read more’ option. Unfortunately, this doesn’t work. The code displays and the link doesn’t work,?as you can see here :?https://dev.ccfb-nantes.org/events/

    Could you please advise further on this?issue?

    Plugin Support Atousa Najafi

    (@atousanajafi)

    Hi @valquey,

    The code worked fine for me. Make sure to paste the code in child theme functions.php file without modifying it, see: https://share.getcloudapp.com/mXuv8R8Z

    If you’re using a third-party plugin for adding snippet, activate Default theme and check whether the link works or not.

    Best,

    Atousa

    Plugin Support Erica

    (@eeide)

    Hi @valquey,

    You can also use the Code Snippets plugin as an alternative to adding the snippet to your theme’s functions.php.

    Let us know how it goes, or if you need further help!

    Thank you,
    Erica

    Thread Starter valquey

    (@valquey)

    There was a little problem with line 4, this is fixed now, and the snippet works well.

    Thank you so much, Atousa and Erica !

    Plugin Support Darian

    (@d0153)

    Hi @valquey

    Im glad that Atousa and Erica was able to help you with this one.

    If you have some time to review, that would be amazing!

    https://www.ads-software.com/support/plugin/the-events-calendar/reviews/

    I’ll be closing this thread, and please do not hesitate to bump a new thread on our way. This allows us to track topics/issues efficiently and follow the WordPress Forum Guidelines.

    Thread Starter valquey

    (@valquey)

    Hello,

    Unfortunately, the provided PHP snippet redirects to a 404 error page. What can I do to redirect to the event details? You can see it on this page https://dev.ccfb-nantes.org/events/ by clicking on the ‘Voir les détails’ (View details) link.

    Thank you

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Two issues with the 6.x version’ is closed to new replies.