• Hi,
    I am using the Divi builder and would like to simply use shortcodes to display map, hours etc…

    I can add shortcodes no problem to the builder, problem is, the map, address and hours are automatically being pulled in via the_content

    Any way to prevent auto addition of elements while using permalinks?

    Essentially this would allow us to use the main map w/ locations and then display what we want where we want it.

    Thank you!

    https://ww.wp.xz.cn/plugins/wp-store-locator/

Viewing 1 replies (of 1 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    You made a custom template, but you get all the content twice? Only a few users have had this issue in the past, but it’s an annoying one, and worse is that I don’t seem to be able to replicate it.

    Does it also happen for you with a default WP theme?

    A quick fix would to add a simple comment on line 59.

    Maybe I need to add some extra code to the ‘cpt_template’ function to check if a single-wpsl_stores.php exist in the theme folder, to complete rule out that the code runs.

Viewing 1 replies (of 1 total)

The topic ‘Custom Template Question’ is closed to new replies.