I’ve been trying to integrate the Colorbox jQuery library into my theme, but can’t seem to get it to work at all. The Colorbox plugin for WordPress works swimmingly, but has a lot of functionality I don’t need, so I’m trying to do this manually and minimally.
The second half of my header.php’s <head>:
I checked the file paths and they seem to be fine.
The relevant img:
<a href="..." title="..." rel="colorbox"><img src="..." /></a>
I’m sorry I can’t link to a website as I’m working on the theme on my computer using MAMP.
I’ve tried disabling all other plugins and removing all other js scripts in the <head>, but to no avail. jQuery is working fine on the rest of the theme.
Thanks for reading and I’d appreciate any pointers you can give me.
- The topic ‘Unable to integrate Colorbox (jQuery library, not the WP plugin) into a theme’ is closed to new replies.