HTML Code inserts in Footer or Header (Pro Builder)

Hello.

When adding links in the format : <a href="http://www.google.com">Test link</a> make entire footer disapear on page et when click edit footer, the footer is empty.

Anyone else having problems adding HTML code ?
To make it simple, I think there is a problem with the saving of HTML content from editor in the footer.
How to tell WP / Cornerstone builder not to strip / format any HTML code ?
Look at the content as is saved in the database :

https://pastebin.com/QVFeb7LZ

There are serious html code modifications like spaces and line breaks that break the json correct formatting of the content.

What about someone write <div class="nameclass">CONTENT</div> ? Adding double quotes in any HTML content will break all the footer !

Edit: Confirmed. The powerful tool to create really custom headers and footers are totally useless since it comes to write own html code. The inserted code is correct (closing tags and correct syntax, using single quotes for the classes). When saving, all is screw up, the code get striped of closing tags making the whole page break.

The only way to have what I want is to create a custom html code in Widget > Footer area ant then add it to Custom Builder with Widget Area area. Very not appealing since modifications are not seen “live” …

The same result is obtained when using “Content Area” or “Text” blocks.

I’m eager to hear the developers point of view…
Where one can use globally public $preserve_content = true; if it wants it ?
(Also posted in General for community)

Hi There,

Thanks for writing in! To keep things simple, the recommended way would be to use a Widget area for this type of additions as you have mentioned.

However I will pass this to our development team, so they can review it further.

Thanks!

Hello,
Thanks for answering. Doing the widget method remove the WYSIWYG part of creating footers, one of the marketing pillars of PRO Theme, the main reason why I switch to Pro. If one need to use the non visual part two times, one in WP Widgets, then second time in Footers (at any moment one can’t see what is rendered in Builder, only on site), then saving, refreshing the page, clear the cache, refresh again, modify a line, save, refresh again, clear cache, refresh again, modify a line… you see the picture…
Many thanks… it is supposed to be much easier…

Thank you for the input!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.