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

    Hello!

    I’m using the portfolio post type for something else and in search, it looks like this https://dl.dropboxusercontent.com/s/5sfuk9vu9cfqzeh/2017-05-30%20at%207.33%20AM.png

    how can I change that text?

    Please let me know!

    #802247

    Hey Gigi,

    Try adding this css code at the bottom of functions.php:

    add_filter('avf_portfolio_cpt_args', 'avf_portfolio_cpt_args_mod');
    function avf_portfolio_cpt_args_mod($args) {
    	$args['labels']['name'] = 'Lessons';
    	return $args;
    }

    Try to change Lessons to anything you want, it will replace the Portfolio Items in the search as well as in the WordPress Dashboard :)

    Best regards,
    Nikko

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.