Shortcode Error

Closed
CityTours - Hotel & Tour Booking WordPress Theme CityTours - Hotel & Tour Booking WordPress Theme March 20, 2019
Login to reply
Kelly R Support Agent
5 years ago
Resolved.
Kelly R Support Agent
5 years ago

Hi,

Then please use latest version of citytours theme.

Regards, C-Themes

Kirsten Gottwald
5 years ago

Hi Kelly,

Thanks for your reply.  I got as far as:

/wp-content/plugins/ct-booking/

Beyond that, there is no /lib/shortcodes/  or shortcodes.php file.

How can I find it?

Thank you again! Please see attached screenshot for reference.

Kelly R Support Agent
5 years ago

Hi,

Please find following code in /wp-content/plugins/ct-booking/lib/shortcodes/shortcodes.php file.

$output .= '<h3><strong>' . get_the_title( $post_id ) . '</strong> ' . __( 'Tour', 'ct-booking' ) . '</h3>';

And change it to following.

$output .= '<h3><strong>' . get_the_title( $post_id ) . '</strong> </h3>';

Regards, C-Themes

Kirsten Gottwald
5 years ago

Hello,

I used a shortcode in CityTours to display certain tours on my home page.  However, the issue is that the wrong prices are appearing.  In addition, the word "tour" is appearing twice.

Could you please take a look at the attachment and this link and advise me how to fix?

www.prestotours.com

I'd really appreciate that!

Thank you!