Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter php_1ne

    (@php_1ne)

    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
    In reply to: plugin url
    Thread Starter php_1ne

    (@php_1ne)

    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)