Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #306417

    I would like to change `portfolio-items to photo-items´ when a portfolio-item is searched for. Please can you tell me where and what I need to change.

    For the portfolio permalinks this has been changed and is ok.

    • This topic was modified 3 years, 1 month ago by  Wils1234.

    Hey Wils1234!

    Thank you for using Enfold.

    Please use this on functions.php:

    add_filter('avf_ajax_search_label_names','avia_change_pt_label_name', 10, 1);
    function avia_change_pt_label_name($label)
    if($label == 'Portfolio Items') $label = 'Photo Items';
    return $label;


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.