{"id":135349,"date":"2021-01-22T03:50:05","date_gmt":"2021-01-22T03:50:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/current-post\/"},"modified":"2023-02-12T15:22:13","modified_gmt":"2023-02-12T15:22:13","slug":"current-post","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/current-post\/","author":18510587,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.39","stable_tag":"trunk","tested":"6.1.10","requires":"3.0","requires_php":"5.6","requires_plugins":"","header_name":"Current Post","header_author":"Basit AP UNISA Yogyakarta","header_description":"This is a shortcode to display current post information.","assets_banners_color":"","last_updated":"2023-02-12 15:22:13","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":2,"author_block_rating":0,"active_installs":20,"downloads":4092,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description"],"tags":{"1.0":{"tag":"1.0","author":"basitadhi","date":"2021-01-22 04:08:20"},"1.0.1":{"tag":"1.0.1","author":"basitadhi","date":"2021-01-25 02:33:30"},"1.0.10":{"tag":"1.0.10","author":"basitadhi","date":"2021-03-12 07:59:37"},"1.0.11":{"tag":"1.0.11","author":"basitadhi","date":"2021-07-31 08:17:02"},"1.0.12":{"tag":"1.0.12","author":"basitadhi","date":"2021-07-31 09:01:30"},"1.0.13":{"tag":"1.0.13","author":"basitadhi","date":"2021-08-04 11:18:44"},"1.0.14":{"tag":"1.0.14","author":"basitadhi","date":"2021-08-04 11:36:39"},"1.0.15":{"tag":"1.0.15","author":"basitadhi","date":"2021-08-05 13:51:40"},"1.0.16":{"tag":"1.0.16","author":"basitadhi","date":"2021-08-06 04:12:06"},"1.0.17":{"tag":"1.0.17","author":"basitadhi","date":"2021-08-06 14:43:45"},"1.0.18":{"tag":"1.0.18","author":"basitadhi","date":"2021-08-24 21:07:00"},"1.0.19":{"tag":"1.0.19","author":"basitadhi","date":"2021-09-09 03:10:34"},"1.0.2":{"tag":"1.0.2","author":"basitadhi","date":"2021-01-28 08:20:10"},"1.0.20":{"tag":"1.0.20","author":"basitadhi","date":"2021-12-23 16:02:08"},"1.0.21":{"tag":"1.0.21","author":"basitadhi","date":"2022-01-05 03:35:27"},"1.0.22":{"tag":"1.0.22","author":"basitadhi","date":"2022-01-05 09:05:49"},"1.0.23":{"tag":"1.0.23","author":"basitadhi","date":"2022-01-05 09:25:45"},"1.0.24":{"tag":"1.0.24","author":"basitadhi","date":"2022-01-07 05:51:34"},"1.0.25":{"tag":"1.0.25","author":"basitadhi","date":"2022-01-08 05:25:58"},"1.0.26":{"tag":"1.0.26","author":"basitadhi","date":"2022-02-05 02:47:48"},"1.0.27":{"tag":"1.0.27","author":"basitadhi","date":"2022-05-30 03:48:26"},"1.0.28":{"tag":"1.0.28","author":"basitadhi","date":"2022-06-10 08:34:01"},"1.0.29":{"tag":"1.0.29","author":"basitadhi","date":"2022-11-28 04:36:03"},"1.0.3":{"tag":"1.0.3","author":"basitadhi","date":"2021-01-29 06:14:01"},"1.0.30":{"tag":"1.0.30","author":"basitadhi","date":"2023-02-02 01:16:38"},"1.0.31":{"tag":"1.0.31","author":"basitadhi","date":"2023-02-02 08:38:10"},"1.0.32":{"tag":"1.0.32","author":"basitadhi","date":"2023-02-02 08:57:39"},"1.0.33":{"tag":"1.0.33","author":"basitadhi","date":"2023-02-02 15:02:21"},"1.0.34":{"tag":"1.0.34","author":"basitadhi","date":"2023-02-02 15:09:24"},"1.0.35":{"tag":"1.0.35","author":"basitadhi","date":"2023-02-02 15:28:45"},"1.0.36":{"tag":"1.0.36","author":"basitadhi","date":"2023-02-03 03:39:11"},"1.0.37":{"tag":"1.0.37","author":"basitadhi","date":"2023-02-03 03:49:44"},"1.0.38":{"tag":"1.0.38","author":"basitadhi","date":"2023-02-03 13:53:13"},"1.0.39":{"tag":"1.0.39","author":"basitadhi","date":"2023-02-12 15:22:13"},"1.0.4":{"tag":"1.0.4","author":"basitadhi","date":"2021-01-29 06:38:04"},"1.0.5":{"tag":"1.0.5","author":"basitadhi","date":"2021-01-30 04:51:48"},"1.0.6":{"tag":"1.0.6","author":"basitadhi","date":"2021-01-30 09:07:00"},"1.0.7":{"tag":"1.0.7","author":"basitadhi","date":"2021-02-02 06:42:35"},"1.0.8":{"tag":"1.0.8","author":"basitadhi","date":"2021-02-12 15:43:39"},"1.0.9":{"tag":"1.0.9","author":"basitadhi","date":"2021-02-16 16:26:51"}},"upgrade_notice":[],"ratings":{"1":0,"2":1,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.10","1.0.11","1.0.12","1.0.13","1.0.14","1.0.15","1.0.16","1.0.17","1.0.18","1.0.19","1.0.2","1.0.20","1.0.21","1.0.22","1.0.23","1.0.24","1.0.25","1.0.26","1.0.27","1.0.28","1.0.29","1.0.3","1.0.30","1.0.31","1.0.32","1.0.33","1.0.34","1.0.35","1.0.36","1.0.37","1.0.38","1.0.39","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2460737,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Screenshot and share quote easily"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[323,7203,196316,86,80],"plugin_category":[43],"plugin_contributors":[195387],"plugin_business_model":[],"class_list":["post-135349","plugin","type-plugin","status-publish","hentry","plugin_tags-blog","plugin_tags-current","plugin_tags-currentpost","plugin_tags-post","plugin_tags-shortcode","plugin_category-customization","plugin_contributors-basitadhi","plugin_committers-basitadhi"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/current-post.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/current-post\/assets\/screenshot-1.png?rev=2460737","caption":"Screenshot and share quote easily"}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Available information to display:\nPOST\nID, 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, address_bar_permalink [+ 1.0.8], address_bar_permalink_link [+ 1.0.8]\nTIME\nnow [+ 1.0.2]\nBLOG\nblog_name [+ 1.0.7], blog_description [+ 1.0.7], blog_wpurl [+ 1.0.7], blog_wpurl_link [+ 1.0.7], blog_url [+ 1.0.7], blog_url_link [+ 1.0.7], blog_charset [+ 1.0.7], blog_language [+ 1.0.7], blog_atom_url [+ 1.0.7], blog_atom_url_link [+ 1.0.7], blog_rdf_url [+ 1.0.7], blog_rdf_url_link [+ 1.0.7], blog_rss_url [+ 1.0.7], blog_rss_url_link [+ 1.0.7], blog_rss2_url [+ 1.0.7], blog_rss2_url_link [+ 1.0.7], blog_comments_atom_url [+ 1.0.7], blog_comments_atom_url_link [+ 1.0.7], blog_comments_rss2_url [+ 1.0.7], blog_comments_rss2_url_link [+ 1.0.7]\nAUTHOR\nauthor_description [+ 1.0.7], author_display_name [+ 1.0.7], author_first_name [+ 1.0.7], author_last_name [+ 1.0.7], author_nickname [+ 1.0.7]\nVARIABLE\nvariableinput [+ 1.0.31], variableoutput [+ 1.0.31]\nTOC\ntoc (table of content) [+ 1.0.2, e 1.0.3: with link to TOC in the bottom of the page, e 1.0.8 smart link to TOC, e 1.0.28 facility to exclude from TOC], 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]<\/li>\n<li>Add label for information to display [+ 1.0.2]<\/li>\n<li>Automatically add meta description [+ 1.0.11]<\/li>\n<li>Automatically add meta title [+ 1.0.11, - 1.0.13]\nRule: 1st paragraph &gt;= 50 chars? if not, 2nd paragraph &gt;= 50 chars? if not, 3rd paragraph &gt;= 50 chars? if not, 1st blockquote exists? if not, no meta description.<\/li>\n<li>Automatically add meta keyword for post improvement purpose [+ 1.0.13]<\/li>\n<li>Automatically add open graph and json-ld [+ 1.0.15, + 1.0.17], date published and modified in meta head [+ 1.0.16]<\/li>\n<li>JQuery Datatables and tools to convert from spreadsheet to HTML: spreadsheet_to_html [+ 1.0.18], datatable [+ 1.0.18]<\/li>\n<li>Hijri date format (Bahasa Indonesia Only) [+e 1.0.21]<\/li>\n<\/ul>\n\n<h3>Catalogue<\/h3>\n\n<p><a href=\"https:\/\/pdsi.unisayogya.ac.id\/how-to-use-currentpost-wordpress-plugin\/\" title=\"Current Post by Basit AP\">Current Post<\/a><\/p>\n\n<h3>Testing History<\/h3>\n\n<p><a href=\"https:\/\/pdsi.unisayogya.ac.id\/current-post-tester\/\" title=\"Testing History of Current Post\">Testing History<\/a><\/p>\n\n<h3>Example<\/h3>\n\n<p>[currentpost type=\"permalink, post_date\"]\nResult Example:\nhttps:\/\/example.org 2021-01-01 00:00:00<\/p>\n\n<p>[currentpost type=\"post_author_nick_link\"]\nResult Example:\n<a href=\"https:\/\/example.org\/author\/basit\/\">[bst]<\/a><\/p>\n\n<p>[currentpost type=\"post_author_nick_link\" label=\"This is the sample of post_author_nick_link\"]\nResult Example:\nThis is the sample of post_author_nick_link <a href=\"https:\/\/example.org\/author\/basit\/\">[bst]<\/a><\/p>\n\n<p>[currentpost type=\"toc_neighbour_by_id\" label=\"1\"]\nResult Example:\n* <a href=\"https:\/\/example.org\/#head1\">This is Heading<\/a>\n* <a href=\"https:\/\/example.org\/#head2\">This is another Heading<\/a>\n* <a href=\"https:\/\/example.org\/2\/#head3\">This is Heading in page 2<\/a>\n* <a href=\"https:\/\/example.org\/3\/#head4\">This is Heading in page 3<\/a>\n* <a href=\"https:\/\/example.org\/3\/#head5\">This is another Heading in page 3<\/a><\/p>\n\n<h3>Bugs Fix<\/h3>\n\n<p>= 1.0.3\n* Fix Missing closing UL in toc<\/p>\n\n<p>= 1.0.5\n* Fix Wrong URL of toc of neighbour link<\/p>\n\n<p>= 1.0.6\n* Remove space in the URL in the toc<\/p>\n\n<p>= 1.0.8\n* No link to anchor if URL of address bar different from permalink (smart link to TOC)<\/p>\n\n<p>= 1.0.9\n* Add indentation in TOC based on heading level\n* Fix TOC if post use page break(s)<\/p>\n\n<p>= 1.0.10\n* Change the_author to get_the_author\n* Fix now\n* Fix style of link to TOC<\/p>\n\n<p>= 1.0.11\n* Add meta title and description<\/p>\n\n<p>= 1.0.12\n* Fix exact word between title and description from case sensitive to incase sensitive. Blog description as last option to generate meta description, not title.<\/p>\n\n<p>= 1.0.13\n* Exact word move to keyword, for post improvement purpose. \n* Remove meta title.\n* Can use both gutenberg and classic<\/p>\n\n<p>= 1.0.14\n* Meta show if only URL of address bar same as permalink<\/p>\n\n<p>= 1.0.15\n* Add open graph and json-ld. Thumbnail taken from featured image, then first image (img src), then image post attachment, if exists.\n* Fix extract_tags_current_post when handle self closing<\/p>\n\n<p>= 1.0.16\n* Add date published and modified in meta head<\/p>\n\n<p>= 1.0.17\n* Add open graph and json-ld for index<\/p>\n\n<p>= 1.0.18\n* Add Jquery Datatables from usual table\n* Add tools to convert from spreadsheet to HTML and an shortcode of currentpost jquery datatables<\/p>\n\n<p>= 1.0.19\n* Fix tools (from echo to return)\n* Fix closing ul in TOC<\/p>\n\n<p>= 1.0.20\n* Add date format 'Y-m-d-hijriah', add Hijri to Post's Date (Bahasa Indonesia Only)<\/p>\n\n<p>= 1.0.21\n* Change date format 'Y-m-d-hijriah' to 'Y-m-d-#'; and add short format 'Y-m-d-$' (Bahasa Indonesia Only)<\/p>\n\n<p>= 1.0.22\n* Override both the_time and get_the_time<\/p>\n\n<p>= 1.0.23\n* bugs fix on override get_the_time<\/p>\n\n<p>= 1.0.24\n* remove the_time (the_time call get_the_time)<\/p>\n\n<p>= 1.0.25\n* Change date format 'Y-m-d-#' to 'Y-m-d-4' and 'Y-m-d-$' to 'Y-m-d-5' (Bahasa Indonesia Only)\n* Fix date and time problem<\/p>\n\n<p>= 1.0.28\n* Change, use id=\"exclude_toc\" on header to exclude it from TOC<\/p>\n\n<p>= 1.0.30\n* use curl rather than file_get_contents<\/p>\n\n<p>= 1.0.32\n* fix mismatch in example<\/p>\n\n<p>= 1.0.33\n* add eval ability<\/p>\n\n<p>= 1.0.34\n* bug fix, bracket<\/p>\n\n<p>= 1.0.35\n* bug fix variable mismatch<\/p>\n\n<p>= 1.0.36\n* add function call, optimize javascript<\/p>\n\n<p>= 1.0.37\n* add string call<\/p>\n\n<p>= 1.0.38\n* fix string call and &lt;&gt; symbol; input as output (event: onfocus)<\/p>\n\n<p>= 1.0.39\n* trim variableinput, enclose variableoutput, dot escape<\/p>","raw_excerpt":"This is a shortcode to display current post information.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/135349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=135349"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/basitadhi"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=135349"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=135349"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=135349"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=135349"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=135349"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=135349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}