Unable to add shortcode to pages or posts?

How add a [shortcode] to a Text Element or the Raw Content Element as was propoise elsewhere?
Simple entering:
[shortcode] does not work. It just shows up as text.

Neither does:

<?php echo do_shortcode("[Shortcode]"); ?>

The shortcode is required by the Booking plugin, previously recommended.
Please suggest a solution.
https://encantovacationsllc.com/encanto-living-bookings/e703-encanto-living-puerto-penasco-vacation-rental/
Thankyou.

Hi Loren,

I see that MotoPress is active on the site so the shortcode should work. I think this is just a case of a typo error (which anyone can commit, by the way).

I visited the page and saw the shortcode displaying. This is the code:

[mphb_availability_calander id="1225" monthstoshow="3"]

It looks like an a was added after the l in calandar. I think you meant it to say calendar with an e.

So please update the shortcode to this: [mphb_availability_calender id="1225" monthstoshow="3"]. Unless the Motopress documentation (https://motopress.com/files/motopress-hotel-booking-plugin-documentation.pdf) has mistakes, this should work.

If the issue persists, please do the following tests:

  1. Enter this X shortcode [button type="real" shape="square" size="mini" href="#example" title="Example"]Square Button[/button] to the raw content element. This is to test whether there’s a bug in our theme or a conflict in your install of it.

  2. If that works, then the next test is to check whether there’s an issue with the Motopress install. To do that, please visit the documentation I attached earlier and try other shortcodes (e.g. [mphb_search_results]) if any of them works. If none of them works, then you should contact Motopress for assistance.

Hope this helps.

Please disregard my request. The problem is on my end, having mistyped the short codes.

Awesome! Good catch. We’re here if you need us.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.