=== Display Post Types - Post Grid, post list and post sliders ===
Contributors: vedathemes
Tags: post masonry, post grid, post slider, show posts, display posts
Requires at least: 5.4
Tested up to: 6.4
Requires PHP: 7.2
Stable tag: 2.4.1
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Display list of posts, pages or any custom post types anywhere using block and widget. Show as grid, list or posts slider.

== Description ==
Easily display post grid, list or post sliders. Display post types provides easiest way to fetch, sort and display list of posts, pages or any custom post types using block or widget. Create beautiful & responsive grids, lists or sliders of your fetched content.

We have created a quick walk through video to easily get started with Display Post Types.

[youtube https://youtu.be/tTVGMylfBhU?si=qr1YtkqaXJck9xc-]

= What this plugin offers =

* Fetch any post, page or post types using available filters and sort your selection.
* Choose what content items to be displayed (from available options)
* Choose a style to display your content. You can choose from list, grid or slider views. Variuos customization options
* Live preview of your changes in the display post types block.

= Setup DPT Widget =

Display post types in any widget area of your website.

1. After activating the plugin, visit Appearance > Widgets in admin dashboard.
1. Look for 'Display Post Types' widget in left 'Available Widgets' section.
1. Drag the widget to any available sidebar/widget area.
1. Select a post type to be displayed.
1. Select various filter, sort and styling options to make a unique layout.
1. Click [Save] button.

= Setup DPT Block =

Display post types list on any post or page using editor block. Make sure you have not disabled WordPress latest block editor.

Setup

1. After activating the plugin, visit any post or page's edit screen.
1. In main content area, click on '+' icon to add a new block.
1. Search for 'Display Post Types' block or Select from "Layout Elements > Display Post Types".
1. Select a post type to be displayed.
1. Select various filter, sort and styling options to make a unique layout.
1. Click [Publish] or [Update] button.

== Installation ==

Installing “Display Post Types” can be done either by searching for “Display Post Types” via the “Plugins > Add New” screen in your WordPress dashboard, or by using the following steps:

1. Download the plugin via WordPress.org
1. Upload the ZIP file through the ‘Plugins > Add New > Upload’ in your WordPress dashboard
1. Activate the plugin through the ‘Plugins’ menu in WordPress

== Frequently Asked Questions ==

== Screenshots ==
1. Display post types Widget.
2. Display post types block initiate.
3. Display post types block use.

== Changelog ==

= 2.4.1 =
* Error Fix: DPT thumbnail display error fix.

= 2.4.0 =
* Modify: Error fixes and code improvements.

= 2.3.0 =
* Modify: Optimization in scripts and style for better loading performance.
* Modify: Rearrange editor block and widget options for better understanding.
* Modify: Added video instructions to get started with this plugin.

= 2.2.0 =
* Error Fix: Masonry layout height error.
* Error Fix: Bricklayer script updation.
* Error Fix: DPT styling issues.
* Error Fix: Disable DPT block in edit screen for better editing UX.
* Modify: DPT block UI improvement.
* Compatibility with WordPress 6.3

= 2.1.0 =
* Error Fix: Screen resize compatibility with slider.
* Error Fix: Remove extra backslash from assets (CSS and JS) URL.
* Error Fix: Widget specific JS errors.
* Modify: Improved widget and block components and workflow.
* Add: Options to modify meta information.

= 2.0.0 =
* Error Fix: Compatibility with WP 5.8
* Modify: Optimized frontend JS loading.
* Modify: Code improvements

= 1.9.0 =
* Error Fix: show display style for pages
* Error Fix: Show number of items option for pages
* Modify: Implement PHP autoload
* Modify: Structural changes in PHP codebase

= 1.8.0 =
* Add: Option to show post pagination.
* Add: Elementor compatibility.
* Edit: CSS and JS improvements.

= 1.7.0 =
* Error Fix: Correct slider interval time error on DPT block.
* Error Fix: Disable with WP 5.5 lazy load for masonry layouts.
* Modify: Code changes in widget form markup method.
* Modify: JS and CSS resource loading optimization.

= 1.6.0 =
* Error Fix: Exclude self from the fetch post query
* Error Fix: Container aware responsiveness
* Error Fix: Remove arrow icon from excerpt teaser text
* Add: Auto slide with wait time option

= 1.5.0 =
* Error Fix: Remove excerpt length limitation from DPT block.
* Error Fix: Remove on text from date meta.
* Modify: Change DPT title heading tag from H2 to H3
* Modify: Comply with latest WP coding standards
* Modify: Minor code improvements
* Add: Add AND/OR relationship option for Terms selection

= 1.4.0 =
* Error Fix: Wrap DPT in a div wrapper to make compatible with Twenty Twenty theme
* Error Fix: Excerpt length default value
* Error Fix: Slider button position left or right with modified Horizontal gutter
* Add: Display Posts offset option
* Modify: Minor styling error fix and improvements.

= 1.3.0 =
* Modify: Get custom excerpt if available instead of main content.
* Modify: Test with WordPress 5.4
* Modify: Change minimum WP requirements to WP 4.9

= 1.2.0 =
* Error Fix: Support block editor className attribute.

= 1.1.0 =
* Error Fix: DPT compatibility with IE11 (Javascript errors).
* Error Fix: Excerpt and Gutter options not working in DPT widget.

= 1.0.1 =
* Error Fix: Unexpected excerpt options display in DPT widget.

= 1.0.0 =
* First version.
