No WordPress Shortcodes are working

Moderator
James Huff

(@macmanx)

Volunteer Moderator

This may be a plugin or theme conflict. Please attempt to disable all plugins, and switch to the default Twenty Twenty theme. If the problem goes away, enable them one by one to identify the source of the problem.

If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

@macmanx Thanks for the quick reply, but it was an error with my page template. I was doing this

<div class="col" id="">
                    <p class="content"><?php $content=get_the_content();

                    echo $content; ?></p>
                    
                </div>

But I fixed it by changing it to this

<div class="col" id="">
                    <p class="content"><?php $content=the_content();

                    echo $content; ?></p>
                    
                </div>



Source link