Title: Current Post
Author: Basit Adhi Prabowo
Published: <strong>2021 年 1 月 22 日</strong>
Last modified: 2023 年 2 月 12 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/current-post.svg)

# Current Post

 由 [Basit Adhi Prabowo](https://profiles.wordpress.org/basitadhi/) 開發

[下載](https://downloads.wordpress.org/plugin/current-post.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/current-post/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/current-post/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/current-post/#developers)

 [技術支援](https://wordpress.org/support/plugin/current-post/)

## 外掛說明

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 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, address_bar_permalink [+ 1.0.8], address_bar_permalink_link [
   + 1.0.8] TIME now [+ 1.0.2] BLOG blog_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]
   AUTHOR author_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] VARIABLE variableinput[
   + 1.0.31], variableoutput [+ 1.0.31] TOC toc (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]
 * 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](https://pdsi.unisayogya.ac.id/how-to-use-currentpost-wordpress-plugin/)

### Testing History

[Testing History](https://pdsi.unisayogya.ac.id/current-post-tester/)

### Example

[currentpost type=”permalink, post_date”]
 Result Example: https://example.org 2021-
01-01 00:00:00

[currentpost type=”post_author_nick_link”]
 Result Example: [[bst]](https://example.org/author/basit/)

[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]](https://example.org/author/basit/)

[currentpost type=”toc_neighbour_by_id” label=”1″]
 Result Example: * [This is Heading](https://example.org/#head1)*
[This is another Heading](https://example.org/#head2) * [This is Heading in page 2](https://example.org/2/#head3)*
[This is Heading in page 3](https://example.org/3/#head4) * [This is another Heading in page 3](https://example.org/3/#head5)

### Bugs Fix

= 1.0.3
 * Fix Missing closing UL in toc

= 1.0.5
 * Fix Wrong URL of toc of neighbour link

= 1.0.6
 * Remove space in the URL in the toc

= 1.0.8
 * No link to anchor if URL of address bar different from permalink (smart
link to TOC)

= 1.0.9
 * Add indentation in TOC based on heading level * Fix TOC if post use page
break(s)

= 1.0.10
 * Change the_author to get_the_author * Fix now * Fix style of link to
TOC

= 1.0.11
 * Add meta title and description

= 1.0.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.

= 1.0.13
 * Exact word move to keyword, for post improvement purpose. * Remove meta
title. * Can use both gutenberg and classic

= 1.0.14
 * Meta show if only URL of address bar same as permalink

= 1.0.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

= 1.0.16
 * Add date published and modified in meta head

= 1.0.17
 * Add open graph and json-ld for index

= 1.0.18
 * Add Jquery Datatables from usual table * Add tools to convert from spreadsheet
to HTML and an shortcode of currentpost jquery datatables

= 1.0.19
 * Fix tools (from echo to return) * Fix closing ul in TOC

= 1.0.20
 * Add date format ‘Y-m-d-hijriah’, add Hijri to Post’s Date (Bahasa Indonesia
Only)

= 1.0.21
 * Change date format ‘Y-m-d-hijriah’ to ‘Y-m-d-#’; and add short format‘
Y-m-d-$’ (Bahasa Indonesia Only)

= 1.0.22
 * Override both the_time and get_the_time

= 1.0.23
 * bugs fix on override get_the_time

= 1.0.24
 * remove the_time (the_time call get_the_time)

= 1.0.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

= 1.0.28
 * Change, use id=”exclude_toc” on header to exclude it from TOC

= 1.0.30
 * use curl rather than file_get_contents

= 1.0.32
 * fix mismatch in example

= 1.0.33
 * add eval ability

= 1.0.34
 * bug fix, bracket

= 1.0.35
 * bug fix variable mismatch

= 1.0.36
 * add function call, optimize javascript

= 1.0.37
 * add string call

= 1.0.38
 * fix string call and <> symbol; input as output (event: onfocus)

= 1.0.39
 * trim variableinput, enclose variableoutput, dot escape

## 螢幕擷圖

 * [[
 * Screenshot and share quote easily

## 使用者評論

![](https://secure.gravatar.com/avatar/1523641d659fa1f2e4bf5841b7c37b08bd4c0bff2985d7c2c0bee78c18c81b62?
s=60&d=retro&r=g)

### 󠀁[Interesting plugin, but don’t expect any support](https://wordpress.org/support/topic/interesting-plugin-but-dont-expect-any-support/)󠁿

 [manu.p](https://profiles.wordpress.org/manup-1/) 2023 年 2 月 25 日

Interesting plugin for who needs to show the current post title, but don’t expect
any support from the dev. Whatever you ask remains a dead letter. Maybe the plugin
is almost dead itself…

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/current-post/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Current Post〉的開發相關工作。

參與者

 *   [ Basit Adhi Prabowo ](https://profiles.wordpress.org/basitadhi/)

[將〈Current Post〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/current-post)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/current-post/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/current-post/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/current-post/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/current-post/)。

## 中繼資料

 *  版本 **1.0.39**
 *  最後更新 **3 年前**
 *  啟用安裝數 **20+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.1.10**
 *  PHP 版本需求 ** 5.6 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/current-post/)
 * 標籤:
 * [blog](https://tw.wordpress.org/plugins/tags/blog/)[current](https://tw.wordpress.org/plugins/tags/current/)
   [post](https://tw.wordpress.org/plugins/tags/post/)[shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
 *  [進階檢視](https://tw.wordpress.org/plugins/current-post/advanced/)

## 評分

 2 星，滿分為 5 星

 *  [  0 個 5 星使用者評論     ](https://wordpress.org/support/plugin/current-post/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/current-post/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/current-post/reviews/?filter=3)
 *  [  1 個 2 星使用者評論     ](https://wordpress.org/support/plugin/current-post/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/current-post/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/current-post/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/current-post/reviews/)

## 參與者

 *   [ Basit Adhi Prabowo ](https://profiles.wordpress.org/basitadhi/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/current-post/)