• Ok, Im not really new but I cant find a simple solution or Im just missing something.

    I just uploaded a new 3.3.1 build. It has the new media upload to add photos into a post but it only links the images to the URL or the attachment page. I really don’t need a complex galley like Nextgen. All I want to do is us a Lightbox display with the default media images.

    Anyone have a link to something really simple? And if at all possible something that just works without adding short codes. Thanks….

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter scalemotorcars

    (@scalemotorcars)

    I guess I should add a link to the page Im working on.

    Here…

    There has never been a lightbox in WordPress core. You need to look for a lightbox plugin.

    Thread Starter scalemotorcars

    (@scalemotorcars)

    I tried a few but no luck getting any of them to work. Since there are so many is there just a no thrills version that just’s adds the lightbox to core code?

    WordPress does ship with jQuery thickbox but that’s terribly outdated now. If you want to use that you’d need to enqueue thickbox() in your theme’s functions.php file.

    Thread Starter scalemotorcars

    (@scalemotorcars)

    That sounds familiar. I think I did that a few years ago with another site. Ill check it out. Thanks…

    Thread Starter scalemotorcars

    (@scalemotorcars)

    Ok I just killed my site and had to give it CPR. Anyone know the right spinet of code for 3.3.1?

    Thanks…

    Oh and Where in Functions.pho exactly would it go?

    Try downloading the ZenLite theme and checking through its functions.php file. The exact position of the code in the functions.php file doesn’t really matter.

    Thread Starter scalemotorcars

    (@scalemotorcars)

    Here’s what looks like the code I need but its loaded with zenlite if statements. My theme uses $themename in place of actually calling the name as a prefix. I still am not clear on how to edit it to work with my theme.

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Assuming you have defined $themename in functions.php, just replace zenlite with $themename.

    Thread Starter scalemotorcars

    (@scalemotorcars)

    I think I found the issue of it not working. They theme is using Prettyphoto Gallery in the ref of some images. I guess I have some reading to do.

    Thread Starter scalemotorcars

    (@scalemotorcars)

    Ok, so new question. Can I add a rel= value to standard gallery thumbnails?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Dumb question. Where is the lightbox?’ is closed to new replies.