Hi @pikamander2,
it is already possible to change strings for specific posts. Check out the developer features here: https://wordpress.org/support/topic/developers-developer-features/
Below is an example:
/*FILTER EXAMPLE
the array has the following keys:
rateTitle, rateSubtitle, rateResult, rateResult2, cookieNotice, noRating, afterVote, star1, star2 ,star3 ,star4 ,star5, socialTitle, socialSubtitle, feedbackTitle, feedbackSubtitle, feedbackText, feedbackNotice, feedbackButton, feedbackAlert, submitButtonText
*/
function modify_rmp_strings( $stringsArray ) {
if ( is_single( array( 17, 12, 13 ) ) ) { //insert post ids or change the conditional tag
$stringsArray['rateTitle'] = 'How delicious was this recipe?';
$stringsArray['rateSubtitle'] = 'Click on a star to rate this recipe!';
$stringsArray['afterVote'] = 'Thank you for rating this recipe';
$stringsArray['socialTitle'] = 'As you found this recipe useful...';
$stringsArray['feedbackTitle'] = 'How come you did not like this recipe?';
$stringsArray['feedbackSubtitle'] = 'Can we improve this recipe?';
$stringsArray['feedbackText'] = 'Give us some tips...';
}
return $stringsArray;
}
add_filter( 'rmp_custom_strings', 'modify_rmp_strings' );
Regards,
Blaz