WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. KeonD
    Member
    Posted 8 months 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
    Volunteer Moderator
    Posted 8 months ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.