Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am trying to create an HTML map with qTip2 in my WordPress page, but can't get it work- so I'd really appreciate your help.

My aim is to have something very similar to this StackOverflow thread. but in my WordPress custom page.

I have added the same HTML and CSS as in the example (as a test) and placed the jQuery in a separate file called qtipcall.js, I have then followed a tutorial How to implement the qTip to WordPress.

I have followed it step by step, did everything few times and it doesn't work!

As it says in the guide I have inserted, this, just above the wp_head():

wp_enqueue_script('qtip', 'your/path/to/jquery.qtip.min.js', array('jquery'), false, true);
wp_enqueue_script('qtipCall', 'your/path/to/qtipcall.js', array('jquery', 'qtip'), false, true);

I then updated the paths to match my site, like this:

wp_enqueue_script('qtip', get_template_directory_uri() . '/js/jquery.qtip.min.js', array('jquery'), false, true);
wp_enqueue_script('qtipCall', get_template_directory_uri() . '/js/qtipcall.js', array('jquery', 'qtip'), false, true);

But the files seem not to be loading up with the site. I have checked the page source and the call for the two js files (jquery.qtip.min.js and qtipcall.js) aren't in the code.

This is my site.

Would appreciate any suggestions and tips on what I am doing wrong and how to fix this.

share|improve this question
    
What is qTip? –  kaiser Sep 9 '13 at 16:23
    
qtip2.com –  user1588549 Sep 9 '13 at 16:45
    
Please don't add comments. Edit your question and add the link yourself. Thanks. –  kaiser Sep 9 '13 at 16:50
    
Sorry, I can't, I need 10 reputation to add more than two links to my post. –  user1588549 Sep 9 '13 at 16:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.