Hi there,
in the list-widget.php located at events-calendar-pro\scr\views\pro\widgets\ there is the following line:
<p class="tribe-events-widget-link">
<a href="<?php esc_attr_e( esc_url( $link_to_all ) ) ?>" rel="bookmark">
<?php esc_html_e( 'View More…', 'tribe-events-calendar-pro' ) ?>
</a>
</p>
Is it possible to show this only, if there is only 1 event in the widget? Cause i have a one page design in which i use the widget with only 1 event and the second widget with show 10 events.
I want to modify the link to the position eg
<p class="tribe-events-widget-link">
<a href="/#programm" rel="bookmark">
<?php esc_html_e( 'View More…', 'tribe-events-calendar-pro' ) ?>
</a>
</p>
But if i do this, i have also the link in the second widget and if you click on show more – nothing happens cause it links to itself. So i need an if function or an idea how to set up an second event list widget.
Thanks for your help.