Insert a common single lightbox link for all uploaded images in bbpress.
I want to make all uploaded pictures open as …a class=”my-class” rel=”prettyPhoto” href=”pic_address”…
I found how to filter all the necessary pictures through css. It’s like this:
# bbpress-forums div.bbp-reply-content img, # bbpress-forums div.bbp-topic-content img
Question. What to add to the css or functions so that the picture gets a link like rel = “prettyPhoto”. Once I met a solution specifically for WordPress, but now I can’t remember…
That can I do for this (through a css, filter or declarations provided by the loader for the class?)
Thanks for a possible answer.
- You must be logged in to reply to this topic.