官網:http://www.dagondesign.com/articles/sitemap-generator-plugin-for-wordpress
參考:http://cocolike.com/blog/wordpress-plugin-sitemap-generator-plugin.html
範例站點:http://www.iqmore.idv.tw/sitemap

WordPress 站點地圖功能,可以依照目錄來顯示文章存檔,
WordPress 預設還真沒這功能,也太糟了吧-.-!

連個「列出全部文章」都沒有,只能在分類裡慢慢翻,
而且它顯示出來的除了標題,還包括內文,
如果你沒有弄more或文章已經累積一堆時,
那就麻煩了,很難找到文章吧!要看的人也難以其入。

透過這個終於勉強達成了,但還是不是很滿意啦!
因為它是先依照目錄來分類,再可以由時間來排序標題,
沒辦法完全由時間來排列,要改程式碼吧- -,
而且它的目錄排序的依據是什麼阿@@?
後面日期和評論想要調小不知在哪用...
另外換頁的部份語系的文字出不來,怪了,
也許它不是調那的,變成只能調它的sitemap-generator.php,
還有一個(continued)也要改一下^^

它的使用方式是新增一個頁面,
內容只要打<!-- ddsitemapgen -->
就可以顯示出來了耶!帥耶~
那個不是標記嗎?不曉得它怎麼成功的,厲害!

Want to run the plugin from a template file?
To use the sitemap generator function directly from a template file, just insert the following line where you would like the sitemap to be generated:
<?php echo ddsg_create_sitemap(); ?>

Google 翻譯:
要執行的外掛程式從一個模板檔案?
使用Sitemaps產生器功能可以直接從模板檔案,只要插入以下行,其中你想網站將會產生:

另外站點地圖頁面的縮略名:
如果您使用了永久連結,請填上站點地圖頁面的縮略名,
要保持空白阿!不然顯示換頁的時候網址會變成,
http://ip/站點地圖頁面的縮略名/2/
Permalinks 不曉得是做啥用的-.-!

Permalinks for sitemap navigation
Depending on your settings, the sitemap may be spread across multiple pages. If you are using permalinks, be sure to enter the page slug of your sitemap page in the plugin options. That way it will use permalinks for the sitemap navigation as well. If you are not using permalinks, simply leave this option blank.

Google 翻譯:
永久性為網站導航
根據您的設定,網站可能分佈在多個頁面。如果您正在使用的永久性,一定要進入該網頁塞您的Sitemap頁,在外掛程式選項。這樣,它會使用永久性為網站導航,以及。如果您使用的不是永久,只要離開這個選項空白。

現在想要動隨機文章還有,
近期文章和近期迴響預設功能也蠻爛的,
什麼最多只能顯示15篇文章啦!
搞啥阿!找看看有沒有其他外掛來把它換掉。
arrow
arrow
    全站熱搜

    ca95 發表在 痞客邦 留言(0) 人氣()