- This topic has 9 replies, 4 voices, and was last updated 5 years, 6 months ago by
Support Team.
-
AuthorPosts
-
February 13, 2018 at 3:54 pm #4908
laurenc
ParticipantHello, how do I hide the ‘o reviews’/empty stars as well as the price when I display trips using the shortcode?
Thanks!February 14, 2018 at 4:30 am #4914Support Team
KeymasterHello @laurenc,
To hide the empty stars as well as the price while displaying the trips using the shortcode use below given CSS.
For this go to Admin Panel > Appearance > Customize > Additional CSS and paste below given CSS.
body:not(.post-type-archive) .wp-travel-itinerary-items ul li .wp-detail- review-wrap, body:not(.post-type-archive) .wp-travel-itinerary-items ul li .wp-travel-average-review, .wp-travel-itinerary-items ul li .wp-travel-review-text { display: none; }
Hope this helps.
Best Regards!!
February 14, 2018 at 5:29 am #4917laurenc
ParticipantAwesome! For the shortcode, that worked to hide the review/stars, however the price is still visible and so are the activities – can these also be hidden? I would like to hide these same items (price, activities, reviews/stars) in the ‘Post Type Archive’ that lists all trips (one of my menu items!)
Thanks again for your continued support and the great plugin.February 14, 2018 at 7:57 am #4919Support Team
KeymasterHello @laurenc,
Please replace the above-given CSS with the CSS given below to hide the items you have mentioned from both shortcode listing page and archive listing page.
.wp-travel-itinerary-items ul li .wp-detail- review-wrap, .wp-travel-itinerary-items ul li .wp-travel-average-review, .wp-travel-itinerary-items ul li .wp-travel-review-text, .wp-travel-itinerary-items ul li .trip-price { display: none; }
Hope this helps.
Best Regards!!
February 14, 2018 at 2:36 pm #4925laurenc
ParticipantAwesome, that’s great!
March 9, 2018 at 7:14 am #5497Support Team
KeymasterHello @laurenc,
Glad we could help.
If you have any issue further, please let us know.
Best Regards!!
March 15, 2018 at 11:43 am #5559zarmayana
ParticipantThat’s CSS code to hide review didnt work to me 🙁
March 15, 2018 at 12:21 pm #5561WP Travel
KeymasterHello @zarmayana,
The below-mentioned CSS will remove the review/stars in the trips that is listed with the shortcode as you can see in below given screenshots:
body:not(.post-type-archive) .wp-travel-itinerary-items ul li .wp-detail- review-wrap, body:not(.post-type-archive) .wp-travel-itinerary-items ul li .wp-travel-average-review, .wp-travel-itinerary-items ul li .wp-travel-review-text { display: none; }
Screenshots:
If this is not you are looking for then please explain more clearly with the proper screenshot so that we can provide the precise fix to you.
Thank you 🙂 .
Best Regards!!
March 17, 2018 at 5:33 am #5574zarmayana
Participantthanks!
March 19, 2018 at 4:44 am #5579Support Team
KeymasterHello @zarmayana,
Glad we could help you.
Any further issues are always welcome.
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/reviewsThank you.
Best Regards!!
Have a good day 🙂 .
-
AuthorPosts
- The forum ‘WP Travel’ is closed to new topics and replies.