• There appears to be an error in the code.

    Line 536 of find-me-on.php contains:

    echo '<link type="text/css" rel="stylesheet" href="' . $findmeonplugindir . '/stylesheet.css" />' . "\n";

    But this doesn’t exist and trying to call it adds significant overhead to the page load.

    I have changed it to:

    echo '<link type="text/css" rel="stylesheet" href="' . $findmeonplugindir . '/css/style.css" />' . "\n";

    which gets rid of the problem. However, surely this should be using wp_enqueue_style? This would allow a number of efficiency gains to be made. The same is true of the JS.

    http://wordpress.org/extend/plugins/find-me-on/

Viewing 1 replies (of 1 total)
  • Thread Starter knightnet

    (@knightnet)

    In fact, looking more closely at the code, the whole thing is naff. Sorry, I know you’ve put a lot of effort in and it does look nice. But it is just to inefficient.

    Sad to say, I’m stripping it all out and putting in static links instead.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Find Me On] Code error: trying to load incorrect css?’ is closed to new replies.