-
AuthorPosts
-
January 3, 2024 at 8:19 pm #1429210
Hello Kriesi,
I am attempting to build a page by pasting part of the short code from the Avia Layout Building short code from another page.
On the target page I enter the Default Editor, paste the short code into the edit box, then click “Advanced Layout Editor” and the new elements do not appear. Clicking again on Default Editor shows that the short code that was pasted in is now gone.
Alternatively, if I click “Update” after pasting in the short code, then click “Advanced Layout Editor,” the new code is still not there.
If after I “Update” the page, leave the page, then return to edit the page, it is still in Default Editor mode and I can see the new short code. However, I then click “Advanced Layout Editor,” then the new elements are not there. Returning once again to the Default Editor shows that the short code is gone.
The ability to paste in elements from existing pages is a very powerful and quick way to create new pages (a technique I have used with many other WordPress themes), so I am eager to figure out what I may be doing wrong to make this happen.
Can you help me? Thanks!
January 4, 2024 at 1:17 am #1429221Hey egouldmedia,
Thank you for the inquiry.
You should not switch to the default editor while building content with the Advance Layout Builder. If you need to add element from a page to another, you could save the content as template, create a CET or enable the debug mode. Please check the documentation below for more info.
// https://kriesi.at/documentation/enfold/custom-element-templates/
// https://kriesi.at/documentation/enfold/intro-to-layout-builder/#templatesTo switch the builder to debug mode and be able to manually copy and paste the builder shortcodes, please check the link below.
// https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb
Best regards,
IsmaelJanuary 4, 2024 at 2:42 am #1429229Hi Ismael,
Thanks for the detailed response and the link to the pertinent documentation.
I enabled debug mode via the Child Theme code and successfully saw the field with the short code. I made a sample edit, saved the page, re-opened the page, and the Advanced Layout Builder successfully displayed the new content. This is precisely the functionality I was looking for. Thank you.
I will also look carefully at the Custom Element Templates to see how I can take advantage of that feature, but I suspect it will be limited to elements that have already been defined on the website. Pasting in short code allows the ability to capture pages from other Enfold websites, such as installing one of the demos, capturing any desired page’s short code, then dropping the short code into another demo that has been subsequently installed.
Many thanks again.
January 4, 2024 at 7:41 pm #1429297Hi,
Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Edits to a Page with Default Editor Disappear with Advanced Layout Editor’ is closed to new replies.