Wordpress plugin template override - portfolio

danielwinter picture danielwinter · Oct 31, 2013 · Viewed 10.1k times · Source

I am using this Worpress plugin: http://bestwebsoft.com/plugin/portfolio-plugin/

I already changed the portfolio itself by including the requests into my own template, but if i click onto one of the items, it directs me to the /portfolio/ permasite, which is then displaying the requested portfolio item in detail.

Now here is my question: I do know where to find the template for this single display (portfolio-post.php) but I'd like to change it myself, without risking to lose the template when I update the plugin. So editing within the portfolio plugin folder is not an option for me.

Is there any method to change this template by placing a "portfolio-post.php" whatever in my own theme folder?

Answer

gelleby picture gelleby · Oct 31, 2013

If you create the portfolio-post.php file in your template folder and edit it there, you don't have the risk that an update will overwrite it.

As long as you position the file inside the same folder basis as in the plugin you should be fine

e.g. /your-theme-folder/portfolio-post.php