Disable reviews by prices and payments package type?

This topic contains 5 replies, has 2 voices, and was last updated by  Guust 7 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #366494

    Scott Harris
    Lifetime Member
    Post count: 74

    Can you think of a way to disable the review tab by package type (under price and payments)? I’d like to include the reviews for one package, but not another.

    Thanks,

    Scott

    #366530

    Guust
    Moderator
    Post count: 29970

    Hi Scott, have a look at https://wpgeodirectory.com/docs/common-code-snippets/#package
    That will allow you to hide the comment section with CSS.
    Thanks

    #366782

    Scott Harris
    Lifetime Member
    Post count: 74

    Thank you. I added the code to functions.php. What would be the css to hide the reviews tab?

    #366784

    Guust
    Moderator
    Post count: 29970

    Post your URL and WP admin and details of where you want to hide [post in a private reply] , and I’ll have a look for you.

    #366787

    Scott Harris
    Lifetime Member
    Post count: 74

    Thanks Guust, but I finally figured it out. If anyone else is trying to hide the the reviews tab on a certain price level, put this in your css along with the edits that Guust mentioned to functions.php.

    .gd-package-id-2 #reviewsTab {display: none !important;}

    (change package ID as appropriate.)

    #366794

    Guust
    Moderator
    Post count: 29970

    Well done 🙂 and thanks for letting us know.

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket