[Resolved] Conflict generatepress and The Events Calendar (archive tags)

Home Forums Support [Resolved] Conflict generatepress and The Events Calendar (archive tags)

Home Forums Support Conflict generatepress and The Events Calendar (archive tags)

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1599086
    Hans-Gerd

    Hello,
    I have relaunched the website on generatepress yesterday. I really like the theme.
    However, we currently still have some layout issues related to the archive pages (tag):
    If I set the option “Show posts in columns” to 2 in the lower area for columns under Your customisations for β–Έ Layout > Blog, the layout is destroyed on the archive pages with keywords. For exmaple please see here on our development environment: http://test4.haurand.com/tag/belgien/page/14/.
    Same
    The cause is probably a conflict with the plugin “The Events Calendar”. On the tag archive pages, both posts and events are shown with the keyword. When I activate Health Check, the appearance is ok until I activate the plugin “The Events Calendar”.
    To rule out a cache problem, we first disabled WP Rocket and even deleted the corresponding folder on the server to be on the safe side. In addition, of course, we also tested this in another browser for safety’s sake, to rule out a problem with the browser cache.
    The appearance worked perfectly with the previously used theme Enfold. We have also tested this again here in Health Check’s troubleshooting mode.
    Screenshots below:
    https://ibb.co/8zf9Q68
    https://ibb.co/bbBVjZB

    Thanks for assistance and best regards,
    Hans-Gerd

    #1599907
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Try adding this:

    add_filter( 'generate_blog_columns', function( $columns ) {
        if ( ! is_singular() && 'tribe_events' === get_post_type() && ! is_post_type_archive( 'tribe_events' ) ) {
            $columns = true;
        }
    
        return $columns;
    } );

    Let me know if that fixes it or not πŸ™‚

    #1600336
    Hans-Gerd

    Hi Tom,
    seems to work really well. We will continue to test it on different devices and get back to you if there are any issues.
    A big thank you.
    Best regards and all the best for 2021
    Hans-Gerd

    #1601045
    Tom
    Lead Developer
    Lead Developer
    #1601395
    Hans-Gerd

    Hi Tom,
    I am very sorry if I need to open the topic again:
    I have now tested this further and I have noticed that when using the function, the list of events is no longer displayed correctly, please see here on our development environment:
    http://test4.haurand.com/events/kategorie/terminanzeige/

    Best regards,
    Hans-Gerd

    #1601919
    Tom
    Lead Developer
    Lead Developer

    Can you try the updated function above?

    Let me know πŸ™‚

    #1602217
    Hans-Gerd

    Hi Tom,
    seems to work perfectly now. We will continue to test it on different devices and get back to you if there are any issues. If there are no more issues related to this topic, then I will mark the topic as resolved shortly.
    Thank you very much.
    Best regards
    Hans-Gerd

    #1602937
    Tom
    Lead Developer
    Lead Developer
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.