I want to add a duplicate portfolio section and want to access it from header. I have made one but don’t know how to add another one. How to do this?
Hello, the following is the steps you need to do.
- Create a new post type for the duplicate section. Open the file “inc\post-types\register-portfolio.php”, create a new post type (i.e. project) refer to the existing codes (line 3-19 ).
- Add new setting area for the duplicate section. Open the file “inc\redux-config.php”, add setting area for the new section refer to the existing codes (line 281-320 ).
Open the file “template-home.php”, get the new post type posts and display them refer to the existing codes (line 76-204 ).