Link in event doesn't work

Home Forums Calendar Products Events Calendar PRO Link in event doesn't work

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #999665
    Bartel
    Participant

    Hi,
    I’ve made a text for the event with a link url to a page of my website: http://prntscr.com/89lb25

    Unfortunately, the link isn’t working in the front-end. http://prntscr.com/89lbs0

    The link must go to http://intimate-moves.nl/aanmelden/

    Please can you have a look to make this work?

    Regards, Myra

    #999709
    Brian
    Keymaster

    Hi Again,

    That link is in the list view correct?

    In the list view it only grabs the excerpt of the event with strips out all the html.

    It is possible to modify this template:

    the-events-calendar\src\views\list\single-event.php

    Following our themer’s guide:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    To change this function to get content that has links included:

    <?php the_excerpt() ?>

    Or another way maybe to use the Advanced Excerpt to enable links in excerpt. Although I did not test it.:

    Advanced Excerpt

    Let me know if you have any follow up questions.

    Thanks

    #999725
    Bartel
    Participant

    Thanks Brian!
    I found the excerpts code in that file but what do I need to change to make html work?

    <!-- Event Content -->
    <?php do_action( 'tribe_events_before_the_content' ) ?>
    <div class="tribe-events-list-event-description tribe-events-content description entry-summary">
    	<?php the_excerpt() ?>
    	<a href="<?php echo esc_url( tribe_get_event_link() ); ?>" class="tribe-events-read-more" rel="bookmark"><?php esc_html_e( 'Find out more', 'tribe-events-calendar' ) ?> &raquo;</a>
    </div><!-- .tribe-events-list-event-description -->
    <?php
    do_action( 'tribe_events_after_the_content' );
    
    #999819
    Bartel
    Participant

    Solved it with excerpt option on the single page 🙂

    #999876
    Brian
    Keymaster

    I am glad to see you were able to figure it out.

    I am going to go ahead and close this ticket. If you have a similar issue or another in the future, please do not hesitate to create a new ticket.

    Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Link in event doesn't work’ is closed to new replies.