• Resolved Maxmalte

    (@maxmalte)


    One last question…
    Is possible to limit the characters from the “body text” if I use crossposting from wordpress to tumblr?

    I use Tumblr as a teaser for my blog. So I would like to publish a preview with a phrase or two of my post plus the first image.

    For me it is sufficient to be able to limit the characters. 🙂

    Thank you so much for your answer.

    https://wordpress.org/plugins/tumblr-crosspostr/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Meitar

    (@meitar)

    You want to enable the “Send excerpt instead of main content” option. Look over the screenshots again. 😉

    Thread Starter Maxmalte

    (@maxmalte)

    Thank you, I’ve already seen and I use it. 🙂
    But unfortunately it sends to much of the body text…
    It sends also my “Content Report” buttom (Plugin) if I write not enough text.
    Most of my posts are image posts with less than 200 characters.

    Plugin Author Meitar

    (@meitar)

    Then enter an excerpt yourself. If you just want an image to crosspost, just put the HTML for the image in the excerpt field.

    Thread Starter Maxmalte

    (@maxmalte)

    Maybe I’m blind but I can’t find an excerpt field, not at my blog and not at your pictures. I’m sorry. 🙁

    I see a check box but not a excerpt field http://s7.directupload.net/images/140810/ziupjuzd.png 🙁

    Is their no way at one of the .php scripts to limit the characters?

    Plugin Author Meitar

    (@meitar)

    The excerpt is a built-in WordPress field. If you don’t see it on your posts, ensure it’s enabled on your post editing screen’s Screen Options.

    Thread Starter Maxmalte

    (@maxmalte)

    *OMG* I didn’t see that before… :/
    Thank you so much!

    ATM I resolved the problem with dirt workaround.
    I changed at wp-includes/formatting.php
    line 2412
    from

    $excerpt_length = apply_filters( 'excerpt_length', 55 )

    to

    $excerpt_length = apply_filters( 'excerpt_length', 15 )

    and line 2448
    from

    function wp_trim_words( $text, $num_words = 55, $more = null ) {

    to

    function wp_trim_words( $text, $num_words = 15, $more = null ) {

    I know what that means… But I didn’t use wp_trim_excerpt at any other location (atm)…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Limit the characters’ is closed to new replies.