• hi there.
    I’m developing a wordpress plugin, for my plugin links I want to hide the “wp-content/plugins” part inside the url, I’m wondering how to do that?
    Actually I want the url to be like wordpress pages, not showing the retrieve directories.
    I’ll appreciate any help

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, you can use jquery code for your links:

    a id="my_link" href="#">My Link</a
    
    jQuery(document).ready(function($){
    $( '#my_link' ).click(function(){
    location.;
    
    return false;
    });
    });
    
    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?

    You need to use it in your functions.php file.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘plugin url’ is closed to new replies.