Hide '0 Reviews' and $xxx on shortcode

Homepage Forums WP Travel Hide '0 Reviews' and $xxx on shortcode

This topic contains 9 replies, has 4 voices, and was last updated by  Support Team 1 year, 7 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #4908

    laurenc
    Participant

    Hello, how do I hide the ‘o reviews’/empty stars as well as the price when I display trips using the shortcode?
    Thanks!

    #4914

    Support Team
    Keymaster

    Hello @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!!

    #4917

    laurenc
    Participant

    Awesome! 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.

    #4919

    Support Team
    Keymaster

    Hello @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!!

    #4925

    laurenc
    Participant

    Awesome, that’s great!

    #5497

    Support Team
    Keymaster

    Hello @laurenc,

    Glad we could help.

    If you have any issue further, please let us know.

    Best Regards!!

    #5559

    zarmayana
    Participant

    That’s CSS code to hide review didnt work to me 🙁

    #5561

    WP Travel Admin
    Keymaster

    Hello @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:

    http://prntscr.com/irjduq

    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!!

    #5574

    zarmayana
    Participant

    thanks!

    #5579

    Support Team
    Keymaster

    Hello @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/reviews

    Thank you.

    Best Regards!!

    Have a good day 🙂 .

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.