Support » Fixing WordPress » How to use Plugin API/Action Reference/wp enqueue scripts

  • I have this code and I really don’t know what it does, where to put it or if it will get rid of my problem. Will this code help the apostrophe in my site’s name stop turning into & #038;. Here is the code by the way: function themeslug_enqueue_style() { wp_enqueue_style( ‘core’, ‘style.css’, false ); } function themeslug_enqueue_script() { wp_enqueue_script( ‘my-js’, ‘filename.js’, false ); } add_action( ‘wp_enqueue_scripts’, ‘themeslug_enqueue_style’ ); add_action( ‘wp_enqueue_scripts’, ‘themeslug_enqueue_script’ );

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to use Plugin API/Action Reference/wp enqueue scripts’ is closed to new replies.