- This topic has 6 replies, 2 voices, and was last updated 4 years, 11 months ago by
Support Team.
- AuthorPosts
- July 9, 2018 at 6:05 pm #7385
bezPaliva
ParticipantHello!
Tell me please how to make it work like in the screenshot and you need a ruble symbol?https://prnt.sc/k4eyts
https://prnt.sc/k4ez84and I need to hide symbol “/” where “person”
July 10, 2018 at 4:56 am #7386Support Team
KeymasterHello @bezpaliva,
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:
http://wptravel.io/how-to-create-a-child-theme/
After creating the child theme in your child theme functions.php add below given code:
https://gist.github.com/Tiiru/45c9758ad4fac587d97bc96f66a93355
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.
Thank you.
Best Regards!!
July 10, 2018 at 9:46 am #7392bezPaliva
ParticipantThank you.
I put the code like you said, that’s what I got
https://prnt.sc/k4nz1yit is necessary that the usual price is the currency after the price.
Thank you.
July 10, 2018 at 10:27 am #7393bezPaliva
Participantand I need the price was “starting from” 999 “₽” – ruble symbol
Thank you.
July 10, 2018 at 12:00 pm #7400Support Team
KeymasterHello @bezpaliva,
Please Replace the code that we have provided above with the code given below in your child theme’s functions.php file
https://gist.github.com/Tiiru/732ba4dd92fb6aa4c88fc1e42b06e525
Hope this helps.
Regards!!
July 10, 2018 at 1:01 pm #7404bezPaliva
ParticipantThank you so much!!!!
July 11, 2018 at 4:37 am #7406Support Team
KeymasterHello @bezpaliva,,
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:
https://wordpress.org/support/plugin/wp-travel/reviews/
Thank you 🙂 .
Best Regards!!
- AuthorPosts
- The forum ‘WP Travel’ is closed to new topics and replies.