WordPress.org

Ready to get started?Download WordPress

Forums

Category Posts Widget
Jetpack Sharing icons appearing in excerpt... (3 posts)

  1. jeremy2805
    Member
    Posted 1 year ago #

    Hi,

    Could someone direct me as to how I can remove the sharing buttons from the excerpt? My client wants them to remain on the posts, just not also in the sidebar where the widget sits.

    I've had a look in the plugin's php file, and the extract from the post seems to get generated by a function called the_excerpt, but I can't see that function anywhere.

    Also, I can't find the 'Continue reading...' text anywhere, and I need to translate it. Any pointers most welcome.

    Many thanks.

    ETA: Website is http://verenadaldini-art.com, although I'm going to have to switch off the widget until I can get it fixed.

    http://wordpress.org/extend/plugins/category-posts/

  2. jeremy2805
    Member
    Posted 1 year ago #

    Resolved. The fault lies in the ShareDaddy module of Jetpack. I found this which solved the problem.

    <snip>
    Here’s how:

    1. You need to find sharing-service.php, this is in public_html/wp-content/plugins/jetpack/modules/sharedaddy/
    2. At the end of the file you will find the bit to code to comment out or delete
    3. look for add_filter( ‘the_excerpt’, ‘sharing_display’, 19 ); and comment it out.
    </snip>

    Thanks everyone for all your help. ;-|

  3. 10MMel
    Member
    Posted 8 months ago #

    Thanks! Got a similar issue and the solution above worked for me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic