Change Project Description Project Details and Skills Needed etc. text labels in Avada

Many of like to use Avada Portfolio feature for thnings besides a typical portoflio due to its nice organizational structure.  But in many cases the Lables like Categories, Skills, Project just don’t work with your subject matter. Here’s a clean and easy way to change them… This is an example where we added a Salon’s beauty professionals. Notice under Skills Needed, we left that blank.

add_filter(‘gettext’, ‘translate_text’);
add_filter(‘ngettext’, ‘translate_text’);
function translate_text($translated) {
$translated = str_ireplace( ‘Project Details’, ‘Specialties’, $translated );
$translated = str_ireplace( ‘Project Description’, ‘Product Description’, $translated );
$translated = str_ireplace( ‘Skills Needed:’, ”, $translated );
$translated = str_ireplace( ‘Categories:’, ‘Location’, $translated );
$translated = str_ireplace( ‘Tags:’, ‘Products’, $translated );
return $translated;
}

Example in action:

This code should be placed in the functions.php file of your active **child** theme.

 

 

Leave a Comment

Your email address will not be published. Required fields are marked *