Plugin info

Total downloads: 2,124
Active installs: 10
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 3/6/2017 (3222 days ago)
Added to WordPress: 10/29/2015 (10 years old)
Minimum WordPress version: 4.0
Tested up to WordPress version: 4.8.27
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 3222 days ago • 1 reviews

22/100

Is Just Post Preview Widget abandoned?

Possibly abandoned (last update 3222 days ago).

Compatibility

Requires WordPress: 4.0
Tested up to: 4.8.27
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Auto Limit Posts Reloaded
Rating 4.6/5 (7 reviews)Active installs 2,000
Post Draft Preview
Rating 3.3/5 (4 reviews)Active installs 600
Init Embed Posts – Stylish, Fast, Portable
Rating 5.0/5 (2 reviews)Active installs 60
4Site ShareThumb – Branded Social Preview OG Image Plugin
Rating 5.0/5 (1 reviews)Active installs 20

Description

This plugin is for developers who need easy to edit the complex layouts and insert different post tile blocks inside the layout,
sidebars or page builders. By default, it has 3 pre-defined layouts; you can rewrite them in your theme or register custom layouts.
Unfortunately the pre-defined layouts have no styles inside. (Because they will be overwritten in the theme 100% anyway).

Template files

To overwrite the pre-defined templates, you should create a folder with the name “just-post-preview” in the root
of your theme and copy required templates from the /wp-content/plugins/just-post-preview/layous/ folder.

File names format: jpp_layout_{layout key}.php

You can find PHP comments on the top of the demo templates. They help your IDE to show you autocomplete boxes for available variables.

Adding custom layout

To add a custom layout, you need to add a new filter hook in your theme functions.php file:

add_filter('jpp_post_preview_layouts', 'my_post_preview_layouts');
function my_post_preview_layouts($layouts){
    $layouts['my_layout_key'] = 'My custom layout';
    return $layouts;
}

After that hook you will need to create a template file in the /path/to/theme/just-post-preview folder with the name jpp_layout_my_layout_key.php.

That’s all!

FILL FREE TO CONTACT ME IF YOU FIND ANY BUGS/ISSUES!

ISSUES TRACKER
The project is also available on github. Please post your issues or feedbacks there.
https://github.com/aprokopenko/just-post-preview

Installation

  1. Download, unzip and upload to your WordPress plugins directory
  2. Activate the plugin within you WordPress Administration Backend
  3. That’s it – you can add a new widget now

Frequently Asked Questions

Installation Instructions

  1. Download, unzip and upload to your WordPress plugins directory
  2. Activate the plugin within you WordPress Administration Backend
  3. That’s it – you can add a new widget now

Review feed

Alex Prokopenko / JustCoded
3/1/2017

i think it's good

We use SiteOrigin Page Builder plugin in our development and usually you need to add preview of some post or content on some landing page. This plugins adds ability to do that very quickly. And you can customize it for each site with custom templates in a 15 minutes.

Screenshots

  1. Widget edit screenshot

    Widget edit screenshot

  2. Using widget inside the SiteOrigin Page builder plugin

    Using widget inside the SiteOrigin Page builder plugin

Changelog

Version 1.1.1

* Bug fix: Merged Pull Request from @rudibatt: missing break in templates load loop.

Version 1.1

* New feature: Ability to search without specifying post type (beta)
* New hook: You can control the templates source with new hook `jpp_post_preview_template`
* Bug fix: PHP 7+ compatibility fix

Version 1.0

* Plugin base with 3 pre-defined layouts