Working with Januas Template and EE there is a confusing function with upcoming events widget, the headline not only does not style correct, but headline has a link to ee-events. Where do i change linking the headline?
By default, with the Event Espresso upcoming events widget, the event elements (e.g. title and other linked items) should be linked to the single event page since that page has the ticket (pricing option) selector.
The same applies to the flow of the events calendar add-on or the events table view template. In both cases, you’ll be taken to the single events page.
If you are seeing something different, then they may have registered a custom upcoming events widget and you could check with their support team to see how to change where the event is being linked to.
Missunderstanding – I do mean the Headline / Naming (title) of the widget, a common widget text above the content, where the event is showing up. The content with the event is right, exactly like it should be. Thanks
As the Headline, or the name of the widget, call it just the text of descripton of this widget at the top “Upcoming Event” has a html Link to ee-event – I simply want to get rid of this link and just let there the text headline. It is confusing as the content of the widget has its own link.
You can remove the html link by adding the following code to your site:
// remove link from upcoming events widget title
function ee_remove_widget_title_link( $title ) {
if ( is_active_widget( '', '', 'ee-upcoming-events-widget' ) ) {
$title = wp_strip_all_tags( $title, false );
}
return $title;
}
add_filter('widget_title', 'ee_remove_widget_title_link', 16 );
You can add the above to a functions plugin or into your WordPress theme’s functions.php file.
Viewing 5 reply threads
The support post ‘Upcoming Events widget Healine’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.