• i am using custom personalization option to add to my carousel.
    i select a image link to act as a thumbnail pic in my carousel.. and a image link in the link field so that this is the final content that is opened when clicking on the link.. but i want the link to open in a lightbox, not in the same window.

    or is there any way to add a rel=”lightbox” to the link somewhere in the codes??

    my site section is:
    https://www.instituto-gamma.com.ar/estudios/

    i need this working or else im going to have to scrap and search for a different plugin because the client really wants the site to function that way.. with the lightbox..

Viewing 4 replies - 1 through 4 (of 4 total)
  • Just modify your WP Carousel theme and add the code needed by lightbox.

    Depending on the theme, the line to change will be different. If you upload your theme I can locate the line.

    PS: Please, manacing about using a different plugin is very annoying. Use the plugin you want. I try to solve all the questions, no matter you use WP Carousel after my response or not. If you want, use another plugin, but do not ask for support menacing with using a different plugin.

    Thread Starter ideconsultora

    (@ideconsultora)

    ok ill give it a try. and the theme i use is the default with the kubrick color option. but i ended up editing css to not show the background. thats all.

    i think you miss understood what i ment by having to use another plugin.
    i just been searching for ever and wp carousel seemed to be the best option for me. but if i had to search again for another option just in case this isnt posible, then it would have been a lot of pain for me. just a harmless self complain. i can def. see how it can be annoying though, specially for the developers. so sorry.

    i appretiate your work. so thanks!

    I assume you are using the jCarousel version (StepCarousel is not supported since version 1.1 due to license conflict).

    Open wp-carousel/themes/default/theme-jcarousel.php. On line 150 you’ll find:

    <a href="<?php echo $item['LINK_URL']; ?>" title="<?php echo $item['TITLE']; ?>">

    Just add rel="lightbox", if your lightbox is activated in that way:

    <a href="<?php echo $item['LINK_URL']; ?>" title="<?php echo $item['TITLE']; ?>" rel="lightbox">

    On line 161 you’ll find the same code. Make the same modification.

    And with that modification the lightbox should word. Remember, it depends on the lightbox. There are some lightbox scripts that are activated in a different way.

    Thread Starter ideconsultora

    (@ideconsultora)

    worked to perfection. i thank you for the very fast response.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘is lightbox and wp carousel compatible?’ is closed to new replies.