Shortcode not working

Already searched forum but didn’t find similar problem.

Using cornerstone for a page. Inserted some shortcode, but not working.

Shortcode in question, used in 2-column layout.

[x_alert heading=”Register Deadlines” type=”warning”] some text [/x_alert]

And it shows up as code. No open tags on page, shortcode or otherwise.

Hi @Plix,

Thanks for writing in.

Please insert the texts and shortcode in raw html element instead of text element.

Let us know how it goes. Please also update your setup to the lateset version so that there will be no conflict.

Thanks. :slight_smile:

Updated X theme. Inside Cornerstone for the page.

Layout Tab > Section 1 > Row 1 (with 1/2 half col option selected)

Then I go to Elements tab. I search for ‘raw’ and I see a Raw Content option.

Is this what I should use? I tried it and it did not work. You can refresh to view my test of the Raw Element.

I’m having the same issue. Dropped the shortcode in the Raw Content element and its just spinning. It won’t let me SAVE either while its spinning.

I am able to save the changes in cornerstone, but still shows as raw code on the front-end.

I quit out of Cornerstone and relogged in and it worked. If you’re using Raw Content and your shortcode looks something like this [contact-form-7 id=“100” title=“Contact form 1”] then I’m not sure why its showing you raw code. Check your form configurations again or I’m sure the Tech Staff will chime in shortly. Good luck!

@Plix

It looks like you are using wrong quotes in your code.

[x_alert heading=”Register Deadlines” type=”warning”] some text [/x_alert]

Try to copy and paste the code below into your text or raw element.

[x_alert heading="Register Deadlines" type="warning"] some text [/x_alert]

You can see the difference with quotes.

@md_mitchell

Thanks for helping out.

Thanks but still not working.

I’m copy/pasting shortcodes from here.
http://demo.theme.co/integrity-1/shortcodes/alert/

Also tried deactivating my iThemes security plugin but that didn’t work either. Also tried deactivating other plugins, but that also didn’t work. I have very few plugins and it is very simple site overall as you can see.

Hi there,

Would you please kindly get back to us with the URL/User/Pass of your Wordpress installation using the Secure Note functionality of the post to follow up the case and see if we can be of a help regarding this?

Thank you.

Thanks. I have added info to secret message at top of this thread.

Hello There,

We have logged in and regretfully we cannot do anything. The given credentials has a very limited privilege. We cannot even edit the page. Please make it as an administrator so that we can check every inch of your site and settings.

By the way, I noticed that you have incorrectly setup X theme. The correct placement should be in wp-content/themes/x/ and not as wp-content/themes/x/x/

Please let us know how it goes.

My bad. Try again now. Should have full admin privledges. Thank you.

That solved the problem with the shortcode. I have no idea how the /x/x/ thing happened as I’ve never had that happen before with Wordpress. Thanks!

You’re welcome! :slight_smile: