Tagged: cornerstone
-
AuthorPosts
-
October 31, 2016 at 1:21 pm #1238233
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”
October 31, 2016 at 1:27 pm #1238236This reply has been marked as private.October 31, 2016 at 1:29 pm #1238239Hello 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 credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
October 31, 2016 at 2:02 pm #1238268Hi Prasanti,
I’m assuming this is an automatic reply. I already posted my information in the private post above.
November 1, 2016 at 2:16 am #1238790Hi 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.
November 16, 2016 at 4:58 pm #1260064Hi 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
November 16, 2016 at 7:46 pm #1260396Hi 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!
-
AuthorPosts