[OFFER ALERT!] This Halloween, Get Any Premium Theme for Just $19 [GET IT NOW]
Jump to content

truongwp

Support
  • Content Count

    2,678
  • Joined

  • Last visited

Posts posted by truongwp

  1. Hello,

    We are developing the new version of this plugin and we will support adding ads to that position. In the current version, we can add custom HTML to that position but can't add custom settings to questions. So it will be too hard to manage your ads. If you display all questions in a page, we can use javascript to move ads from the bottom of answers to the above of answers.

    Thank you.

  2. Hello,

    Each review is store as a comment with `comment_type` is `wp_review_comment` or `wp_review_visitor`, so you can hook into `wp_insert_comment` to do your own actions (increase point or something else).

    This is an example:

    add_action( 'wp_insert_comment', function( $comment_id, WP_Comment $comment ) {
    	if ( $comment->comment_type === 'wp_review_comment' ) {
    		// Increase point or do something.
    	}
    }, 10, 2 );

    Hope this helps.

    Thank you.

×
×
  • Create New...