Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #213742

    If I edit the register-portfolio.php file, lines 8-20, can I modify the naming convention / taxonomy of the portfolio? Then how would I run this function again? Would advanced layout builder & all other components continue to work? The issue is I need to modify the name for the admin panel as well as the search ajax search results. I’ve changed the slug already but that doesn’t take care of the latter.

    I only have three entries in the portfolio now so I can either redo those under the new taxonomy or I can edit the SQL database and convert it.

    Thanks for the help!


    Hey lathomas42!

    No, unfortunately the post type is hardcoded into the framework and you can’t replace it. If you want to change the label on the admin page and on the search result list you can modify the label text strings in wp-content/themes/enfold/includes/admin/register-portfolio.php though – search for

    	$labels = array(
    		'name' => _x('Portfolio Items', 'post type general name','avia_framework'),
    		'singular_name' => _x('Portfolio Entry', 'post type singular name','avia_framework'),
    		'add_new' => _x('Add New', 'portfolio','avia_framework'),
    		'add_new_item' => __('Add New Portfolio Entry','avia_framework'),
    		'edit_item' => __('Edit Portfolio Entry','avia_framework'),
    		'new_item' => __('New Portfolio Entry','avia_framework'),
    		'view_item' => __('View Portfolio Entry','avia_framework'),
    		'search_items' => __('Search Portfolio Entries','avia_framework'),
    		'not_found' =>  __('No Portfolio Entries found','avia_framework'),
    		'not_found_in_trash' => __('No Portfolio Entries found in Trash','avia_framework'),
    		'parent_item_colon' => ''

    and replace Portfolio Items, Portfolio Entry, etc. with your custom text.



    @dude, I made the changes you mention in this thread and it’s working when I update the core theme file. However, I can’t get the theme to override the portfolio cpt labels when using my child theme.

    I obviously want the modified register-portfolio.php file to reside in my child theme so the changes won’t be overridden when Enfold is updated. But I cannot get the modified file to override the parent theme. It’s possibly because the original file is in a sub-folder.

    I’ve done a lot of research online and still can’t get it fixed. Please advise?


    Hi @mikeraymarketer,

    Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details in the Private Content section of your reply. You might want to open a new thread since the original poster will be able to see your details otherwise. Please try to explain a bit further what you are looking to achieve as well.



    I’m developing the site in a local environment so I can’t give you the admin access. Any other suggestions?

    Also, I did start a new thread at: So I think we should stop communicating on this thread. I don’t want to create twice the work or you.

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

The topic ‘Possible to rename portfolio entirely?’ is closed to new replies.