Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author mtschirs

    (@mtschirs)

    Hi John,

    The current version 0.3.7 does not take pictures from the excerpt, but the new 0.3.8 will do so (to be released soon (hopefully today)).

    mtschirs

    Thread Starter John DoeXAXA

    (@john-doexaxa)

    sounds great, i just updated. i dont see an excerpt option or is it just “from post”?

    Plugin Author mtschirs

    (@mtschirs)

    It is “from post” since I don’t think an extra option for “take image from extract” is necessary. But if you have a valid use case for this option, just tell me about it.

    Thread Starter John DoeXAXA

    (@john-doexaxa)

    well i guess it depends on what the priority for that option is. which one will it take if there is a picture in the post and in the excerpt as well?

    i stumbled upon another problem: i mostly use plugins to embed videos from external hosters. but when i do that your plugin posts e.g. “[youtube h1BICj6PE4s 640 385]” on my facebook wall. is there a way to only post the excerpt with a thumbnail?

    Plugin Author mtschirs

    (@mtschirs)

    The image is taken from the excerpt, if available.

    Concerning the video shortcode problem: Normally, shortcodes should not appear in the post message since they are evaluated first. However, some plugins do not rely on the official shortcode handling provided by wordpress and implement their own filter for this. Those unofficial shortcodes are more difficult to eliminate.

    Could you tell me the name of the video plugin you use?

    Thread Starter John DoeXAXA

    (@john-doexaxa)

    thx for the quick reply.
    i use WordPress Video Plugin

    the thing is i want to use the facebook page as kind of newsticker for my posts. so none of the content of the post should be visible there

    Plugin Author mtschirs

    (@mtschirs)

    Do you wish to display absolutely no content (only image, link and perhaps author and categories)? Then deactivate the checkbox “Post excerpt”.

    Or do you wish to display only the post excerpt, but not the post content? Then you have to make sure that all your posts have an excerpt.

    I will have a look at the WordPress Video Plugin.

    Plugin Author mtschirs

    (@mtschirs)

    Hi John,

    I resolved these compatibility problems by applying all registered wordpress filters before posting to Facebook.

    Since I do not yet want to make this a new public release, just replace your fpp_index.php with this: https://pastebin.com/27sLhXpB

    (Click “Editor” in the “Plugins” menu and open “facebook-page-publish/fpp_index.php” and replace all the code)

    Thread Starter John DoeXAXA

    (@john-doexaxa)

    wow, thank you. one last question: is it possible to only post the wordpress excerpt and post nothing if there is no excerpt? it seems like even if there is none on my site the plugin generates one from the actual wordpress post content. it was a little bit confusing to me that the option “Post excerpt” didnt copy paste the wordpress excerpt but creates its own.

    Plugin Author mtschirs

    (@mtschirs)

    hm, there is currently no such option to take just the wordpress post excerpt even if it is empty. As a quick solution, just comment out or delete line 291:

    if (empty($message)) $message = fpp_extract_message(apply_filters(‘the_content’, $post->post_content), $options[‘show_post_link’]);

    Perhaps I will introduce a new option for this later.

    And you are right, the name “Post excerpt” is ambiguous in the plugin options. Perhaps I should change it to “Post message” or something else.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Pictures from excerpt in FB page post’ is closed to new replies.