WP Facebook Open Graph protocol
Length of og:description to be variable (1 post)

  1. lakenjr
    Posted 2 years ago #

    Would it be possible to include an option in the settings for this plugin so that the number of characters copied into og:description can be changed?

    At the moment og:description seems to be fixed at 160 characters as per the code below.

    $wpfbogp_description = str_replace( "\r\n", ' ' , substr( strip_tags( strip_shortcodes( $post->post_content ) ), 0, 160 ) );


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Facebook Open Graph protocol
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic