How to keep some comments for css?

Jack's Avatar

Jack

02 Jun, 2010 12:47 AM

I want to use less to write wordpress theme, and wordpress using css comments for theme's metadata, but less treat it as less's comment and trip it off. How can I keep that comment into the output?

  1. 1 Posted by Eric on 04 Jul, 2010 05:08 PM

    Eric's Avatar

    Hi Jack,

    Looks like this will be fixed in version 2:
    https://less.tenderapp.com/discussions/problems/10-compiling-remove...

    In the mean time, you can just use style.css for the theme headers only, and modify your header.php to reference a separate file (mystyle.css) which you generate from LESS.

  2. 2 Posted by Slepfoegepe on 27 Aug, 2012 10:45 PM

    Slepfoegepe's Avatar

    What if there was a way to get thousands of visitors/day to your less.tenderapp.com website and make $144,000 in one month
    with:

    • No prior experience
    • No SEO or tech experience
    • No selling or cold calling
    • No substantial investments in advertising or marketing

    Sounds crazy, but it's true, and here's proof:

    http://mass-fb-traffic.com

    I don't know how long this system is going to be up, but you
    owe it to yourself to check it out...

    http://mass-fb-traffic.com

    It will just take a minute, and it could change your life
    for the better!

    http://mass-fb-traffic.com

    Best Regards,
    Brad

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac