Forum Replies Created
-
AuthorPosts
-
Mark EarlParticipant
I have not been able to find there are plugin conflicts. And the latest version is still having this happen on mobile.
Mark EarlParticipantI thought of this, but there were no events with the city! But it was still in the filter list!
Mark EarlParticipantYes, but it looks like now with the latest version just released the issue is fixed.
Mark EarlParticipantThe one built into the plugin.
Mark EarlParticipantThis reply is private.
Mark EarlParticipantThis reply is private.
Mark EarlParticipantI was able to do the class. So this issue is resolved! Thanks!
Mark EarlParticipantThat new code is making Visit Website appear and work properly, but even with the css it is not a button. I am not seeing anything with class in your new code?
Mark EarlParticipantThis reply is private.
Mark EarlParticipantAny update?
I was just using mostly code made originally available by you guy’s on your site. But doesn’t appear to be working.
Mark EarlParticipantIt wasn’t posting everything above correctly, so it should now here:
//Change Event URL to button add_filter('tribe_get_event_website_link_label', 'tribe_get_event_website_link_label_default'); function tribe_get_event_website_link_label_default ($label) { if( $label == tribe_get_event_website_url() ) { $label = "Visit Website »"; $class = "event-website-button-class"; } return '<a class="' . $class . '" href="' . tribe_get_event_website_url() . '">' . $label . ' </a>'; } //Change Organizer URL to button add_filter('tribe_get_organizer_website_link_label', 'tribe_get_organizer_website_link_label_default'); function tribe_get_organizer_website_link_label_default ($label) { if( $label == tribe_get_organizer_website_url() ) { $label = "Visit Website »"; $class = "event-website-button-class"; } return '<a class="' . $class . '" href="' . tribe_get_organizer_website_url() . '">' . $label . ' </a>'; } //Change Venue URL to button add_filter('tribe_get_venue_website_link_label', 'tribe_get_venue_website_link_label_default'); function tribe_get_venue_website_link_label_default ($label) { if( $label == tribe_get_venue_website_url() ) { $label = "Visit Website »"; $class = "event-website-button-class"; } return '<a class="' . $class . '" href="' . tribe_get_venue_website_url() . '">' . $label . ' </a>'; }
- This reply was modified 7 years, 5 months ago by Mark Earl.
Mark EarlParticipantI saw some issues with my code above. Here is my revised code:
//Change Event URL to button
add_filter(‘tribe_get_event_website_link_label’, ‘tribe_get_event_website_link_label_default’);function tribe_get_event_website_link_label_default ($label) {
if( $label == tribe_get_event_website_url() ) {
$label = “Visit Website »”;
$class = “my-button-class”;
}return ‘‘ . $label . ‘ ‘;
}//Change Organizer URL to button
add_filter(‘tribe_get_organizer_website_link_label’, ‘tribe_get_organizer_website_link_label_default’);function tribe_get_organizer_website_link_label_default ($label) {
if( $label == tribe_get_organizer_website_url() ) {
$label = “Visit Website »”;
$class = “my-button-class”;
}return ‘‘ . $label . ‘ ‘;
}//Change Venue URL to button
add_filter(‘tribe_get_venue_website_link_label’, ‘tribe_get_venue_website_link_label_default’);function tribe_get_venue_website_link_label_default ($label) {
if( $label == tribe_get_venue_website_url() ) {
$label = “Visit Website »”;
$class = “my-button-class”;
}return ‘‘ . $label . ‘ ‘;
}Still does not work, though.
Mark EarlParticipantYes, we were able to get a working solution for the featured image. Thanks for the other fix.
One more question: In the month view, we are seeing a few format issues. For the events at the top at the beginning of the month, when you hover over part of the pop up is showing up under the header. And when you hover over an event with a featured image, the sizes are different depending on the image so it pushes text further.
Mark EarlParticipantI took that suggestion and found a plugin called “Quick Featured Images” that works just fine. Thanks.
Mark EarlParticipantThat worked!
By the way, could I pass on some suggestions for future updates, as I would rather not make a new thread.
It is great in the new Pro 4.3 you can add a specific shortcode for a event view on a page. But it would be great if you could add more options with the shortcode. For example, in Photo view, I would like to limit how many events are displayed, and also have options to turn on/off the description, or limit how much description text is shown.
-
AuthorPosts