Hello!
I am a total noob at all the php en css stuff, but im trying. I downloaded the theme a few days ago and went tweaking.
Now I cant fix the following problem, and it drives me crazy…
So, when someone clicks a slide on the homepage gallery it doesnt direct to a post or page, but it opens a photograph. So far so good. But I also wanted the photograph to open in some kind of lightbox environment, so i inserted a shadowbox code in the loop-slider.php. So far so good. BUT when I go to the previous page (paged-2) in the gallery homepage, it neglects my shadowbox code and it just opens the image full-size in the browser.
I cant seem to put my finger on the piece of code in need of editing! Need advice, check my site here: http://www.tomdaams.com
hope someone can help me!!
Muchos thanks! 🙂
Tom
I did it!!! yay!
I had to add:
Shadowbox.init({ skipSetup: true }); Shadowbox.setup();
to the theme functions file, just underneath the line:
jQuery(‘#slider’).load(link+’ #ajax-content’,
function(){
-
This reply was modified 12 years, 10 months ago by Daniel Tara.