Change car directl url

Closed
autoRoyal - Automotive WordPress Theme autoRoyal - Automotive WordPress Theme July 19, 2019
Login to reply
Marek Zurek
4 months ago

Hello,
1. There is still PM when I change hours.
2. There are still M/D/Y instead of D/M/Y as I asked you
3. After change drop off hours there are strange numbers.

Video:
https://streamable.com/xgznk

Alex Gurghis Support Agent
4 months ago

In the same jquery file you have to change the default time for that input field:

jQuery("#dropHour").val( "12:00 PM" );
Marek Zurek
4 months ago

I did it. Still shows "MONTH/DAY/YEAR" and AM or PM

Alex Gurghis Support Agent
4 months ago

You can change it in main.js file located is assets/js folder. Change the format on line 3433 from

format: 'g:i A', 

to

format: 'hh:ii',
Marek Zurek
4 months ago

I would like to remove "AM and PM" and change date format to DAY/MONTH/YEAR/.

Alex Gurghis Support Agent
4 months ago

Hi,

1. You can change the vehicle permalink using this plugin: https://wordpress.org/plugins/custom-post-type-permalinks/

2. I'm not sure I follow you here. What you mean by all vehicles list?

Regards,

Alex

Marek Zurek
4 months ago

Hello,
I would like to change direct url for car:
https://goldenrent.pl/vehicle/nissan-gtr-3-8v-570km/

1.Can I remove /vehicle/ or translate it?
2. Does theme have direct link to the list of all vehicles?