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

NOTE: The below fix may not work for all versions, if not, please check this link:  Avada Portfolio Filters.

Many of like to use Avada Portfolio feature for things besides a typical portfolio due to its nice organizational structure.  But in many cases the Labels 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 *

This site uses Akismet to reduce spam. Learn how your comment data is processed.