WordPress.org

Ready to get started?Download WordPress

Forums

Social
[resolved] html tags showing up in Facebook post excepts (2 posts)

  1. gingerdog
    Member
    Posted 4 months ago #

    Hi,

    The 'Social' plugin seems to work almost as required, however when used on one site we're seeing html markup embedded on the post.

    I think this is possibly due to the site using a plugin which allows html to be added into the excerpt.

    Any suggestions on how we can strip_tags() or similar to stop the <p> ending up showing on Facebook?

    Example of post - https://www.facebook.com/permalink.php?story_fbid=767682386581837&id=140058772677538

    or

    https://www.facebook.com/permalink.php?story_fbid=769912053025537&id=140058772677538

    thanks
    David.

    http://wordpress.org/plugins/social/

  2. Alex King
    Member
    Plugin Author

    Posted 3 months ago #

    There are filters available for the broadcasts, you can hook in there or you can try disabling your 3rd party plugin.

Reply

You must log in to post.

About this Plugin

About this Topic