Forum Replies Created
-
AuthorPosts
-
Daniel Maier
ParticipantHi Nico,
Just letting you know this is not isolated to my installation and yes I tested for conflicts.
Please take a look at https://wordpress.org/support/topic/venue-scroll-to-top-on-selection-ie/#post-8831898
Thank you!
Daniel Maier
ParticipantI just found out that the Events Calendar has the following function: tribe_get_events_link(). This can also be used:
<?php echo esc_url( tribe_get_events_link() ); ?>-
This reply was modified 10 years, 1 month ago by
Daniel Maier.
Daniel Maier
ParticipantSorry Josh, I had a wrong syntax. It is working now! Thank you.
if( class_exists( 'Tribe__Events__Main' ) ) { $link = esc_url( Tribe__Events__Main::instance()->getLink() ); } echo '<a href="'.$link.'">Events</a>'; ?> <a href="<?php echo $link; ?>">more events ›</a>Daniel Maier
ParticipantHi Josh,
Thanks for helping. However, that did not work. I get an empty result:
<a href="">more events ›</a>Using the following code you provided:
<?php if( class_exists( 'Tribe__Events__Main' ) ) { $link = esc_url( Tribe__Events__Main::instance()->getLink() ); } echo '<a href="'.$link.'">Events</a>'; ?> <a href="<?php '.$link.' ?>">more events ›</a>Do I need to include/include_once any global function on my template for this to see the events functions?
Thank you.
Daniel Maier
ParticipantThank you!
Daniel Maier
ParticipantThis reply is private.
Daniel Maier
ParticipantThis reply is private.
Daniel Maier
ParticipantThis reply is private.
Daniel Maier
ParticipantHi Hunter,
I had a great time. I hope you did as well.
– WordPress version 4.4
– The Events Calendar version 4.0.4
– The Events Calendar PRO version 4.0.3
– The Events Calendar: Filter Bar version 4.0.2Thank you!
January 4, 2016 at 9:15 am in reply to: Mobile template excerpt not being wrapped by paragraph and class #1049907Daniel Maier
ParticipantThank you Josh!
Daniel Maier
ParticipantThis reply is private.
Daniel Maier
ParticipantThis reply is private.
Daniel Maier
ParticipantThis reply is private.
Daniel Maier
ParticipantYes I have tried that and the issue still persists.
Daniel Maier
ParticipantHi Hunter, thanks for looking into this.
To see the error you need to have WP_DEBUG set to true:
define('WP_DEBUG', true);Also after filtering by day of week you have to refresh the page.
i.e., http://domain.com/events-calendar/?tribe_dayofweek%5B%5D=1 (REFRESH THIS, or simply load it directly)
If you provide me your IP I can give you access to view my dev site where I have WP_DEBUG set to true and you are able to see it in action.
Thanks!
-
This reply was modified 10 years, 1 month ago by
-
AuthorPosts
