- al3des September 2, 2017 at 4:09 pm
Hello, I am trying to override some of the portfolio templates to make some modifications. I’ve tried copying it to ‘my-theme/porfolio’ following the required folder structure but nothing happens. In fact, changing the original template file does not modify anything as well. Where is it loading from the templates?
Thanks in advance.
Alejandro
Juanfra Aldasoro September 3, 2017 at 1:24 pmHi Alejandro,
Thanks for writing. I hope you are doing well.
Many of the functionalities from the Nice Portfolio plugin are set via hooks (actions and filters), what is that you want to change exactly?
Best,
Juan.al3des September 3, 2017 at 8:51 pmHi, thanks for your reply.
I would like to add some info to the project’s details, change some labels such as “Client” to be something else according to my project and add the author to the project either in the title bar or in the details. But can’t get any of the modifications to work. I’ve been trying to modify ‘smart\portfolio\single-project\details.php’ and ‘smart\portfolio\loop\project\title.php’ according to the documentation within the file.Thanks in advance for your time.
Alejandro Desalvo.
Juanfra Aldasoro September 4, 2017 at 6:07 pmHi Alejandro,
Thanks for the follow-up.
I recommend you using a child theme for this type of customization. We use a special integration, in which the folder of the portfolio templates is located here:
/smart/includes/plugin-integrations/nice-portfolio/templates/
I’d recommend you to use a child theme and then replicate the same directory:
/smart-child/includes/plugin-integrations/nice-portfolio/templates/
Best,
Juan.Thanks for your reply. I’ll try this option and tell you about the success of it.
Regards,
Alejandro.Juanfra Aldasoro September 10, 2017 at 5:48 pmThanks for the follow-up Alejandro.
Yes, please let us know how it goes.
Have a nice day,
Juan.
You must be logged in to reply to this topic.