Forum Replies Created
-
AuthorPosts
-
Hi Victoria, I’m a developer.
Is there a way to contact developers?
Perhaps you didn’t notice that I wrote “I figured out how to do it”Hi,
So, there’s a wordpress theme called Enfold. It has it’s own LayoutBuilder interface.
There’s a tabbed toolbar which contains a Special Heading shortcode with a Heading Style property.
It’s depicted on that screenshot: https://image.prntscr.com/image/vmTEAt94RveZO24F2qkoOQ.pngIt has a list of 4 hardcoded preset options for Special Heading.
I needed to add 5th preset to that list
Let me know if I didn’t explained wellI figured out how to do it thanks to that blog post:
I had to replace the Special Heading shortcode (that is a component of LayoutBuilder) in the Enfold Child theme.
Added the shortcodes directory loader into
functions.phpand copy/pasted the content ofheading.php
from:enfold/config-templatebuilder/avia-shortcodes/heading.php
to:enfold-child/shortcodes/heading.phpIn the
styleitem of theav_headingshortcode I’ve added the new style:
https://image.prntscr.com/image/VXjuQJ1YQYCNQbNLAB5Ehg.pngI still hope there’s some more sane way to do it:
– through WordPress theme’s UI (Enfold child theme UI)
– extending properties instead of overwriting the whole shortcode php file -
AuthorPosts
