- This topic has 7 replies, 2 voices, and was last updated 3 years, 3 months ago by Tom.
-
AuthorPosts
-
December 30, 2020 at 12:26 am #1599086Hans-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/bbBVjZBThanks for assistance and best regards,
Hans-GerdDecember 30, 2020 at 10:34 am #1599907TomLead DeveloperLead DeveloperHi 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 π
December 30, 2020 at 10:44 pm #1600336Hans-GerdHi 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-GerdDecember 31, 2020 at 12:36 pm #1601045TomLead DeveloperLead DeveloperThank you! You too π
January 1, 2021 at 3:01 am #1601395Hans-GerdHi 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-GerdJanuary 1, 2021 at 11:56 am #1601919TomLead DeveloperLead DeveloperCan you try the updated function above?
Let me know π
January 1, 2021 at 10:47 pm #1602217Hans-GerdHi 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-GerdJanuary 2, 2021 at 10:58 am #1602937TomLead DeveloperLead DeveloperGlad I could help! π
-
AuthorPosts
- You must be logged in to reply to this topic.