My First WordPress theme 5th Time soft rejected for those issues.

  1. No placeholders: http://envato.d.pr/yqzqOg http://envato.d.pr/n2qUI2

  2. Don’t obscure code to do things you know aren’t allowed: http://envato.d.pr/TRxvww
    I used codestar framework and they give me several rejects for using call_user_func() this function.

  3. Still. Don’t combine libraries. This prevents deregistering and can cause double loading issues: http://envato.d.pr/CBVN6A

Please, expert author Help me to fix those issues.

Don’t use one JS with all libraries. Each JS file to be separated (stand alone), so you will have this in functions.php (for each JS) file:

 wp_enqueue_script('libary1', $base_theme_url . '/js/libary1.js', array('jquery'), false, true);
    wp_enqueue_script('libary2', $base_theme_url . '/js/libary2.js', array('jquery'), false, true);

You can have on your demo all in one JS file (it will load faster), but for the end user you must use separated files.

Don’t set the default post thumb if post has no feature image. So, if there is no image, you will have just white background - don’t use “default” image.

thanks A Lot, Bro. i got it.

But They send me screenshot of this file- cs-plugins.php

I don’t know where you are using that (in theme core or in plugin) but the point is the same - use multiple .js files for each libary.

For example, in our plugins I use:

    wp_enqueue_script('slick', plugins_url('js/slick.min.js', __FILE__), array('jquery'), '', true);
    wp_enqueue_script('jquery-easing', plugins_url('js/jquery.easing.1.3.js', __FILE__), array('jquery'), '', true);
    wp_enqueue_script('cocobasic-main-js', plugins_url('js/main.js', __FILE__), array('jquery'), '', true);

So, you need one .js file for “dreamerslab”, one for “interdependencies”, one for “bootstrap” and so for all .js files which you are using as 3rd part files.

Also, you will have one your (custom) .js file, let say “main.js” where you will call all functions which you need on “ready” or on “load” (like set up slider, set up testimonial slider, etc…)