If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
July 25, 2011 at 6:20 am #5153July 25, 2011 at 9:04 am #49035
It’s possible to add an youtube or vimeo video to the menu. Go to Appearance > Menus and create a custom link. Add your youtube url in the url field and name the menu item. Then click on “Add to menu”.
Now the item appears on the right side – click on the item to open up the link options/properties. In the “Link Relationship (XFN)” field type in “lightbox” or “prettyPhoto”. If you can’t see a “Link Relationship (XFN)” field click on “Screen Options” button at the right top and chech the “Link Relationship (XFN)” checkbox under “Show advanced menu properties”.
It’s not possible to add videos to the slider though.July 25, 2011 at 1:35 pm #49036
Thanks for the quick reply.
I did just what you suggested and viola. It works perfectly.
Is there at all a way to open a registration page in a lightbox or a new window? Right now, I have users register by linking them to another page. I know there’s “lightbox” and “prettyPhoto” but those are designed to open videos and photos only..
MarkJuly 26, 2011 at 6:45 am #49037
You can use iframes with prettyphoto. More about the syntax can be found here: http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/
The topic ‘How to properly open video in lightbox from a dropdown menu’ is closed to new replies.