Want to open Shadowbox gallery directly through Wordpress Navigation Menu

Posted by Kevin A. on Stack Overflow See other posts from Stack Overflow or by Kevin A.
Published on 2012-04-11T21:01:54Z Indexed on 2012/06/28 21:16 UTC
Read the original article Hit count: 172

Filed under:
|
|
|

I want to be able to open my shadowbox gallery in wordpress by directly clicking the portfolio link in the navbar. Right now it either opens the portfolio page I made with the gallery in it or opens images separately (without shadowbox), this was because I tried adding html to the Nav Label in the wordpress dashboard. Basically want to be able to add this html to the link in the menu dashboard while having the one PORTFOLIO link:

<a href="/portfolio_images/fashion/01.jpg" rel="shadowbox[fashion]">
<a href="/portfolio_images/fashion/02.jpg" rel="shadowbox[fashion]"> 
<a href="/portfolio_images/fashion/03.jpg" rel="shadowbox[fashion]">

Thanks

Main page with nav links

© Stack Overflow or respective owner

Related posts about php

Related posts about html