Home Forums Theme support Davinci theme replace "Portfolio" type as "Exhibits"

This topic contains 1 reply, has 2 voices, and was last updated by  7Theme Support 5 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • 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'),

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

You must be logged in to reply to this topic.