Support » Plugin: Theme My Login » Theme My Login and Minify – css and js loaded twice

  • Hi folks,

    When using a minification plugin such as Better WordPress Minify, I notice all the header and footer gets loaded twice. Looking at the source, the css and js is listed twice.

    This only happens on the TML pages. I’m not sure if this is due to the theme I’m using (CoWorker), Better WordPress Minify or TML.

    I’m currently using Plugin Organizer to turn minification off for TML pages to prevent the problems.

    http://wordpress.org/plugins/theme-my-login/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hey iltdevunit,

    Can you provide a link to your site?

    Thread Starter iltdevunit

    (@iltdevunit)

    Hi Allen,

    Unfortunately I can’t – I’m working on a company internal server during the development.

    Hey iltdevunit,

    It would be hard to see exactly what is happening without seeing what is happening with the code. This theme is also a premium theme, so that makes it even harder.

    Can you paste the code you are seeing on the live site from <head> to </head> so we can see the outcome?

    Also, check your them in the <head> to see if
    <?php wp_head(); ?>
    is listed more than once.

    Thread Starter iltdevunit

    (@iltdevunit)

    Hi,

    I’ve looked in the header and wp_head() is only included once. But the JS in the footer is also being inserted twice too.
    I’ve tried without the childtheme but that didn’t make any difference. I’ll try switch to the default theme and see what happens.

    Here is the output html head:
    http://pastebin.com/ERHuBVtM

    Thread Starter iltdevunit

    (@iltdevunit)

    The same thing happens with the twenty twelve theme.

    Hey iltdevunit,

    I’ll try these two plugins out in my local dev environment and see what the outcome is. I’ll post back.

    Thread Starter iltdevunit

    (@iltdevunit)

    Excellent. Thanks for taking the time to look into this. Much appreciated 🙂

    Hey iltdevunit,

    I was able to reproduce your error partially. Javascript links were being reproduced only on the wp-login.php page. I did not see any CSS replication. This issue was not occurring on other pages.

    Here was my process:

    • Activated the “Theme My Login” plugin
    • Logged out and checked source of wp-login.php. No replication was found.
    • Logged back in.
    • Activated “Better WordPress Minify.
    • Logged out and checked source of wp-login.php. Replication of JS was found
    • Logged back in. Deactivated “Better WordPress Minify”
    • Logged out again and checked source of wp-login.php. No replication was found

    So this seems to be an issue with Better WordPress Minify.

    The developer of this plugin seems to be pretty good about responding to posts on http://wordpress.org/support/plugin/bwp-minify. I would post there. I would also reference this post so that the developer can see the progress so far.

    Thread Starter iltdevunit

    (@iltdevunit)

    Hi Allen,

    That’s great. At least I know its not something I’ve done wrong.
    I’ll head over to the BWP-Minify forum.

    Thanks again
    Chris

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Theme My Login and Minify – css and js loaded twice’ is closed to new replies.