Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, you would have to create a new child themne and override agenda.twig template

    https://time.ly/document/user-guide/customize-calendar/create-new-calendar-theme/

    Hi Nicola — You didn’t answer luccisa’s question though. While one IS able to create a new child theme, agenda.twig does NOT contain the button code to change.

    It would be extremely helpful if you could specify exactly how to achieve changing ‘Read More’ to something else.

    This is the current agenda.twig code:

    <a class="ai1ec-read-more ai1ec-btn ai1ec-btn-default
    ai1ec-load-event"
    href="{{ event.permalink | e('html_attr') }}">
    {{ text_read_more }} <i class="ai1ec-fa ai1ec-fa-arrow-right"></i>
    </a>

    This is what I tried but it didn’t work:

    <a class="ai1ec-read-more btn" href="<?php echo esc_attr( get_permalink( $event->post_id ) . $event->instance_id ) ?>">
    <?php _e( 'Learn More & Register', AI1EC_PLUGIN_NAME ) ?> <i class="icon-arrow-right"></i></a>

    So can you be a bit more specific? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Read More Link in Agenda View’ is closed to new replies.