• Resolved gilesytheking

    (@gilesytheking)


    Hey guys,

    I was wondering if there is a way to set a default custom comment for shared posts. Unless I type something into the box, publicize will use the post meta description.

    I would like to be able to set a custom message for all posts or disable the custom message completely.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    You can use the sharing_title filter to customize the default message used for all sharing buttons.
    https://developer.jetpack.com/hooks/sharing_title/

    To learn more about actions and filters, and how to use them, you can check this page:
    https://developer.jetpack.com/customize-jetpack-actions-filters/

    I hope this helps.

    Thread Starter gilesytheking

    (@gilesytheking)

    I’m not the best coder in the world.

    I want the default custom comment posted to Facebook to be blank, unless I manually add a custom comment.

    How could I do that using a filter?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    To clarify, do you want to customize only the content that is shared on Facebook? Do you want to change that content when the post is automatically posted on Facebook when publishing the post, or the content that is shared on Facebook when someone clicks on the Facebook sharing button in one of your posts?

    Thread Starter gilesytheking

    (@gilesytheking)

    Yes only when posting to FB.

    I am using an auto posting script to share videos from YouTube as posts. The script creates and publishes the video post and then publize shares it to FB.

    Currently publicize is adding the meta description from the post as the custom message for FB.

    I want to edit the content when publize shares the post to FB after publishing. The default message should be blank, unless I manually add a message in the custom message box.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Understood. In this case, the filter I mentioned earlier won’t work. You’ll need to follow a method based on this tutorial to create a custom Publicize message:
    https://jeremy.hu/jetpack-hashtags-tweets-publicize/

    The tutorial explains how to add data to the Publicize messages (tags), but you can follow a similar method to remove the existing message and only leave a non breakable space,  .

    I hope this helps.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Jetpack Publicize Custom Comment’ is closed to new replies.