Archived topic
Importing an element only from site library
3 replies · Started by Joseph on December 2, 2020
I have imported the site demo 'Coach' on a fresh wordpress install. Since, then I have customised the website, and among other changes have deleted the footer template element and created my own footer.
I am not happy with the footer I have created and would like to get the original footer template element from 'Coach' back.
Is there anyway I can import just this element without having to import the entire 'coach' demo site. As, this will overwrite the other changes I have made.
Any help would be greatly appreciated
Regards and thanks
Joe
Hi there,
Unfortunately it's not possible to import just a certain section from the site library.
Let's give this solution a shot.
- Create a new Block Element.
- Switch to the Code editor in the settings:
https://www.screencast.com/t/wWISRbDlMAu
- Copy and paste this code:
https://gist.github.com/leohsiang/8503f77109aa7dff7e8b17413408192b
- Then switch it back to the block editor in settings.
I have not tested this method but worth a shot.
Let me know :)
Thank you Leo.
Your solution has worked perfectly. I haven't edited the element yet, but everything is working/ looking correct, so far.
1st class customer service!
No problem :)