Issue with custom single-wpsl_stores.php | WordPress.org

[ad_1]

We have created a single-wpsl_stores.php file so that we can customize what the individual store pages look like. In the single-wpsl_stores.php file we literally only have <?php the_content() ?>, so that we can use the Gutenberg editor to add content and images to the page and place the map/address/hours/etc. where we want to using shortcodes in the editor.

This is all working, but for some reason, the page is adding a map, address, and hours at the bottom of the page automatically even though we haven’t added those shortcodes to the page content.

Here is a screenshot to show what it’s doing. We’ve only added the text that’s above the map to the editor.

Is there a hook or something that’s automatically appending the map, address, and hours to the end of the_content()? If so, how do we remove that, so that those items don’t automatically show?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer