Highslide for Pinbin WordPress theme?

I love this theme – It’s almost perfect!

I’m trying to add highslide(.com) so that my posts are displayed in a lightbox instead of a separate page… and I can’t for the life of me make it work! I choose highslide because it seems to work well on all the devices.

I changed function pinbin_scripts() in functions.php to include this:

wp_enqueue_script( ‘highslide’, get_template_directory_uri() . ‘highslide/highslide-with-html.js’, array( ), ’20130605′, true );

wp_enqueue_script( ‘highslide-config’, get_template_directory_uri() . ‘highslide/highslide.config.js’, array( ), ’20130605′, true );

wp_enqueue_style( ‘highslide-style’, get_template_directory_uri() . ‘/inc/highslide/highslide.css’ );

and I changed one link as a test in index.php

I’m doing something wrong… but what! Do you have any ideas?

From your website I can see that wp_enqueue_script calls for the wrong patch to the Highslide. You can view your website source and click on the script to see that it is “Not found” which means the patch is incorrect. It depends on where your files are located inside structure.

Otherwise it looks ok for me.
Additionally you might want to look into prettyPhoto because it has a good documentation and online tutorials related to WordPress so it won’t be too hard to integrate it. It works on different devices as well.

I hope this helps.

Thank you! Prettyphoto it is – for some reason my brain just couldn’t handle wp_enqueue_script calls… but I found a plugin and all is well!

I really like this theme a lot – thanks again