Hello,
I use template 8. Everything works well on posts. But, a issue appear within tribe event post. The title of the post does not appear in <h1 class=”entry-title td-page-title”> (see below). Could you tell me how to fix it or to get rid of this <h1 class=”entry-title td-page-title”> on event post ?
Thank you
Regards,
<div class="td-pb-span8 td-main-content" role="main"><div class="td-ss-main-content"><div class="td-page-header"><h1 class="entry-title td-page-title"> <span></span></h1></div><div class="td-page-content"><div id="tribe-events" class="tribe-no-js" data-live_ajax="0" data-datepicker_format="0" data-category="" data-featured=""><div class="tribe-events-before-html"></div><span class="tribe-events-ajax-loading"><img src="https://www.unidivers.fr/wp-content/plugins/the-events-calendar/src/resources/images/tribe-loading.gif" alt="Chargement Évènements" /></span>
Hello,
Sorry but we have not tested the tribe event plugin so i cannot say for sure. Our theme adds a post title on all of the posts including a custom post type. You will have to add conditions in the code to remove the events title being wrapped in the usual theme classes. I’m most sure how the tribe events plugin implements posts however since the plugin is not tested with our theme.
Thanks.
Hello Bogdan,
I am sorry you do not answer my question : actually the post title added by your theme IS EMPTY.
<h1 class=”entry-title td-page-title”> <span> </span></h1>
Could you be enough kind to tell me how fix it by a html’improvment or a specific function ?
This predicament dramatically decrease our SEO.
Regards,
Well I cannot provide a fix for a plugin I have not seen before as I would not know how. As I said, the plugin is not tested. Any plugin that is not tested could provide mixed results. I suggest using another plugin for your events like the event calendar maybe. Or any other one. Sorry but third party plugin implementation is not covered by the theme support. Sorry for the inconvenience.
Here is a list of tested and recommended plugin sto use with our theme: https://www.screencast.com/t/xKKr2mwxI
Anything beyond this list is not tested and not covered by the theme support.
Please check the plugin repository and see if the reis a function created by the plugin like for example is_event that you can use for the block title to wrap it into a condition so the title will not get added to the event.
The main title function in our theme is created here: https://www.screencast.com/t/rQ9FB70O3j9
Thanks.