Hi I need to replace all references of type “Portfolio” to “Exhibits”, with single label as “Exhibit”. That goes for everywhere it’s labelled in the WordPress admin backend and the URL slugs for the entries as well. Please advise what code I need and the file(s) I need to modify. Thanks!
Hi, the file you need to edit is “posttype-portfolio.php” in the folder “7league/”. You can take a look at line 10, that’s the label for the portfolio. And replace line 16 (rewrite…) with this:
'rewrite' => array('slug' => 'exhibits'),
You must be logged in to reply to this topic.