This plugin is for users who need not hard to edit the not simple layouts and yank different post tile blocks inside the layout. sidebars or page builders. To overwrite the pre-defined templates you will create folder with the name. just-post-preview. in the root. of topic and pirate required templates from the wp-content plugins just-post-preview layous folder.. You can find PHP comments on the top of the demo templates. To add layout you need to add filter hook in topic functions. php file. add filter 'jpp post preview layouts 'my post preview layouts part my post preview layouts $layouts { $layouts = 'My layout return $layouts }. After that hook you will need to create template issue in the road to topic just-post-preview folder with the name jpp layout my layout key.php.. Download unzip and upload to WordPress plugins directory. We use SiteOrigin Page Builder plugin in development and usually you need to add preview of some post or content on some landing page.. And you can individualize it for page with custom templates in 15 minutes..... Browse the code recheck out SVN repository or subscribe to the development log RSS.... Version 1.1. * New feature Ability to search with specifying post type gamma * New hook You can control the source with new hook `jpp post preview template` * Bug fix PHP 7+ concerns fix.
Read more