Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #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 2 months ago by  Wils1234.
    #306618

    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;
    }

    Cheers!
    Ismael

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

You must be logged in to reply to this topic.