Limit the_content to character length

28Jun
Posted by Oliver Partridge, in WordPress, no comments

echo mb_strimwidth( strip_tags( get_the_content() ), 0, 350, '...' );

https://stackoverflow.com/questions/3147898/how-to-set-character-limit-on-the-content-and-the-excerpt-in-wordpress

Read more →

Filter WordPress gallery shortcode output

28Jun
Posted by Oliver Partridge, in WordPress, no comments

Quite often when integrating a 3rd party HTML template into WordPress there is a need to be able to control some of WordPress’ default behaviour (more…)

Read more →

WordPress CDN: Setting up quic.cloud

24Jun
Posted by Oliver Partridge, in Servers, WordPress, no comments
Read more →

Get content before the more tag

23Jun
Posted by Oliver Partridge, in WordPress, no comments
Read more →

CONTACT US

+44 (0) 1442 800 500 or info@tringwebdesign.co.uk