-
AuthorPosts
-
March 8, 2017 at 6:05 pm #757973
A site I am working on has a bunch of food menus as individual pages (breakfast, lunch, appetizers, etc). The content provider has asked if it would be possible to also embed those various menus in accordion nodes on another page WITHOUT having to double author the content. In other words, they want the accordion content to essentially pull from the individual pages (iFrame-like), instead of having to copy-paste the content in multiple places.
Example of a menu page: http://ozoner.net/celebratecatering.com/breakfast/
Example of a page where the menus are embedded in accordion nodes: http://ozoner.net/celebratecatering.com/corporate/I have not seen any way to use a shortcode ‘link’ to a text box on another page – is this possible? The alternative is just authoring the same content multiple times, but this client is fairly computer-phobic so anything to simplify their ongoing editing/maintenance will definitely pay off.
Thanks much for any ideas.
March 8, 2017 at 10:27 pm #758061Hey ozoner,
We would be glad to help you with this customization, but at the moment there is no easy way to do this by using a small custom code snippet, so I am afraid it’s out of the scope of our support.
However you can enable debug mode by adding the code provided in this link to your functions.php file which can be accessed from Appearance > Editor http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/
This let’s you view the shortcode for all the page elements. Which is easier to copy and paste it.
Another way to show the menu page in multiple places in an iframe is possible. But you have to place buttons inside of accordion or just use buttons instead of accordion.
Button elements can open a lightbox window and display any content inside it.
1. Create a new page with your content inside it and hide the header and footer from the sidebar options.
2. Copy the page URL and add ?iframe=true to the end of the link.example : If the new page created to display in the lightbox is http://kriesi.at the link to open it in lightbox will be http://kriesi.at?iframe=true
Best regards,
VinayMarch 8, 2017 at 11:49 pm #758098I totally understand – thank you for the hints!
March 9, 2017 at 9:15 am #758246Hi,
Thank you for understanding :)
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)Best regards,
Vinay -
AuthorPosts
- The topic ‘Insert contents of a page into an accordion on a different page’ is closed to new replies.