Subscribe via
Welcome, Guest. Please login or register.
Did you miss your activation email?
 OMNINOGGIN ForumPlugin SupportWP MinifyWP Minify is put straight after <head>
Pages: [1]
Print
Author Topic: WP Minify is put straight after <head>  (Read 686 times)
daveredfern
Newbie
*
Posts: 3


View Profile WWW Email
« on: March 10, 2010, 04:16:42 AM »

Hello,

I have about a dozen jquery js files and wp-minify is doing a great job of compressing them but i am using the jquery google api aswell.

It seems wp minify is putting the css and js after <head> rather than in wp_head(); which means the jquery library is loaded after the plugins causing the js not to work.

How do i tell it where to put the compressed js?

Thanks
Dave,
Logged

Thaya
Administrator
Sr. Member
*****
Posts: 400



View Profile WWW Email
« Reply #1 on: March 10, 2010, 02:08:40 PM »

 I think I have a good solution for this in mind.

I'm thinking of letting users specify wherever they want the JS or CSS calls to be placed via some sort of special tags. For example:

<!-- WP-Minify JavaScript -->
<!-- WP-Minify CSS -->

It'll be release in the coming versions.
Logged

daveredfern
Newbie
*
Posts: 3


View Profile WWW Email
« Reply #2 on: March 10, 2010, 02:13:27 PM »

That sounds like a brilliant idea! I thought i might have been missing something.

Look forward to future versions!

Dave
Logged

Thaya
Administrator
Sr. Member
*****
Posts: 400



View Profile WWW Email
« Reply #3 on: April 26, 2010, 11:51:18 PM »

This feature was released with 0.8.0 with special tags:
Code: [Select]
<!-- WP-Minify JS -->
<!-- WP-Minify CSS -->
Logged

daveredfern
Newbie
*
Posts: 3


View Profile WWW Email
« Reply #4 on: May 07, 2010, 01:03:41 AM »

Thanks very much :) This is a great feature
Logged

Pages: [1]
Print
Jump to: