- This topic has 6 replies, 2 voices, and was last updated 4 years, 11 months ago by Support Team.
- July 9, 2018 at 6:05 pm #7385
Tell me please how to make it work like in the screenshot and you need a ruble symbol?
and I need to hide symbol “/” where “person”July 10, 2018 at 4:56 am #7386
First of all thank you very much for using the WP Travel plugin 🙂 .
Now coming back to your query, to place the currency symbol after the price you need to activate the child theme and add below given code.
To know how to create and activate the child theme please refer to below given link:
After creating the child theme in your child theme functions.php add below given code:
Now to remove the “/” symbol for now you need to directly edit your parent plugin file. For this please go to line no: 226 in wp-travel > inc > template-funstions.php. Now replace the existing code which is
</ins>/<?php echo esc_html( $per_person_text ); ?>
With the code given below:
<?php if( ! empty( $per_person_text ) ) : ?> /<?php echo esc_html( $per_person_text ); ?> <?php endif; ?>
Hope this helps.
Let us know if you have any confusion further related to the WP Travel plugin.
Best Regards!!July 10, 2018 at 9:46 am #7392
I put the code like you said, that’s what I got
it is necessary that the usual price is the currency after the price.
Thank you.July 10, 2018 at 10:27 am #7393
and I need the price was “starting from” 999 “₽” – ruble symbol
Thank you.July 10, 2018 at 12:00 pm #7400
Please Replace the code that we have provided above with the code given below in your child theme’s functions.php file
Hope this helps.
Regards!!July 10, 2018 at 1:01 pm #7404
Thank you so much!!!!July 11, 2018 at 4:37 am #7406
It’s always a pleasure helping you guys 🙂 .
If you have any confusions/queries further then please let us know.
We would also really appreciate if you could help us by rating our plugin by following the link given below:
Thank you 🙂 .
- The forum ‘WP Travel’ is closed to new topics and replies.