Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Julka Grodel

    (@jgrodel)

    Hi Aranger.

    Thanks for letting us know about your issue. Would you mind sharing a URL with us that isn’t behaving as you expected? If you’d rather share privately, please feel free to email us at [email protected].

    Thanks,
    Julka

    Thread Starter Aranger

    (@aranger)

    Eh I just added the shortcode into the singe post template. So no worries.

    We are adjusting the wordpress normal post text for the admin area. So instead of it saying post it says Blog. Then we removed the post support for excerpt and editor. Would that have anything to do with it?

    Plugin Contributor Julka Grodel

    (@jgrodel)

    Hi Scott.

    Thanks for letting us know about your issue.

    It looks like you’re using a custom template for the linked page. Custom templates often skip the proper WordPress ways of retrieving content and that can stop above/below content buttons from being added on.

    On that page, I’d expect the page to call the_content() but it doesn’t look like it does. We use filters on the_content, get_the_excerpt, the_excerpt and wp_trim_excerpt to add tools above and below posts and pages. If a theme doesn’t use those to get the text for a post or does something unexpected with it after (like shortening it, removing HTML, or escaping HTML) our above/below tools aren’t going to work. There’s no way around this.

    However, it seems like that template is doing enough right that the sharing sidebar will work on those pages (it’s currently disabled). The mobile sharing sidebar is already working on them.

    Thanks,
    Julka

    Plugin Contributor Julka Grodel

    (@jgrodel)

    Hi Aranger.

    Lots of things in custom templates can cause issues. I mentioned the filters we use above. Those are the biggest ones. If you’re doing something special with excerpts, then our tools may not appear on excerpts, but that wouldn’t effect the_content().

    Another is when addthis_widge.js isn’t being added onto pages, and that’s usually a problem with the way a template is making its header or footer.

    There’s not much for me to say without a URL to look at.

    Thanks,
    Julka

    Thanks Julka, you’re absolutely right that we are not calling the content. I didn’t think of that. We use custom descriptions for the main ‘content’ fields of our custom post type.
    I’ll just push back to that sidebar model for all pages then. Thanks for the insight!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Custom Post Types not showing the sharethis buttons’ is closed to new replies.