Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1238233

    santosfel5
    Participant

    I’m having issues placing a nextgen gallery album shortcode in Cornerstone. The shortcode I copied from a page without Cornerstone that I added via the module above the text editor.

    The same Nextgen Gallery module is not visible in Cornerstone’s text object. How can I add a Nextgen shortcode in Cornerstone?

    The page that I’m trying to add the shortcode to: http://feliciasantos.com/solbean/index.php/our-community/ Instead of seeing the albums in masonry I see “ngg_shortcode_0_placeholder”

    #1238236

    santosfel5
    Participant
    This reply has been marked as private.
    #1238239

    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1238268

    santosfel5
    Participant

    Hi Prasanti,

    I’m assuming this is an automatic reply. I already posted my information in the private post above.

    #1238790

    Lely
    Moderator

    Hi There,

    I tried it on a test page just to check and it it working there. Upon checking, I got the following error:

    Uncaught SyntaxError: Unexpected token ?
    Uncaught TypeError: Cannot read property 'register_child' of undefined(…)
    /solbean/wp-includes/js/wp-lists.min.js?ver=4.6.1:1 Uncaught ReferenceError: ajaxurl is not defined(…)
    builder.min.js?ver=1.3.3:4 a.fn.init[1]

    You have added the following code on your Customizer > JS:

    function x_add_button_scroll() { 
    ?>
    		<script type="text/javascript" charset="utf-8">
              jQuery(function($){
    			  $('.x-scroll-to-content-band-title').click(function(e){
    			    e.preventDefault();
    			    
    			    var hash = $(this).attr('href').split("#").slice(-1)[0];
    
    			    $('html,body').animate({
    			      scrollTop: $('#' + hash +' .h-custom-headline' ).offset().top - ( $('.x-navbar').height() + $('#' + hash +' .h-custom-headline' ).height() )
    			    },700 ,'swing');
    			  });
    			});
            </script>
    <?php 
    }
    
    add_action('wp_footer', 'x_add_button_scroll');

    Please remove that code and put it instead on your child theme functions.php file. That code is PHP code it will cost JS error on your site. I also notice that your X theme is not validated. Please validate it first.

    Hope this helps.

    #1260064

    okphotography
    Participant

    Hi I have this issue, the NextGen short code has been updated to [short code] from <Short-code>. I have got round it by making my post in Cornerstone and then adding the [nextgen short code] text in place of the [cs_text][/cs_text]

    But you need to come out of Cornerstone to do this.

    I can’t wait for the Xtheme to incorporate the NextGen short code into cornerstone

    http://www.blog.oliverkershawphotography.co.uk/engagement-photos-with-mary-anne-and-lee-at-old-john/

    I hope this helps

    #1260396

    Rad
    Moderator

    Hi there,

    It’s only possible with shortcode as of this moment. It can be added through text element or raw content element.

    And forwarded this as feature request.

    Thanks!