WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Page Publish 2
[resolved] Changing the Length of post excerpt shown (2 posts)

  1. cadfile
    Member
    Posted 12 months ago #

    Is there a way to increase the amount of the post excerpt to show. I use the manual excerpt on my posts but the excerpt when publish cuts off.

    Facebook removed the character limit on status text so I would like to show my whole excerpt

    http://wordpress.org/extend/plugins/facebook-page-publish-2/

  2. cadfile
    Member
    Posted 12 months ago #

    I figured out how to do this without any major hacking.

    Look for the following line in the first section of the fpp_index.php file under "Constants"

    define('FPP_FACEBOOK_LINK_DESCRIPTION_MAX_LENGTH', 340); // Facebook link description allows max. 420 characters, 340 are always shown

    Then change the number from 340 to what you want. Facebook's limit is now 5000 characters so I set the constant at 1000 and this worked for me. It showed my full excerpt.

    The only issue is if the plugin is updated you will have to do this change again.

Reply

You must log in to post.

About this Plugin

About this Topic