In this tutorial we will guide you to override Post Templates without losing changes on plugin updates. We’re using Mini Post Template as a example here.
Template File Name
First you need to know the template file name of the selected template. Its lowercase version of template name, replacing spaces with dashes. In our case, Mini Post the template file name will be mini-post.php
Template Files Default Location
By default, plugin loads all templates files from templates directory. Its inside inc directory. Navigate there and you will find a file named mini-post.php It is the template file we’re going to modify.
Load Template from Theme
Go to the current activated theme’s root using FTP and create a directory there named rpc. Copy the template file mini-post.php from templates directory and paste it inside rpc directory. Now this file will load. You can make changes in this file.