Home>Support

Add filter to the_content

By Kevin, 4 years ago. Last reply by Alex S, 4 years ago
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’ );

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More