[WordPress] 外掛分享: PostDivider

前言介紹

  • 這款 WordPress 外掛「PostDivider」是 2008-12-03 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2009-05-12,距離現在已有 5836 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 2.0.2 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

loveless |

外掛標籤

content | excerpt | more tag |

內容簡介

這個外掛提供了可以在「The Loop」中使用的 Hook,從 標籤前後擷取內容。如果沒有提供 MORE 標籤,它將分別返回 the_excerpt() 和 the_content()。您還可以使用一個函數來訪問所有內容,無論有沒有 MORE 標籤。

目前版本

目前版本:1.2

修訂歷史

0.1 – 在主題的 functions.php 檔案中製作
0.5 – 創建了插件,仍需要傳遞 $post->post_content 給函數
1.0 – 刪除了需要傳遞 $post->post_content 的部分
1.1 – 修正了停止 the_content() 張貼的錯誤
1.2 – 添加了一個函數來獲取所有文章內容,無論有無 MORE 標籤。

GPL

版權所有 2008 Corey Dutson (電子郵件:[email protected])

這個程式是自由軟體,在自由軟體基金會發佈的 GNU 通用公共許可證(GPL)第 2 版或(按您的意願)任何後續版本的規定下,你可以重新分配和修改它。

這個程式分發於希望它是有用的,但不帶任何保固,甚至未明示的保證,也不保證適合特定用途。詳細的內容請參閱 GNU 通用公共許可證。

您應該收到一份 GNU 通用公共許可證的副本,如果沒有,請致函於 Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA。

原文外掛簡介

Provides hooks that can be used within ‘The Loop’ to grab content from before and after the tag. If no MORE tag is provided, it will return the_excerpt() and the_content() respectively. You can also use a function to access all content, regardless of MORE tag.
Current version
Current version: 1.2
Revision History
0.1 – made within the functions.php file of the theme
0.5 – created the plugin, still required $post->post_content to be passed to functions
1.0 – removed $post->post_content to be passed in.
1.1 – fixed a bug that stopped the_content() from posting
1.2 – added function to get all post content, regardless of MORE tag
GPL
Copyright 2008 Corey Dutson (email : [email protected])
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「PostDivider」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • Do More 》使用 標籤,可以做更多的事情。此外掛會讓標籤下方的所有鏈結都加上 rel=”nofollow” 屬性。, 這款外掛非常適合想要在 的標籤,並且這個標籤後面緊接著一個常見的區塊層級元素 (如 header、div、paragraph、list 等等),則會在 ...。

文章
Filter
Mastodon