Posts by agusmu

223 posts
  • Affiliate Level 1
  • Collector Level 3
  • 6 Years of Membership
  • Exclusive Author
agusmu
says
223 posts
  • Affiliate Level 1
  • Collector Level 3
  • 6 Years of Membership
  • Exclusive Author
agusmu
says

It should be fine if it is only small part of your end product…

223 posts
  • Affiliate Level 1
  • Collector Level 3
  • 6 Years of Membership
  • Exclusive Author
agusmu
says

You can try to contact support.

In few cases (that has been reported by other author in forum), it will be removed. But in most cases, they will not remove it… :(

223 posts
  • Affiliate Level 1
  • Collector Level 3
  • 6 Years of Membership
  • Exclusive Author
agusmu
says

It is still a recommendation, but highly recommended, or equal to 60% strict requirement… :D

you can read it from Stephen’s comment here, http://themeforest.net/forums/thread/now-we-cant-use-cdn-for-our-theme-assets/166972?page=4&message_id=1231257#1231257
223 posts
  • Affiliate Level 1
  • Collector Level 3
  • 6 Years of Membership
  • Exclusive Author
agusmu
says
223 posts
  • Affiliate Level 1
  • Collector Level 3
  • 6 Years of Membership
  • Exclusive Author
agusmu
says
223 posts
  • Affiliate Level 1
  • Collector Level 3
  • 6 Years of Membership
  • Exclusive Author
agusmu
says

@agusmu, zero change in changing to the code to match your suggestion. Still the exact same amount of issues. I would love to know what it is about the enqueue function that just breaks javascript.

Then, it could be another issue. If you can put this live, so we can see it directly, probably we can help you.

223 posts
  • Affiliate Level 1
  • Collector Level 3
  • 6 Years of Membership
  • Exclusive Author
agusmu
says

It is because you use wp_enqueue_script in a wrong way. If you prefer to register it first using wp_register_script, then you can call it with simple wp_enqueue_script.

Example based on your current code:
function bliss_jsscripts(){
    /* register supersized script */
    wp_register_script('supersized', get_template_directory_uri() . '/js/supersized.3.2.6.js',array('jquery'), false, false);

    if( !is_admin()){
        /* enqueue supersized script on frontend only*/
        wp_enqueue_script('supersized');
    }
}
add_action('wp_enqueue_scripts', 'bliss_jsscripts', 999);
223 posts
  • Affiliate Level 1
  • Collector Level 3
  • 6 Years of Membership
  • Exclusive Author
agusmu
says
223 posts
  • Affiliate Level 1
  • Collector Level 3
  • 6 Years of Membership
  • Exclusive Author
agusmu
says

Pagination works, but as I said in the last reply, goes to a 404…

where do you put this code? what file?

by
by
by
by
by
by