Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Custom Page Template WITHOUT Using Elements

Home / Forums / Kadence Theme / Custom Page Template WITHOUT Using Elements

This topic is: Resolved
[Resolved]
Posted in: Kadence Theme
June 14, 2024 at 6:05 pm

Going to try to make this short, LOL!

I am making a custom post type tied into Google Maps. I have it so it shows multiple pins, pulling the location from each custom post. That all works fine on its own. However, I can’t use elements (the best thing EVER, FYI) because of the code I need. Normally, you would follow the WP custom page template guidelines, and in this case, I was using Kadence’s index.php, but it just breaks.

Here are the URLs to the code I’ve written. I excluded my Google Map API and the client domain from them for sharing code purposes.

In the “broken” version, the header/footer loads fine, but the content flashes and disappears (the map never shows). I understand that it’s most likely due to the header/footer scripts not being where they need to be, but I’m not sure the best way to approach this.


  • The forum ‘Kadence Theme’ is closed to new topics and replies.