WordPress.org

Ready to get started?Download WordPress

Forums

Simple Facebook Connect
[resolved] og:description change size (4 posts)

  1. wolfy_
    Member
    Posted 1 year ago #

    Hi,

    Where can I change the size of og:description?

    When it publish to facebook e sends more caracter that I want.

    it is possible to add these feacture in the plugin?

    Thanks.

    http://wordpress.org/extend/plugins/simple-facebook-connect/

  2. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 1 year ago #

    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.

  3. wolfy_
    Member
    Posted 1 year ago #

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

  4. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 1 year ago #

    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;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.