Blog Post Excerpt in REST API call
-
I’m trying to limit blog post description when getting from REST API for widget on my non WP website. I tried different plugins for WP, I tried to set filter:
function custom_excerpt_length( $length ) { return 100; } add_filter( 'excerpt_length', 'custom_excerpt_length', 9999 );Nothing works. How can I make it?
-
Hi there,
Looks like you’re on the wrong forum. It appears that you’re using the self-hosted version of WordPress and you need to seek help at the WordPress.org forums:
https://wordpress.org/support/
These forums are for WordPress.com hosted sites only. If you want to know more about the differences between WordPress.com and WordPress.org you can read this document:
- The topic ‘Blog Post Excerpt in REST API call’ is closed to new replies.