shortcodes.php selector with arrival and departure times

Closed
Travelo - Travel/Tour/Car Rental/Cruise Booking WordPress Theme Travelo - Travel/Tour/Car Rental/Cruise Booking WordPress Theme November 26, 2018
Login to reply
Kelly R Support Agent
5 years ago
Resolved.
Kelly R Support Agent
5 years ago

If you want to change shortcode in child theme, then please do following.

1. create shortcodes.php file in child theme

2. add following code in functions.php file in child theme

require_once( '/shortcodes.php' );

And then edit shortcodes.php file in child theme.

Regards, C-Themes

Christiane Weigel
5 years ago

Hi.
Honestly? Don´t you update your theme? What happens with my files if I copy something in the parent? Since now I thought, this theme is great, but I loose my believes.

Of course the searchform is built with your theme, I changed a few things in css and shortcode.php, but it´s your theme and your code.

Ok, you don´t want to or can´t help me with the code für the dropdown "time"? You didn´t say anything about my question.

regards Christiane

Kelly R Support Agent
5 years ago

Hi,

Yon can put only templates or css/javascript files in child theme.

You should change shortcode.php file in parent theme.

And the search form in http://contacto-divi.cwdevserver.de/mietwagen/ was not made by our theme.

I think customer changed our theme.

Regards, C-Themes


Christiane Weigel
5 years ago

By the way... if I paste the shortcode.php in my child-template nothing happens. I have to override the original file, can´t be the idea.
I tried to build the hierachy with /inc/functions/shortcode/shortcode.php and I also tried to paste it in the child root. Both is not working. The child is ok, cause the style.css and functions.php works perfectly.

Regards Christiane

Christiane Weigel
5 years ago

Hi Kelly, thanx for your quick reply. I send you some code and the url to understand what I mean.

http://contacto-divi.cwdevserver.de/mietwagen/


Kelly R Support Agent
5 years ago

Hi,

Please send me page url, so that I can understand clearly.

For now, pick up time and drop off time fields are dropdown in Travelo theme.

Regards, C-Themes


Christiane Weigel
5 years ago

Hi again,

I need a select dropdown in car rental for the shortcodes.php to choose the arrival and departure time. Is that possible and if yes... how? Thanks for help. Regards Christiane