Tagged: Element Preview
Is there a code could close Element Preview?
Hey Moaaaaya,
Try following the instructions I posted here: https://kriesi.at/support/topic/editor-element-live-preview/#post-761247
Best regards,
Nikko
it’s not work .
i did a reply on that post.
Hi,
Yes, I see your post, I forgot to mention the code there only applies to text block. Can you check the text block if Element Preview is still there?
Regards,
Nikko
hello
It’s have a Preview on Text Block too.
Hi,
I have tested this on my end and it works. Can you give us temporary admin access as well as ftp access? just post the details in Private Content so only moderators see it.
Best regards,
Nikko
sorry, it’s work now. (i leave a copy in the same folder…)
but how to disable all Element Preview?
Hi,
Unfortunately, there’s no way to disable all as far as I know, except disabling it individually, all php files inside wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/ represents the layout elements in Avia Layout Builder, try to look for this code in the items:
$this->config['preview'] = "large";
and replace it with:
// $this->config['preview'] = "large";
that should disable it.
Best regards,
Nikko