WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. klassykinks
    Member
    Posted 1 year 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 1 year 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 1 year 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 1 year 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 year 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 year 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 year 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 year 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.

  9. esmus
    Member
    Posted 6 months ago #

    Hello, I have the same problem and need urgent help, please. I use http://wordpress.org/plugins/shortcodes-ultimate/ this plugin in my post contents and its shortcodes are published by jetpack to my social accounts. Below you can see a link to my post and a link to my google plus page.

    Post on my website: http://goo.gl/rsbphE
    Share on my google + page: https://plus.google.com/111281710602311213890/posts/b4X3JxgFQtM

  10. pepe
    Member
    Posted 5 months ago #

    Is there anything we plugin authors can do about this bug?

  11. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 5 months ago #

    Hi all!

    As mentioned earlier, this is a known issue. We now have a github issue for it:

    https://github.com/Automattic/jetpack/issues/869

    Please feel free to comment on there and/or follow that issue for updates. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic