內容簡介
AsideShop 是一款 WordPress 外掛,允許您以不同的方式顯示側邊文章在部落格首頁,而且不需要修改佈景主題的樣板。
功能:
不需要編輯和修改佈景主題樣板- 使用您自己的。
在 WordPress 管理員面板內輕鬆建立小樣板,以在首頁上以不同方式顯示文章。
模板可包含數十個預定義的標籤,用於文章和評論 (例如%posts_title%,%comments_count%等)。
將模板指定給包含側邊文章的分類。
測試模式可讓您在世界看到之前預覽首頁上的更改。
不會向分類或文章添加任何額外的數據,AsideShop會注意自己的設置。
在AsideShop停用時,所有文章將被顯示為常規文章。不會有任何損失。
與文本過濾器 (Markdown, Textiler),緩存插件 (WP_Cache,WP_Super_Cache) 和其他插件完美配合。
可能無法與使用The Loop的不尋常方式的插件和佈景主題配合。
AsideShop主要用於側邊文章,但您可以使用它來根據文章所屬的分類以不同的方式解析文章。
ChangeLog在其他注意事項選項卡中提供。
更新日誌
1.2
修復了一個錯誤,如果在AsideShop模板中使用% post_tags%標籤,會導致帖子標籤消失。 (感謝tquizzle指出此問題。)
如果您正在使用WordPress 2.2,則不應升級到AsideShop 1.2。
1.1
修正在某些WordPress 2.8和2.9系統上引起無限循環的錯誤。現在改用the_post hook代替WP_Query override。 (對於WordPress 2.7和更早版本,仍然使用WP_Query override,但我將在不久的將來停止支持這些版本。)
感謝Chris McLaren為其在WordPress 2.8和2.9系統上使AsideShop成為可能的工作。
1.0.9
使用WordPress 2.8和2.9進行測試。
1.0.8
修復了導致設置頁面上的複選框以意外方式選中和取消選中的錯誤。
已通過WordPress 2.7 beta1測試。
1.0.7
添加了搜尋查看選項,以啟用/禁用搜尋結果頁面中的側邊文章解析。
新增新標籤 - %post_date_regular%,用於顯示每個側邊文章的發布日期,而不僅僅是當天的最新日期。
1.0.6
檢查兼容性WordPress 2.6。
修復了一個錯誤,當安裝在新的WordPress安裝上時,AsideShop顯示錯誤。
安裝在新的WordPress安裝上時,“ Parse on Front Page''選項已被默認選中。
1.0.5
添加了新標籤%post_categories%和%post_tags%,以顯示側邊文章的類別和標籤。多個類別或標籤將用逗號分隔。 (%post_tags%僅適用於WordPress 2.3及其以上版本。)
新增由Gianni Diurno翻譯的意大利語翻譯。
西班牙語翻譯文件的名稱由asideshop-es更改為 asideshop-es_ES 。
外掛標籤
開發者團隊
原文外掛簡介
AsideShop is a WordPress plugin which allows you to show aside posts on your blog’s front page in a different way without theme template modification.
Features:
No need to edit and modify theme templates – use your own.
Easily create small templates within WordPress Administration Panel to display posts differently on the front page.
Templates can contain dozens of pre-defined tags to use for posts and comments (e.g. %posts_title%, %comments_count%, etc.).
Assign templates to categories which contain aside posts.
Testing mode lets you preview the changes on the front page before the world sees it.
No extra data is added to categories or posts – AsideShop minds its own settings.
Upon AsideShop deactivation, all your posts are displayed as regular posts. Non-destructively.
Works fine with text filters (Markdown, Textiler), caching plugins (WP_Cache, WP_Super_Cache) and other plugins.
May not work with plugins and themes which use The Loop in uncommon way.
AsideShop is primarily intended to use with aside posts but you can use it to have posts parsed differently according to the categories the posts are placed in.
ChangeLog is available on the Other Notes tab.
ChangeLog
1.2
Fixed a bug which caused a disappearance of post tags if %post_tags% tag was used in AsideShop template. (Credit goes to tquizzle for pointing this out.)
You should not upgrade to AsideShop 1.2 if you are using WordPress 2.2.
1.1
Fixed a bug which causes endless loop on certain WordPress 2.8 and 2.9 systems. Now uses the_post hook instead of WP_Query override. (For WordPress 2.7 and earlier versions WP_Query override is still used but I will drop support for these versions in near future.)
Credit goes to Chris McLaren for his work on making AsideShop on WordPress 2.8 and 2.9 systems possible.
1.0.9
Tested with WordPress 2.8 and 2.9.
1.0.8
Bug fixed which caused checkboxes on settings page check and uncheck in unintended matter.
Tested with WordPress 2.7 beta1.
1.0.7
Added Search View option to enable/disable aside post parsing in search result pages.
Added new tag – %post_date_regular% to display post date on every aside post not just the lastest one in particular day.
1.0.6
Checked compatibility with WordPress 2.6.
Fixed a bug when AsideShop shows an error if installed on a fresh WordPress installation.
When installed on a fresh WordPress installation, ‘parse on Front Page’ option is selected by default.
1.0.5
Added new tags %post_categories% and %post_tags% to display categories and tags of aside posts. Multiple categories or tags will be separated by commas. (%post_tags% will only work with WordPress 2.3 and later releases.)
Added Italian translation by Gianni Diurno.
Spanish translation files were renamed from asideshop-es to asideshop-es_ES. This should work with common Spanish translations.
1.0.4
Added options to choose whether templates should be parsed on front, category, tag, date, author, archive view pages.
Default template is offered upon adding new template.
Added Spanish translation by Marcelo Lynch.
1.0.3
Settings panel has WordPress 2.5 native looks.
Translation
If you wish to translate AsideShop, use asideshop.pot file which is included in the download. E-mail me at miro [at] apollo [dot] lv and I will include your translation in future releases.
Known Issues
If AsideShop plugin is enabled, logged in user won’t see Edit This Post link as there is no such tag to use in templates.
If AsideShop plugin is enabled, templates created in WordPress Administration Panel have higher priority than those create in theme templates (using is_aside() function).
If text filter plugins are used (Textile, Markdown, etc), WordPress wraps the text in paragraph tags (
..
) while parsing. Therefore if you use %post_content_filtered% tag in AsideShop templates, the text will also be wrapped in paragraph tags.
If a post is placed in several categories and at least one category of these is selected as containing aside posts, the post will be displayed as an aside post according to the template which is assigned to the first category (in alphabetical order).
If you split aside post with tag, only the part before is displayed with %post_content% and %post_content_filtered% tags.
