Also in search of this answer . . . thanks
I figured out how to remove more info from the sidebar. Add this to your css:
#sidebar a.more-link {
display:none;
}
There may be a better way, but this worked for me.
Hey elinaab,
Where did you add that code?
Thanks
I put it in my style sheet. Your code might be a little different. Mine has #sidebar because my sidebar is inside a div named #sidebar.If your sidebar has a different name, use that. It might work without the #sidebar, so it would look like:
a.more-link {
display:none;
}
Their “more info” link is inside a class called more-link. Since it’s a link, you refer to it in the style sheet as a.more-link. So I am saying that the contents of that class should not display.
I believe the “better way” is to remove it from the line of code that creates it from the widget.
The original source is in wp-content/plugins/the-events-calendar/views/events-list-load-widget-display.php
steps to take are
- Copy this file to an events subdirectory in your theme
eg wp-content/themes/mythemename/events
- edit the file and remove the line shown below. It’s close to the bottom of the file
<a class="more-link" href="<?php echo get_permalink($post->ID) ?>"><?php _e('More Info', $this->pluginDomain); ?></a>