- This topic has 3 replies, 2 voices, and was last updated 12 years, 8 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Filterable Jquery Plugin not being properly called.
I am creating a portfolio site for school and so far the plugin is working great, but I am having issues trying to get a filterable categorization to work: using this tutorial:
http://net.tutsplus.com/tutorials/javascript-ajax/creating-a-filterable-portfolio-with-jquery/
Here is what I have:
-using wp 3.3.1
-WP Lightbox v1.5.9
http://toddhartsfield.com/blog/works-2/
When I looked at the source, I noticed the framework.js script and filterable.css – the files needed to run the filter function – are outside of the Lightbox Ultimate plugin code. I tried to enter the code before <?php wp_head();?>, but it ends up being called too soon (before the jquery library is called). I tried to call it in the footer.php,and nothing.
Is there a way to add the framework.js call were the light-boxes are called in the header, as well as the css (filterable.css)? If the order is right I think the filterable would work on the demo page.
Run this senerio on the page given:
If you click on the Audio link, two of the images should appear. Instead it just page-ups to the top of the page and still shows all the content.
Can you help? Or better yet is there another filterable solution to use with this plugin? I am sure I am not the only one trying to do this.
Thank You in advance.
-Todd
Hi, this post might help you with that – http://wp.tutsplus.com/articles/how-to-include-javascript-and-css-in-your-wordpress-themes-and-plugins/
Thank you, after staring at the codex and messing around with the order of the filter library I got it to work. Thank you.
You’re welcome