Paid reviews

This topic contains 2 replies, has 2 voices, and was last updated by  Mirko 5 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #447135

    Mirko
    Free User
    Post count: 8

    Hi, is it possible to limit the reviews only to those who buy a package in particular and disable it to others?

    thank you

    #447138

    Paolo
    Site Admin
    Post count: 31206

    This is not possible without a customization.

    This tutorial explains how to hide comments for specific categories of posts: https://spicewp.com/disable-hide-comments-posts-specific-categories/

    You can easily adapt it for your needs by changing the 1st function.

    In stead of checking categories, you check the post package_id.

    rxample:

    
    
    global $post; 
    if ( $post->package_id == 1) {
        //code here
    } 

    If you need more help with custom code, you can hide a GeoDirectory expert here: http://geodirectoryexperts.com/

    Thank you

    #447142

    Mirko
    Free User
    Post count: 8

    Hi Paolo,
    thank you.

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

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

Open Support Ticket