Support » Plugin: Simple Facebook Connect » [Plugin: Simple Facebook Connect] og:description change size

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    You can use the sfc_excerpt_length filter to reduce the number of characters it tries to send. It’s set to 1000 (the max) because this increases the visibility of the post on Facebook.

    wolfy_

    (@wolfy_)

    Sorry for ask, and where I can find that function?
    I’m looking the SFC plugin files and I do not find it.

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    It’s a filter, not a function. Put code like this into your own plugin or site to modify the value.

    add_filter('sfc_excerpt_length','example_length');
    function example_length($len) {
      return 500;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Simple Facebook Connect] og:description change size’ is closed to new replies.