=== Current Post ===
Contributors: basitadhi
Tags: post, shortcode
Requires at least: 3.0
Tested up to: 5.6
Requires PHP: 5.6
Stable tag: trunk
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
This is a shortcode to display current post information.
== Description ==
This is a shortcode to display current post information. For example, you can use this shortcode below quote, so you can screenshot and share easily, your quote and link of the post.
= Features =
* Available information to display:
ID, post_author, post_author_link [+ 1.0.1], post_author_nick_link [+ 1.0.1], post_date, post_date_gmt, post_content, post_title, post_excerpt, post_status, comment_status, ping_status, permalink, permalink_link, now [+ 1.0.2], toc (table of content) [+ 1.0.2, e 1.0.3: with link to TOC in the bottom of the page], toc_without_back [+ 1.0.3], toc_neighbour_by_id [+ 1.0.3, e 1.0.4 with post title], toc_neighbour_by_url [+ 1.0.3, e 1.0.4 with post title]
* Add label for information to display [+ 1.0.2]
== Screenshots ==
1. Screenshot and share quote easily
== Example ==
[current_post type="permalink, post_date"]
Result Example:
https://example.org 2021-01-01 00:00:00
[current_post type="post_author_nick_link"]
Result Example:
[bst]
[current_post type="post_author_nick_link" label="This is the sample of post_author_nick_link"]
Result Example:
This is the sample of post_author_nick_link [bst]
[current_post type="toc_neighbour_by_id" label="1"]
Result Example:
* This is Heading
== Bugs Fix ==
= 1.0.3
* Missing closing UL in toc