وردپرس

Issue with custom single-wpsl_stores.php


Replies: 0

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 topic was modified 1 minute ago by theheartypixel.
  • This topic was modified 1 minute ago by theheartypixel.
این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا