You are here: Home
Support site for Tips and Tricks HQ premium products
I found a solution!
First I created a price list called ‘Press’, but I didn’t add any prices to it. Then I added the following code to functions.php:
function change_translate_text( $translated_text ) {
if ( $translated_text == 'There are currently no configured digital or physical variations for this gallery. The administrator needs to configure some variations for the price list associated with this gallery!' ) {
$translated_text = 'Press usage only. Please email to purchase high resolution files.';
}
return $translated_text;
}
add_filter( 'gettext', 'change_translate_text', 20 );
Great Plugin!
Now all you need to do is include keywords in search results and it will be perfect!