Posts in Page – WordPress plugin Free download

Click to Download

Posts in Page

Description

Easily add one or more posts to any page using simple shortcodes.

Supports categories, tags, custom post types, custom taxonomies, date ranges, post status, and much more.

You can get all of the same functionality provided by this plugin by modifying your theme’s template files; this plugin just makes it easy for anyone to pull posts into other areas of the site without having to get their hands dirty with code.

Plugin is depending upon your theme’s styling; version 1.x of this plugin does not contain native styles.

This is a minimal plugin, function over form. Give us feedback, suggestions, bug reports, and any other contributions on the in the plugin’s GitHub repository.

Screenshots

Embed a shortcode into a page, and it will automatically pull in the post(s) you need.
Embed shortcode using a Gutenberg shortcode block.
Embed shortcodes directly in your template using do_shortcode.

Installation

You can install from within WordPress using the Plugin/Add New feature, or if you wish to manually install:

Click to Download the plugin.
Upload the entire posts-in-page directory to your plugins folder
Activate the plugin from the plugin page in your WordPress Dashboard
Start embedding posts in whatever pages you like using shortcodes.

Shortcode Usage

To ‘pull’ posts into a page, you can:

place a shortcode in the editor window of the page you’re editing (Classic Editor),
place a shortcode in a shortcode block on the page you’re editing (Gutenberg Editor),
modify a theme template file using the shortcode in a PHP function.

Using Shortcodes in the WordPress editor

[ic_add_posts] – Add all posts to a page (limit to what number posts in WordPress is set to), essentially adds blog “page” to page.
[ic_add_posts post_type='post_type'] – Show posts from a custom post type by specifying the post type slug (must give post type if not a standard post). Add multiple post types by separating with commas (ex. post_type='post_type1,post_type2').
[ic_add_posts showposts='5'] – Limit number of posts (or override default setting).
[ic_add_posts orderby='title' order='ASC'] – Order the post output using orderby – supports all WP orderby parameters. Order is optional, default is ‘DESC’.
[ic_add_posts ids='1,2,3'] – Show one or many posts by specifying the post ID(s) (specify all post types).
[ic_add_posts exclude_ids='4,5,6'] – Exclude specific post ID(s) from the query.
[ic_add_posts category='category-slug'] – Show posts within a specific category by category slug. Separate multiple categories with commas.
[ic_add_posts cats='2,13'] – Show posts within a specific category by category IDs. Separate multiple categories with commas.
[ic_add_posts exclude_category='category-slug'] – Exclude posts within specific category. Uses slugs, can list multiple category slugs separated by commas.
[ic_add_posts tag='tag-slug'] – Show posts using a specific tag. Like categories, it uses slugs, and can accommodate multiple tags separated by commas.
[ic_add_posts tax='taxonomy' term='term'] – Limit posts to those that exist in a taxonomy and have a specific term. Both are required for either one to work and you must specify custom post_types.
[ic_add_posts post_format='post-format-status'] – Select post formats. Use ‘post-format-‘ followed by the format type (chat, aside, video, etc.). Use comma to separate post formats. To pull all posts with the quotes format, you’d use [ic_add_posts post_format='post-format-quote'].
[ic_add_posts ignore_sticky_posts='no'] – Show sticky posts too (they’re ignored by default).
[ic_add_posts paginate='yes'] – Use pagination links (off by default).
[ic_add_posts label_next='Next' label_previous='Previous'] – Customize ‘Next’ and ‘Previous’ labels used by pagination.
[ic_add_posts post_status='private'] – Show posts with the specified status.
Does its job perfectly well.

Leave a Reply

Your email address will not be published. Required fields are marked *