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

  1. JasonBC
    Posted 3 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.


  2. Crucis0
    Posted 3 years ago #

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

    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. Blair Williams
    Plugin Author

    Posted 3 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

  • Social Maven
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.