How can I remove "more-info" from the sidebar? There is no need for the more info link, since it goes to the same place as if you click the title of the post.
How can I remove "more-info" from the sidebar? There is no need for the more info link, since it goes to the same place as if you click the title of the post.
Also in search of this answer . . . thanks
me too
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
<a class="more-link" href="<?php echo get_permalink($post->ID) ?>"><?php _e('More Info', $this->pluginDomain); ?></a>
This topic has been closed to new replies.