Last active
November 9, 2017 16:18
-
-
Save n7studios/c5268fed84da33b88792b2e80a0c1485 to your computer and use it in GitHub Desktop.
Comment Rating Field Pro Plugin: Manually Display / Output Rating Fields in a Comments Form: https://www.wpzinc.com/documentation/comment-rating-field-pro-plugin/developers-manual-rating-field-output/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* For developers and themes which do not make use of the WordPress comment_form() function, | |
* the below code can be added to your theme's comment form. | |
* | |
* There must be a Field Group configured at Comment Rating Field Pro > Field Groups to display | |
* rating fields for the Post Type the visitor is viewing. | |
*/ | |
if ( function_exists( 'display_rating_fields' ) ) { | |
echo display_rating_fields(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment