Site logo

Archived topic

Adding a map at the top right side and an HTML text box

19 replies · Started by shlomo on December 21, 2021

Viewing posts 16–20 of 20

So you've created a static page and added their code to it, I'm assuming?

And just to confirm, you've chosen this page in the Display Rules for your Element?

Yes, It's that page where I used the MPG default link.
That will be the page where I wanted to set a sidebar map to be fully implemented to the 38,000 generated links.

If they don't have a built-in condition we can use (too bad), we can go the custom template route they mentioned.

You would have to:

1. Create a child theme: https://docs.generatepress.com/article/using-child-theme/
2. Copy the page.php file from the parent theme and add it to the child theme
3. Give it a custom template name at the top of the file: https://developer.wordpress.org/themes/template-files-section/page-template-files/#creating-custom-page-templates-for-global-use
4. Apply this template to their plugin

Once you do that, can you link me to the main page using the template so I can write up a PHP function for you that should integrate Elements with it?

Thanks!

Already checked and tried on staging site. All I need is to wait for Ezoic for confirmation as I got a precaution installing the child theme that might affect my revenue when changing a theme. So, after I got a go answer, will implement this to our live site and send you the page link from the child theme directory page.php.

Thanks for extending a hand! :)

No problem! :)

This archived topic is closed to new replies.