[WordPress] 外掛分享: Travelog Plugin

首頁外掛目錄 › Travelog Plugin
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
全新外掛
安裝啟用
尚無評分
7217 天前
最後更新
問題解決
v0.0 上架:2005-08-27

內容簡介

安裝

從這個檔案中上傳「travelog」資料夾到您位於網頁伺服器上的 /wp-content/plugins/ 資料夾。
在 WordPress 的網站管理員外掛頁面啟用「Travelog」外掛。
修改您的 WordPress 主題以便在文章摘要視圖中顯示位置資訊。最簡單的方式是使用標準 Travelog 輸出函數 travelog_summary_info(),這可以通過在 index.php 文件的文章標題部分之後添加以下代碼來完成。對於默認主題,您需要更改:

<a href="” rel=”bookmark” title=”Permanent Link to “>

<!– by –>

為:

<a href="” rel=”bookmark” title=”Permanent Link to “>

<!– by –>

對 archive.php 和 search.php 做出相似的修改。或者,您可以使用 Travleog 的 PHP 函數創建自己的自定義位置資訊輸出,這些函數在下面列出並進行了描述。 4. 修改您的 WordPress 主題,以便在詳細視圖中顯示文章的位置資訊。最簡單的方法是使用 Travelog 的標準輸出函數 travelog_single_info(),這可以通過在 single.php 文件的文章日期資訊之後添加以下代碼來完成。對於默認主題,您需要更改:

on at
and is filed under .

為:

on at
and is filed under .

同樣地,您可以使用 Travelog 的 PHP 函數創建自己的自定義輸出。下面列出的庫存旅行信息功能也可以用於創建您自己的自定義設置。 5. 點擊 WordPress 網站管理員中「選項」頁面子選單中的「Travelog」,以檢視 Travelog 選項。 6. 點擊 WordPress 網站管理員中「管理」頁面子選單中的「Travelog」,開始添加旅行位置。

組件

Travelog 選項:此頁面讓您控制有關 Travelog 如何運作的一些基本設定。您可以通過點擊 WordPress 的網站管理員中「選項」頁面子選單中的「Travelog」來訪問此頁面。
Travelog 位置管理員:此頁面顯示您的 Travelog 中位置的摘要資訊。您可以通過點擊 WordPress 的網站管理員中「管理」頁面子選單中的「Travelog」來訪問此頁面。
Travelog 位置編輯器:此頁面讓您更新/更改與位置相關聯的任何資訊,並可選擇顯示該位置的嵌入式地圖。要訪問此頁面,單擊 Travelog 位置管理器中要編輯的位置旁邊的「編輯」鏈接。
Travelog 分類管理員:此頁面讓您添加/編輯/刪除 Travelog 分類,以幫助保持您的 Travelog 有組織。要訪問此頁面,轉到 Travelog 位置管理器,然後在主選單下方點擊「分類」選項卡。
Travelog 的「編輯文章」組件:此表單附加到「編輯文章」頁面,可讓您選擇要與正在編輯的文章關聯的位置,或可選地創建一個新位置與其關聯。要訪問此頁面,按照正常的文章編輯流程,進入網站管理員的「管理」頁面,然後按下要編輯的文章,或在您以管理員身份登錄的博客下方的文章下方點擊編輯鏈接。

用法和許可證

Travelog 外掛程式根據 GPL(與 WordPress 使用相同的許可證)授權,簡而言之,您可以自由地使用、分發和修改此外掛程式。若您在網站中使用它,我會很感激您[http://www.sublimity.ca/2005/09/01/travelog/#coments留下一個註解]。

開發者團隊

⬇ 下載最新版 (v0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Travelog Plugin」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Installation

Upload the ‘travelog’ folder from this archive to your /wp-content/plugins/ folder on your webserver.
Active the “Travelog” plugin in WordPress’s Site Admin Plugins page.
Modify your WordPress theme so that location information is displayed for posts in summary view. The easiest way to do this is to use the standard Travelog output function, travelog_summary_info(). This is done by adding the following code to your index.php file, right after the post title section. For the default theme, you would change:


Make similar modifications to archive.php and search.php. Alternatively, You can create your own customized location information output using the Travelog’s PHP functions, which are listed and described below. 4. Modify your WordPress theme so that location information is displayed for posts in detail view. The easiest way to do this is to use the standard Travelog output function, travelog_single_info(). This is done by adding the following code to your single.php file, right after the post date information. For the default theme, you would change:
on at
and is filed under .
to be:
on at
and is filed under .
Again, you can create your own custom output using Travelog’s PHP functions listed and described below. 5. Review the Travelog options by clicking on Travelog on the Options page sub-menu of WordPress’s Site Admin. 6. Start adding locations to your Travelog by clicking on Travelog on the Manage page sub-menu of WordPress’s Site Admin
Components

Travelog Options: This page let’s you control some basic setting about how your Travelog works. You can access this page by clicking on Travelog in the sub-menu on the Options page of WordPress’s Site Admin.
Travelog Locations Manager: This page shows summary information for the locations in your Travelog. You can access this page by clicking on Travelog in the sub-menu on the Manage page of WordPress’s Site Admin.
Travelog Location Editor: This page lets you update/change any of the information associated with a location, and optionally shows an embedded map of the location. To access this page, click the ‘Edit’ link next to the location you want to edit in the Travelog Location Manager.
Travelog Categories Manager: This page lets you add/edit/remove Travelog categories to help keep your Travelog organized. To access this page, go to the Travelog Location Manager, and click on the ‘Categories’ tab just below the main menus.
Travelog’s ‘Edit Post’ Component: This form is attached to the ‘Edit Post’ page and allows you to select which location to associate with the post you’re editing, or optionally create a new location to associate with that post. To access this, follow normal post editing procedure, either go to the Site Admin’s Manage page and click on the post to edit, or click the edit link that appears below the post on your blog while you are logged in as an administrator.

Usage & License
The Travelog plugin is licensed under the GPL (the same license that WordPress uses), and to sum it up, you can freely use, distribute and modify this plugin however you desire. If you do use it on your site, I’d appreciate you [http://www.sublimity.ca/2005/09/01/travelog/#coments leaving a comment on my site] telling me what you think about it, but it’s more to satisfy my curiousity about what ends up happening to this little project of mine than anything else, so it’s not a big deal.
If you find any bugs (I’m sure there are some in here), or have ideas about things you’d like to see in future releases of this plugin, [http://www.sublimity.ca/2005/09/01/travelog/#coments please let me know] (especially if you’d like to help implement them). I’ll do my best to implement suggestions, but I can’t make any rock-solid promises as there is more to life than coding…
Change Log

延伸相關外掛

文章
Filter
Apply Filters
Mastodon