I read before I can use wp_localize_script to replace a string in a file (adding path to admin-ajax). what if I want to do something similar, but to the template directory for CSS?

PIE will get the URL relative to the document not CSS

  • 1
    Not sure if I understand your question correctly, but why would you want to localize your css files? Mar 25, 2011 at 16:17

1 Answer 1


I assume you're trying to integrate CSS3PIE (PIE.htc) into your theme. Here's one solution:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.