Hi,
I’m trying to add a filter to the content to add a shortcode to the end of every single post. However, any time I use the following, I see no content at all. Is there anything special I need to do since the page builder likely interacts with the_content filter?
add_filter( ‘the_content’, ‘my_custom_function’ );
Hi Kevin,
We modify the_content using the default priority so you’ll need to set a lower priority (anything higher than 10) to make to append the shortcode. If you’re not too sure how to adjust the priority, please click here.