Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Tagged: enfold, Phone-Info
Right now, only normal text is supported in phone field.
Please add small fix to also support shortcodes in the field:
includes/helper-main-menu.php
Change:
if($phone) { echo “<div class=’phone-info {$phone_class}’><span>{$phone}</span></div>”; }
to
if($phone) { echo do_shortcode(“<div class=’phone-info {$phone_class}’><span>{$phone}</span></div>”); }
I do use this a lot and need all the time to edit your theme manually after update..
Like: adding my own language selector there or breaking news…
Thanks.
Stefan
Hey BlutVampir!
Thank you for visiting the support forum.
You can use a child theme if you want to preserve the modification. Create a folder inside the child theme folder called includes then add the helper-main-menu.php file inside. Refer to this link for more info: http://kriesi.at/documentation/enfold/using-a-child-theme/
Cheers!
Ismael