WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
Shortcodes showing in Publicize on Facebook (8 posts)

  1. klassykinks
    Member
    Posted 7 months ago #

    For some (but not all) posts, some shortcodes are showing in the snippet preview of the shared post on my Facebook page. In the latest example, the image didn't show up either (despite being a featured image). This tends to happen on posts that are written from a template (rather than completely written fresh). Any suggestions (other than not copy pasting posts... I do this because I have a weekly interview that asks the same questions)?

    https://www.facebook.com/KlassyKinks
    http://klassy-kinks.com/2013/09/13/klassy-fashionistas/erika-thefashionesta/

    Thanks!

    http://wordpress.org/plugins/jetpack/

  2. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 7 months ago #

    Hi,

    This is a known issue; any shortcode that isn't part of Jetpack or isn't native to WordPress doesn't get stripped out. This is something that we are working on fixing for a future release.

  3. nblanchette
    Member
    Posted 6 months ago #

    If I was going to patch this myself, where would I be looking in the publicize code?

  4. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 6 months ago #

    Hi nblanchette, thanks for wanting to help us on this! However, the code that strips out the shortcodes actually resides on the WordPress.com servers, so you won't be able to work on it or submit a patch. However, if you'd like to work on other aspects of Jetpack, or even apply to be a Beta Tester, have a look at our Contribute to Jetpack page, here:

    http://jetpack.me/contribute/

    Thanks again!

  5. hogwam
    Member
    Posted 1 month ago #

    Has there been any further progress on this please?
    Just started using Publicize and it has exposed a number of short codes to my Facebook page, so really need a fix please

  6. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 1 month ago #

    No hogwam, not at the moment. Can you point me to a Facebook link so I can have a look? I may be able to suggest a work-around for you.

  7. hogwam
    Member
    Posted 1 month ago #

    https://www.facebook.com/tvkc.co.uk

    post from 5th jan and one from 12th feb

  8. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 1 month ago #

    Have you tried writing a custom excerpt for your posts? If you write an excerpt, that should be what is sent to Facebook:

    https://codex.wordpress.org/Excerpt

    Try that and let me know.

Reply

You must log in to post.

About this Plugin

About this Topic