Forums

[resolved] registering the files at plugin creation (3 posts)

  1. Rajesh Kumar
    Member
    Posted 1 year ago #

    hi i want to use the css and jquery in my plugin. how i can do this?.

    I register those files but i can't able to link with my plugin.

  2. s_ha_dum
    Member
    Posted 1 year ago #

    Registering a file doesn't load the file on the site. It just puts the file in a kind of 'holding tank' and makes it available with a convenient short name. To load the file you need to enqueue it-- see wp_engueue_script and wp_enqueue_style.

    However, I'm not sure what you mean by "...can't able to link with my plugin". That sounds like you are doing something other than loading styles and scripts.

  3. Rajesh Kumar
    Member
    Posted 1 year ago #

    Thanks for the reply i solved my issue

Topic Closed

This topic has been closed to new replies.

About this Topic