I am using a WordPress plugin to load single post without refreshing the page, you can find it here: https://wordpress.org/plugins/read-more-without-refresh/
The plugin works perfectly fine when i use it's shortcode, it does exactly what i need it to do but here is the problem, I like to use it on all my post and this means i have to edit over 1000 post. Because i have some rules that i need to apply and there are some contents between the opening and closing shortcode elements , it gets tricky to use "do_shortcode"
Here is the shortcode: [read more="Click here to Read More" less="Read Less"] My Hidden Paragraphs Here [/read]
Here is what i want it to do: I need the plugin to apply the shortcode on all posts, after first 150 words and if the post has less than 150 words, it should do nothing.
Is there anyway i can do this? with php code or the already existing shortcode