• Welcome to the official support community for the Marketers Delight WordPress theme. Most content here is private and to ask questions, get official support, and network with other WordPress users please register and verify your forum account to start posting today.

Excerpt Length

Alex

MD developer
Messages
5,483
Reaction score
1,423
Oops, I overlooked this thread.

XFtoWP should use the same excerpt length as what shows up on your blog. Is that true, or do you want a different length from what shows up on your site?

This has come up multiple times so I may need to make some admin setting for it.
 
Comment

Canakkale

New member
Messages
4
Reaction score
1
Yes, I'd like a different length. Not words or characters, parapgraphs maybe.

It would be very good to add an admin setting for it. Thank you very much. :)
 
Comment

Canakkale

New member
Messages
4
Reaction score
1
For example, I've added this code to functions.php for now:

PHP:
add_filter( 'excerpt_length', function($length) {
    return 300;
} );

I couldn't find a setting for paragraphs, so I decided to use the first 300 words of Wordpress post in XenForo thread. :)
 
Comment
Top