Just Post Preview Widget

Explore Just Post Preview Widget vulnerabilities across all versions. Currently tracking 1 known vulnerabilities, including severity, impact, and patch status.

Strategic Overview

Avg CVSSHigh
8.8/ 10
Patch Coverage0%
Open

1

Fixed

0

Get automatic notifications for all Just Post Preview Widget vulnerabilities before they are exploited.

Vulnerability Records

1 records
Just Post Preview Widget banner
Latestv1.1.1

Just Post Preview Widget

Alex Prokopenko / JustCoded

Author

Alex Prokopenko / JustCoded

5.0(1)
100/100
Last Updated
2017-03-06 (10y ago)
Active Installs
10+
Downloads
2,356
Requires WP
4.0+
Requires PHP
0+
Tested up to
WP 4.8.28
Created
2015-10-29 (11y ago)

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

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C