WordPress.org

Ready to get started?Download WordPress

Forums

Social Maven
Buttons don't show in category feeds - or all excerpt views (3 posts)

  1. JasonBC
    Member
    Posted 2 years ago #

    Posts that show as a part of a category feed or excerpt view only have the nonfunctional words 'tweet it' and 'pin it'. The button graphics are stripped out.

    I want so much to like and keep this plugin, but this presentation in excerpt view isn't acceptable. If there's a quick fix that would be great.

    http://wordpress.org/extend/plugins/social-maven/

  2. Crucis0
    Member
    Posted 2 years ago #

    Confirmed. Calling the_excerpt() in a theme breaks this plugin. Calling the_content() works as expected.

    Recreate:
    1. Load the Twenty Eleven theme.
    2. Enter something into the search that will return results.
    3. You will see "Tweet Pin It" wrappered in a <p> tag.

    Looking at SomaButtonsController class, there is an add_filter('the_content' ... ) in which the social buttons are added to the $content.
    Do we need to add a filter for the the_excerpt?

    Hopefully this is an easy fix ...

  3. supercleanse
    Member
    Plugin Author

    Posted 2 years ago #

    Well, it will be difficult to load these in excerpts since html is stripped from excerpts. I'll push a fix for this soon ... but the buttons will just be removed from excerpts.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.