前言介紹
- 這款 WordPress 外掛「Current Post」是 2021-01-21 上架。
- 目前有 20 個安裝啟用數。
- 上一次更新是 2023-02-12,距離現在已有 811 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
- 有 1 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
blog | post | current | shortcode | currentpost |
內容簡介
這是一個顯示當前文章信息的短碼。例如,您可以在引用下使用此短碼,這樣您就可以輕鬆截圖並分享您的引用和文章鏈接。
功能
可顯示的信息:
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(目錄)[+ 1.0.2,e 1.0.3:帶有頁面底部的 TOC 鏈接,e 1.0.8 智能鏈接到 TOC,e 1.0.28 不包括在 TOC 中的功能],toc_without_back [+ 1.0.3],toc_neighbour_by_id [+ 1.0.3,e 1.0.4 帶有文章標題],toc_neighbour_by_url [+ 1.0.3,e 1.0.4 帶有文章標題]
添加用於顯示信息的標籤 [+ 1.0.2]
自動添加元描述 [+ 1.0.11]
自動添加元標題 [+ 1.0.11,– 1.0.13]
規則:第一個段落 >= 50 個字符嗎? 如果沒有,第二個段落 >= 50 個字符嗎? 如果沒有,第三個段落 >= 50 個字符嗎? 如果沒有,第一個 blockquote 存在嗎? 如果不存在,則無元描述。
自動添加用於文章改進的元關鍵詞 [+ 1.0.13]
自動添加開放式圖形和 JSON-LD [+ 1.0.15,+ 1.0.17],在 meta head 中發布和修改日期 [+ 1.0.16]
JQuery Datatables 和將電子表格轉換為 HTML 的工具:spreadsheet_to_html [+ 1.0.18],datatable [+ 1.0.18]
伊斯蘭曆日期格式(僅限印尼語)[+e 1.0.21]
目錄
Current Post
測試歷史
Testing History
範例
[currentpost type=”permalink, post_date”]
結果範例:
https://example.org 2021-01-01 00:00:00
[currentpost type=”post_author_nick_link”]
結果範例:
[bst]
[currentpost type=”post_author_nick_link” label=”This is the sample of post_author_nick_link”]
結果範例:
這是 post_author_nick_link 的一個示例 [bst]
[currentpost type=”toc_neighbour_by_id” label=”1″]
結果範例:
* 這是標題
* 這是另一個標題
* 這是標題
原文外掛簡介
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
Testing History
Testing History
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]
[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
= 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
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Current Post」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 1.0.5 | 1.0.6 | 1.0.7 | 1.0.8 | 1.0.9 | 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.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.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 |
延伸相關外掛(你可能也想知道)
Current Year Shortcodes 》「Current Year Shortcodes」讓你可以透過簡單的簡碼在 WordPress 網站的任何位置插入當前年份。, 在任何文章、頁面或小工具中使用簡碼 [Y] ,即可顯示當前年...。
Pagely [Show Current Template Info] 》這個外掛可以顯示您當前的模板文件資訊,您可以在管理列中看到當前模板所包含的文件名稱。同時,在管理列中也能看到當前佈景名稱和 WordPress 版本號。對於開...。
Today's Date 》這個外掛可以讓使用者透過簡碼在任何可使用的地方顯示當前日期。, 日期的樣式取決於簡碼本身的樣式。例如,如果簡碼是粗體、藍色的文字,, 那麼日期將出現為...。
Age Shortcodes 》簡介:使用 Age Shortcodes 外掛,只需要使用簡單的shortcode,就可以讓你在 WordPress 網站的任何地方插入某個人或事物的當前年齡。, , 問題與答案:, , ...。
Remove Link to Current Page 》移除在wp_list_pages()中當前頁面的連結。根據您的主題,您可能需要修改 CSS 樣式以確保您的導覽外觀良好。。
WP Current Subcategories 》安裝 WP Current Subcategories 後,前往 Widget 範圍在新加入的 WP Current Subcategories widget:, * Title – 選擇 Widget 區段的標題, * 前綴 R...。
Preload Current Images 》此外掛可讓您自動預載現有頁面上的所有圖像,包括背景圖像。這對於幻燈片非常有用,因為頁面上並非所有圖像一次顯示。通常,圖像不會在同一時間加載,使得幻...。
Show Star Sign Widget 》這個小工具會顯示目前的星座、你的星座或是一個計算機,讓使用者選擇他們的星座。, , 乾淨、簡單且具有響應式設計,可以與任何佈景主題搭配使用。, 讓使用者...。
scORE! 》scORE! 是一個 WordPress 外掛,您可以使用它輕鬆發佈每個文章條目的分數。, 這個外掛基於 Carles Company Soler 的 "punts" 外掛進行修改和增強,以使插件元...。
autometa's NOWON 》autometa 的 NOWON 外掛程式是一個簡單的外掛,它使用下列的短代碼:, , [nowon] = 產生目前時間;, [nowadays] = 產生目前日期。, , autometa 的 NOWON 外掛...。
LS IceCast ONAIR 》這是一個簡單的 WordPress 外掛,可以顯示從 IceCast 伺服器 (v2) 取得的正在播放的歌曲。, 你只需要透過管理面板設定 IceCast 伺服器地址和發佈點名稱即可,...。
Anchor Highlighter 》Anchor Highlighter 是一個外掛,會為網站上每個錨點的 href link 加入一個類別,當與實際 URL 相符時,這非常有用,例如在菜單、存檔小工具或任何其他需要的...。
CurrentStatus 》CurrentStatus 外掛可用於在您的部落格上顯示您目前的狀態和心情。文字顯示可以自定義。狀態是透過文字欄位輸入,心情可以從 155 種不同的心情中選擇。。