• Resolved charli_polo

    (@charli_polo)


    my theme closes the head with
    </head><!-- End <head> -->

    And it seems your plugin relies on a regex to insert the CSS, as a result, it is inserted twice:
    First inside the head, and then outside the head:

    </head><!-- End <head>
    <!-- This site uses WordPress Twitter Bootstrap CSS plugin v2.3.1-1 from Worpit http://icwp.io/w/ -->
    <link rel="stylesheet" type="text/css" href="http://www.votrepiscine.fr/wp-content/plugins/wordpress-bootstrap-css/resources/bootstrap-2.3.1/css/bootstrap.css" />
    <!-- / WordPress Twitter Bootstrap CSS Plugin from Worpit. --> -->

    As a result, I have a string: “–>” inserted at the beginning of my body.

    Seems like a great plugin otherwise, so keep up with the good work !

    http://wordpress.org/extend/plugins/wordpress-bootstrap-css/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Paul

    (@paultgoodchild)

    Ahh, no problem.

    I’ll fix this in the next release (tomorrow perhaps) and make sure the replacement is limited to a maximum of 1 time.

    Cheers,
    Paul.

    Plugin Author Paul

    (@paultgoodchild)

    Hey,

    I’ve done some major code reworking and this is now restricted to 1 replacement in the HEAD.

    There some major reworking in there, and while I’ve tested it, if would you like to download the code pre-release and install it on your site to see that this works, that’s be a great help?

    You can get the latest version here: http://downloads.wordpress.org/plugin/wordpress-bootstrap-css.zip

    If you can’t, no problem, but it would really help to have a little testing before release if possible. Let me know…

    Ta
    Paul

    Thread Starter charli_polo

    (@charli_polo)

    Hi Paul,

    I’ll test this asap and let you know !

    Thread Starter charli_polo

    (@charli_polo)

    Seems fine to me 🙂

    Plugin Author Paul

    (@paultgoodchild)

    awesome! thanks for testing 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘CSS added outside the head’ is closed to new replies.