Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I finally found exactly what i was looking for at Multiple level category drop-down

One problem - the example codes not working - and i realize its a year old so any ideas? I am currently playing with it at http://bmfx.net/carv1/ Shows the two drop down boxes, select the parent category and woops drop box number 2 gets replaced with a 0.

Any ideas on what could be causing this problem?

Thanks!

UPDATE: ANY IDEA ON MAKING IT Tri-Leveled...?

share|improve this question
I've gone back and installed wordpress 3.1. the current version at the time of the writing of the post and its still not working making me think i am neglecting some major part of the equation on my end. – Johnathon Mathews Dec 8 '12 at 14:35

1 Answer

You have a "JQuery not defined error".

ReferenceError: jQuery is not defined http://bmfx.net/carv1/wp-content/themes/twentyeleven/js/script.js Line 1

It looks like you are running your script.js before you include jQuery, which means you are probably not registering/enqueueing your scripts correctly.

http://codex.wordpress.org/Function_Reference/wp_register_script

http://codex.wordpress.org/Function_Reference/wp_enqueue_script

share|improve this answer
Yea, you caught me in the middle of playing with it... I finally figured it out and let me tell you i want to cry with how silly it was. Just needed to add <?php bloginfo('wpurl'); ?> to the url: under the jquery. – Johnathon Mathews Dec 8 '12 at 16:18

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.