After updating to Enfold 451, the Google Map is no longer displayed. Reason is the file: “error404.php” in my include folder (child theme). I just deleted some code
<p class=’entry-content’><?php _e(‘Nothing Found’, ‘avia_framework’); ?><br/>
<?php _e('Sorry, the post you are looking for is not available. Maybe you want to perform a search?', 'avia_framework'); ?>
</p>
<?php
if(isset($_GET['post_type']) && $_GET['post_type'] == 'product' && function_exists('get_product_search_form'))
{
get_product_search_form();
}
else
{
get_search_form();
}
?>
</section>
That worked before I was updating to 451! Why is this conflict with the Map after the update?
Hei Rikard
as I could find out it is not the file, but the function itself:
function change_aviajs() {
wp_dequeue_script( 'avia-shortcodes' );
wp_enqueue_script( 'avia-shortcodes-child', get_stylesheet_directory_uri().'/js/shortcodes.js', array('jquery'), 3, true );
}
add_action( 'wp_enqueue_scripts', 'change_aviajs', 100 );
For a closer look, you will find login credentials in private content.