WordPress.org

Ready to get started?Download WordPress

Forums

WP Minify
[resolved] doesn't minify javascript files (2 posts)

  1. Riccardo Caroli
    Member
    Posted 3 years ago #

    Version 1.0.4
    it works good with css but it doesn't minify the javascript in the footer, or also if i put them in the head.
    And also if i put the file's path on the JavaScript files to include into minify.
    Someone else have this problem?

  2. Riccardo Caroli
    Member
    Posted 3 years ago #

    i've found the error: the script tag need to have type="text/javascript" like this

    <script type="text/javascript" src="my.js"></script>

    if you only put

    <script src="my.js"></script>

    it doesnt minify!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags