Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1205254
    Leah J
    Participant

    I’m trying to use the lightbox selector shortcode to enable the lightbox feature on my WordPress created gallery. However, the lightbox is not working as it appears the shortcode for the lightbox is not rendering to HTML. See the following screenshots of my front facing page and the back end editor.

    I’m currently running X version 4.6.2 with no extra third party plugins.

    #1205505
    Rupok
    Member

    Hi there,

    Let’s try placing the shortcode within Visual mode. Let’s provide your URL if you still face the issue. It would be great if you could provide the login credentials as well in a private reply.

    Cheers!

    #1239361
    Leah J
    Participant
    This reply has been marked as private.
    #1239682
    Nabeel A
    Moderator

    Hi again,

    Thank you for providing the credentials. Can you please setup the Child Theme and add the following code in your Child Theme’s functions.php file:

    add_action('wp_footer', 'enqueue_lightbox_script');
    
    function enqueue_lightbox_script() {
      echo '
        <script type="text/javascript" src="' . home_url() . '/wp-content/plugins/cornerstone/assets/js/dist/site/vendor-ilightbox.min.js"></script>
      ';
    }

    If this doesn’t work then try re-installing the Cornerstone plugin. Let us know how this goes!

  • <script> jQuery(function($){ $("#no-reply-1205254 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>