Home Forums WoodMart support forum issue with the child theme

issue with the child theme

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #231491

    ameenov
    Participant

    I noticed that i can not edit using WPBakery And also i can not edit or add images to the products.

    while i can do everything while posing new post or page.

    i switched from child theme to main theme, everything worked fine.

    i do want to lose my design customization in the child theme and i want to fix this issue.

    how can i do that?

    #231492

    ameenov
    Participant

    i clicked on customize theme but i do not get any options to do so

    Attachments:
    You must be logged in to view attached files.
    #231594

    ameenov
    Participant

    i was able to fix the issue

    i saw in the functions.php in child theme

    function defer_parsing_of_js ( $url ) {
    if ( FALSE === strpos( $url, ‘.js’ ) ) return $url;
    if ( strpos( $url, ‘jquery.js’ ) ) return $url;
    return “$url’ defer “;
    }
    add_filter( ‘clean_url’, ‘defer_parsing_of_js’, 11, 1 );

    i just removed these lines.

    any way is there any way to

    defer parsing javascript

    ?

    #231652

    Artem Temos
    Keymaster

    Hello,

    This code is not related to our theme. If you need to defer your JS files you should look for some stable plugin like WP Rocket that we used on our demo.

    Kind Regards

Viewing 4 posts - 1 through 4 (of 4 total)