Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.


wp_register_script( 'en-us', get_template_directory_uri() .'/js/en-us.js');
wp_enqueue_script( 'en-us');


<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>

<script type="text/javascript">
      $(function() {

.p{color:#fff; text-align: justify;}

This only works for Firefox, but not for IE and Chrome. The strange is that when i create simple index.html works. What i am doing wrong?

Thanks in advanced.

share|improve this question
What are the console errors? –  s_ha_dum Aug 31 '13 at 15:37
i didn't have any console errors. –  MikeD Sep 1 '13 at 2:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.