About this plugin
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:
POST
8]
TIME
2]
BLOG
7]
AUTHOR
7]
VARIABLE
31]
TOC
4 with post title]
- Add label for information to display [+ 1.0.2]
- Automatically add meta description [+ 1.0.11]
- Automatically add meta title [+ 1.0.11, – 1.0.13]
Rule: 1st paragraph >= 50 chars? if not, 2nd paragraph >= 50 chars? if not, 3rd paragraph >= 50 chars?
if not, 1st blockquote exists? if not, no meta description.
- Automatically add meta keyword for post improvement purpose [+ 1.0.13]
- Automatically add open graph and json-ld [+ 1.0.15, + 1.0.17], date published and modified in meta head [+ 1.0.16]
- JQuery Datatables and tools to convert from spreadsheet to HTML: spreadsheet_to_html [+ 1.0.18], datatable [+ 1.0.18]
- Hijri date format (Bahasa Indonesia Only) [+e 1.0.21]
Catalogue
Current Post
Testing History
Testing History
Example
[currentpost type=”permalink, post_date”]
Result Example:
org 2021-01-01 00:00:00
[currentpost type=”post_author_nick_link”]
Result Example:
[bst]
[currentpost 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]
[currentpost type=”toc_neighbour_by_id” label=”1″]
Result Example:
* This is Heading
* This is another Heading
* This is Heading in page 2
* This is Heading in page 3
* This is another Heading in page 3
Bugs Fix
3
* Fix Missing closing UL in toc
5
* Fix Wrong URL of toc of neighbour link
6
* Remove space in the URL in the toc
8
* No link to anchor if URL of address bar different from permalink (smart link to TOC)
9
* Add indentation in TOC based on heading level
* Fix TOC if post use page break(s)
10
* Change the_author to get_the_author
* Fix now
* Fix style of link to TOC
11
* Add meta title and description
12
* Fix exact word between title and description from case sensitive to incase sensitive. Blog description as last option to generate meta description, not title.
13
* Exact word move to keyword, for post improvement purpose.
* Remove meta title.
* Can use both gutenberg and classic
14
* Meta show if only URL of address bar same as permalink
15
* Add open graph and json-ld. Thumbnail taken from featured image, then first image (img src), then image post attachment, if exists.
* Fix extract_tags_current_post when handle self closing
16
* Add date published and modified in meta head
17
* Add open graph and json-ld for index
18
* Add Jquery Datatables from usual table
* Add tools to convert from spreadsheet to HTML and an shortcode of currentpost jquery datatables
19
* Fix tools (from echo to return)
* Fix closing ul in TOC
20
* Add date format ‘Y-m-d-hijriah’, add Hijri to Post’s Date (Bahasa Indonesia Only)
21
* Change date format ‘Y-m-d-hijriah’ to ‘Y-m-d-#’; and add short format ‘Y-m-d-$’ (Bahasa Indonesia Only)
22
* Override both the_time and get_the_time
23
* bugs fix on override get_the_time
24
* remove the_time (the_time call get_the_time)
25
* Change date format ‘Y-m-d-#’ to ‘Y-m-d-4’ and ‘Y-m-d-$’ to ‘Y-m-d-5’ (Bahasa Indonesia Only)
* Fix date and time problem
28
* Change, use id=”exclude_toc” on header to exclude it from TOC
30
* use curl rather than file_get_contents
32
* fix mismatch in example
33
* add eval ability
34
* bug fix, bracket
35
* bug fix variable mismatch
36
* add function call, optimize javascript
37
* add string call
38
* fix string call and <> symbol; input as output (event: onfocus)
39
* trim variableinput, enclose variableoutput, dot escape