[closed] How to use Plugin API/Action Reference/wp enqueue scripts (2 posts)

  1. KeonD
    Posted 2 years ago #

    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' );

  2. WPyogi
    Forum Moderator
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.