Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #772750

    When renaming the function.php child theme file the issue disappear, so there seem to be some lines in there causing the masonry images an number animation to stop working, it just shows a blank space when the function.php file is used

    • This topic was modified 7 years, 7 months ago by yingyang.
    #772754

    after isolating each section in the function.php file, it turns out this section is causing it, any idea why?

    /*
    *WordPress Optimization | Remove Query strings from Static Resources
    *http://diywpblog.com/wordpress-optimization-remove-query-strings-from-static-resources/
    
    function _remove_script_version( $src ){
    	$parts = explode( '?ver', $src );
            return $parts[0];
    }
    add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );
    add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );
    */
    #774921

    Hi kilimats,

    Here is a different way to do it.
    https://www.codementor.io/tips/8369241717/remove-version-number-from-css-js-in-wordpress-theme

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.