Skip to main content

The post message is too long

Good morning, where can I change the character count of posts?

The post message is too long

Mat β€Ž

EricK BuenoΒ  check this out

add_filter('fluent_community/max_post_length', function($maxLength) {
      return 10; // Set the maximum post length to 10 characters
  });

EricK Bueno

Mat β€ŽΒ Sorry, I haven't touched any Fluent Community files for months. Where should I put them?

Mat β€Ž

EricK BuenoΒ you can use the FluentSnippets (Free) plugin and add that code snippet there - this way you dont need to touch/edit any WP core files etc

https://fluentsnippets.com/

If you dont have a Code Snippet plugin for changing Slug and/or CSS code snippet then use Fluent Snippets plugin for Free - here is how to use the Fluent Snippets plugin by @dcmcca David McCan).

https://youtube.com/watch?v=-bQPZ23LSdQ

EricK Bueno

Mat β€ŽΒ Thanks bro!!