-
AuthorPosts
-
November 3, 2017 at 9:05 am #872027
/wp-admin/admin.php?page=avia
some js error ?
November 3, 2017 at 9:26 am #872037this is the page where enfold options are shown. Have you more input of the js errors ?
have you managed some entries in your functions.php of child-theme ?November 3, 2017 at 9:34 am #872042No nothing entries in function.php
add_theme_support(‘deactivate_layerslider’);
# Remove WordPress’ canonical links
remove_action(‘wp_head’, ‘rel_canonical’);add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘Roboto’] = ‘Roboto:100,300,400,500,700,900’;
$fonts[‘Roboto Slab’] = ‘Roboto Slab:100,300,400,700’;
$fonts[‘Roboto Condensed’] = ‘Roboto Condensed:300,400,700’;
$fonts[‘Roboto Mono’] = ‘Roboto Mono:100,300,400,500,700’;
$fonts[‘Ubuntu’] = ‘Ubuntu:400,700’;
$fonts[‘Titillium Web’] = ‘Titillium Web:400,700’;
$fonts[‘Crimson+Text’] = ‘Crimson Text:400,400i,600,600i,700,700i’;
return $fonts;
}add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
function avia_add_content_font($fonts)
{$fonts[‘Roboto’] = ‘Roboto:100,300,400,500,700,900’;
$fonts[‘Roboto Slab’] = ‘Roboto Slab:100,300,400,700’;
$fonts[‘Roboto Condensed’] = ‘Roboto Condensed:300,400,700’;
$fonts[‘Roboto Mono’] = ‘Roboto Mono:100,300,400,500,700’;
$fonts[‘Crimson+Text’] = ‘Crimson Text:400,400i,600,600i,700,700i’;
return $fonts;
}add_filter(‘avf_logo_headline’,’avia_new_logo_span’);
function avia_new_logo_span(){
if(is_page(12)){
$output = “h1”;
}
else{
$output = “strong”;
}
return $output;
}//set builder mode to debug
add_action(‘avia_builder_mode’, “builder_set_debug”);
function builder_set_debug()
{
return “debug”;
}November 4, 2017 at 4:23 am #872374Hi,
You should probably remove this part:
# Remove WordPress’ canonical links
If it’s supposed to be a comment then please try changes it to this:
// Remove WordPress’ canonical links
Best regards,
RikardNovember 4, 2017 at 3:50 pm #872538yes – i read over it too. – but i guess thats it
November 6, 2017 at 11:42 am #872970No always same issue !
November 7, 2017 at 6:58 pm #873852Hi,
Can you let me know, where do you notice that error?
Where it pops up?Best regards,
BasilisNovember 7, 2017 at 7:01 pm #873853November 10, 2017 at 4:58 am #874957Hi,
The site is trying to get the theme resources from invalid urls.
Example:
https://www.mybirmans.itjs/avia_advanced_form_elements.js?ver=4.6
https: (Email address hidden if logged out) net::ERR_NAME_NOT_RESOLVEDThe correct url should be.
https://www.mybirmans.it/wp-content/themes/enfold/js/avia_advanced_form_elements.js?ver=4.6
Did you add something on the .htaccess file?
Best regards,
IsmaelNovember 20, 2017 at 9:43 am #878999Yes It was my error in htaccess
redirect 301 /wp-content/themes/enfold/framework/ https://www.mybirmans.it
November 20, 2017 at 2:23 pm #879126Hi,
Thanks for the feedback, so I’m guessing you solved the problem then?
Best regards,
RikardNovember 20, 2017 at 2:29 pm #879128Yes!
November 21, 2017 at 5:11 am #879480 -
AuthorPosts
- The topic ‘Avia child setup with JS error ?’ is closed to new replies.