Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1440687

    Hi,
    the sam problem we solved in this thread https://kriesi.at/support/topic/events-calendar-plugin-german-version-h1-typo/#post-1117859
    has come up again.

    Can you please fix this or tell me how to fix this permamently?

    Thanks and best regards

    #1440688

    The script that solved the problem is still there, I think it does not adress the tribe events H1 any more.

    #1440696

    Hi,

    We’re going to fix this issue in the upcoming version of Enfold.

    For now, you can use the Loco Translate ( https://wordpress.org/plugins/loco-translate/ ) plugin to update this string in German language files included in Enfold.

    Best regards,
    Yigit

    #1440928

    Hi,

    thanks for the quick reply, I just can’t find the right section to translate in the language files…

    We could also try the previous solution – the code your team provided last time still works (see below), it just does not adress the right H1 any more, so perhaps we just have to change this: #top.post-type-archive-tribe_events h1.main-title.entry-title
    Just a guess…

    Thanks and best regards

    function custom_script(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
      $("#top.post-type-archive-tribe_events h1.main-title.entry-title").text("Kalender mit Ereignissen");
      });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');
    #1440992

    Hi,
    I tried to review your previous thread, and the page posted doesn’t seem to show the error: Kalender mit Ereignissem
    Kalender mit Ereignissen is the page H1 title.
    Enfold_Support_5588.jpeg
    It seems that the script solution is working correctly, is there a different page at you see the error on?

    Best regards,
    Mike

    #1441290

    Hi,
    seems to be just the pages showing single event details: https://www.mv-stveit-triesting.at/termine/stadtmarkt-berndorf/
    Thanks and Best

    #1441295

    Hi,
    This is because the original solution was for archive pages, this is a single tribe event page, for this add this code to the end of your child theme functions.php file in Appearance ▸ Editor and keep the other code:

    function custom_single_tribe_events_script(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
      $("#top.single-tribe_events h1.main-title.entry-title").text("Kalender mit Ereignissen");
      });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_single_tribe_events_script');

    Best regards,
    Mike

    #1441302

    Thanks, that did it!

    Best regards

    #1441320

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Events Calendar Plugin – German Version H1 Typo is back’ is closed to new replies.