Title: php_1ne's Replies | WordPress.org

---

# php_1ne

  [  ](https://wordpress.org/support/users/php_1ne/)

 *   [Profile](https://wordpress.org/support/users/php_1ne/)
 *   [Topics Started](https://wordpress.org/support/users/php_1ne/topics/)
 *   [Replies Created](https://wordpress.org/support/users/php_1ne/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/php_1ne/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/php_1ne/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/php_1ne/engagements/)
 *   [Favorites](https://wordpress.org/support/users/php_1ne/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [where to use wp-enqueue in plugin?](https://wordpress.org/support/topic/where-to-use-wp-enqueue-in-plugin/)
 *  Thread Starter [php_1ne](https://wordpress.org/support/users/php_1ne/)
 * (@php_1ne)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/where-to-use-wp-enqueue-in-plugin/#post-5182631)
 * You do you mean by main PHP file?
    I’ve put these codes inside my plugin main
   PHP file, it works fine in wordpress admin page, I mean it loads my js file, 
   but not in my desired page which is like this: `www.mysite.com/?forum=test` Should
   I do something additional? I’m sure that main PHP file loads in my desired page,
   but the function doesn’t work as I wish. Any help will be appreciated
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [plugin url](https://wordpress.org/support/topic/plugin-url-1/)
 *  Thread Starter [php_1ne](https://wordpress.org/support/users/php_1ne/)
 * (@php_1ne)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/plugin-url-1/#post-5050581)
 * I’m trying to load a custom javascript file into my plugin page which is located
   in wordpress setting section as sub menu, I’ve used wp_enqueue_script for this,
   but is doesn’t load any script, plus that I need to use jquery within this page
   as well.
    Could anyone give me help how to do this and where to put wp_enqueue_script?

Viewing 2 replies - 1 through 2 (of 2 total)