OK, so I seem to have it working. This is what I did.
I went and looked for the jquery, which wasn’t in the functions.php. I found it in the library.php. I yanked it out and then checked the Page source and it was no longer using 1.7.2, and was now running 1.11.3 which I assume is the version that comes with WordPress.
After correcting that issue, I then checked the image….still did not work. So I looked at it with inspect element and seen that that the data-rel was using “lightbox-0” even though I had it as “lightbox”. So I edited it in inspect element back to “lightbox” like I have it on the page and it worked perfectly.
But once I refreshed, it went back to “lightbox-0”. So I went into the RL setting, changed the “Selector” from “lightbox” to “rl-lightbox” and updated the data-rel on the page and it worked, though it was now showing like this: data-rel=”rl-lightbox-0″. It was working though. So I looked at another one of my pages and I wasn’t even using rel or data-rel. I had it like this: lightbox=”great_self_exile” which was the name of the page and it is working just fine. So I added lightbox=”a_sinister_nature” and removed the data-rel and its working fine.
This is what my HTML looks like:
<div class="short-poster"><a href="https://motivedirect.net/images/posters/a_sinister_nature_poster.jpg" lightbox="a_sinister_nature"><img title="click to enlarge" src="https://motivedirect.net/images/posters/a_sinister_nature_poster.jpg" alt="click to enlarge" /></a></div>
Though it looks like this when you inspect element:
<a href="https://motivedirect.net/images/posters/a_sinister_nature_poster.jpg" lightbox="a_sinister_nature" data-rel="rl-lightbox-0" title=""><img title="click to enlarge" src="https://motivedirect.net/images/posters/a_sinister_nature_poster.jpg" alt="click to enlarge"></a>
I don’t know….its working just fine now…..I am sure I am still doing it wrong….but it is working.