Comments ricardoont started the conversationDecember 8, 2019 at 4:18pmHello, I have a small issue with the single page: I don't need the directions feature in my site and I can't find the setting to remove it. I also don't want to ask users permission to use their location, I think its related to that feature, isn't it?Any help appreciated, thanks! 894Zhivko repliedDecember 11, 2019 at 7:07pmHi,Open your theme functions.php file and add this code: add_action('stec_single_after_content', function() { ?> <script type="text/javascript"> (function($){ $('.stec-layout-single-location-right input[name="start"]').val('none'); $('.stec-layout-single-location-right').hide(); })(jQuery); </script> <?php}); Stachethemes Developer Sign in to reply ...
Hello,
I have a small issue with the single page: I don't need the directions feature in my site and I can't find the setting to remove it.
I also don't want to ask users permission to use their location, I think its related to that feature, isn't it?
Any help appreciated, thanks!
Hi,
Open your theme functions.php file and add this code:
Stachethemes Developer