• Timeline Items with selected march do not get the right html classes.
    It should be

    <div class="cd-timeline-block march 15 2021 announcement-no-image announcement-1095">

    but its only a div without classes.
    No HTML on title or text. If I only change the month it works.

    Settings:
    Time frame: all
    Display order: Ascending
    Date visibility: Hidden

    Timeline (Free) Version 1.8.1
    WP Version 5.7.2

Viewing 1 replies (of 1 total)
  • Look in the file:
    wp-content\plugins\timeline-express\lib\classes\class-timeline-express-initialize.php
    Line: 364

    find:
    $container_classes[] = strtolower( date_i18n( ‘F’, $announcement_date ) );
    and replace strtolower with mb_strtolower:
    $container_classes[] = mb_strtolower( date_i18n( ‘F’, $announcement_date ) );

    Yep, thats not the way you should do it, but I hope that the author will apply the fix at next rev.

Viewing 1 replies (of 1 total)
  • The topic ‘Issue with loading div classes depending on selected month’ is closed to new replies.