Template override

This support request was posted in Smart by al3des

Request ID #33442 In Progress
  • 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

    Hi 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.

    Hi, 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.

    Hi 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.

    Thanks for the follow-up Alejandro.

    Yes, please let us know how it goes.

    Have a nice day,
    Juan.

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

You must be logged in to reply to this topic.

Login to your Account

Welcome back! Please log in to your account by filling the fields below:

Forgot?

Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server