Tagged: cornerstone
-
AuthorPosts
-
April 30, 2016 at 12:22 am #906554
Hi there,
That’s just a sample why the content is randomly displaying shortcodes in the different part of the layout. Let’s say your shortcode break other shortcodes, hence, other shortcodes opening and closing don’t match no more and that’s what happens.
It’s not removed, there is no functionality like that even from the old version. It’s a link, the shortcode is not possible on links from the very start. What I’m not sure is how did you make it work, I have an older version too and it’s not really possible. Please don’t use the shortcode within the link, and what’s the purpose of the shortcode? Maybe I can think some work around, but I can’t guarantee.
Thanks!
May 2, 2016 at 9:00 am #909103Based on the query at the end of the link, the page that is being linked to will display different information…which is why the shortcode pulls in that query once a user is logged in. Let me know if you can think of a work around. Thank you!
May 3, 2016 at 3:25 am #910366Hey Jason,
Sorry for the confusion here. Though your setup worked before, we do not support it since then as Cornerstone’s element attributes are essentially shortcode attributes so you should not insert a shortcode within a shortcode attribute. The reason why it worked is because the WordPress Shortcode API is not strict before. WordPress has made changes to its Shortcode API so your setup might have been affected. This is not Cornerstone’s restriction.
What you want to achieve is technically possible. Regretfully however, that would require custom development which falls outside the scope of our support. Basically, you will want to create your own Cornerstone element so you could integrate your third party code. See https://community.theme.co/kb/cornerstone-custom-elements/ for guidance. If you’re not comfortable working with code, you might want to hire a web developer to build one for you.
Thank you for understanding.
-
AuthorPosts