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

  1. cadfile
    Posted 2 years 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


  2. cadfile
    Posted 2 years 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Facebook Page Publish 2
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic