內容簡介
這個外掛新增了一個名為 ‘trackback_template()’ 的樣板標籤,可以顯示一篇文章/頁面的追蹤回應列表。對於使用分離式評論系統(例如 Disqus)的網站來說特別有用。
修改樣板
預設情況下,此外掛會將追蹤回應以無序清單的方式顯示在帶有 ID 為「trackbackslist」的 div 元素內,而列表上方會有一個標題為「Trackbacks」的 h3 標籤。
另外,如果您對 HTML 和 PHP 編輯感到熟悉,您可以在您的樣板資料夾中新增一個名為 trackbacks.php 的檔案,外掛會使用此檔案來設計追蹤回應列表的顯示方式。
外掛資料夾中的 trackbacks.php 檔案包含預設的程式碼,是自訂樣板的好起點。將其複製到您的樣板資料夾中,外掛將會使用此檔案作為預設樣板。
外掛標籤
開發者團隊
原文外掛簡介
Adds a template tag ‘trackback_template()’ that displays the list of trackbacks for a post/page. This is especially useful for
sites that are displaying the comments using a seperate service (i.e. Disqus).
Modifying the template
By default the plugin displays the trackbacks as an unordered list inside a div with the id “trackbackslist” with a h3 heading “Trackbacks” above the list
Alternatively if you’re comfortable with editing HTML & PHP you can add a file called trackbacks.php into your template folder and the plugin will use that to style this list.
The file trackbacks.php in the plugin folder contains the default code & is a good starting point for customising your own template. Copy it into your
template folder and it will be used instead of the default file.
