Avada Forums Community Forum Overwrite archive-avada_portfolio.php Reply To: Overwrite archive-avada_portfolio.php

Michael C
Post count: 540

Hi @TheDigitalMoose,

As in the page which is usually /portfolio-items/ ? Change the text from “Portfolio” to something else? If so I would recommend translating it. You can use translation files for the fusion-core to translate “Portfolio” to some other term. That then will also be used in the page title and on the back-end for the portfolio post type.

Alternatively you could filter the title directly like so:

function my_portfolio_title( $label, $post_type ) {
	if ( 'avada_portfolio' === $post_type ) {
		return 'My Portfolio Title';
	return $label;
add_filter( 'post_type_archive_title', 'my_portfolio_title', 2, 10 );

Or also other options (like copying title bar template or function to child and editing)