WordPress Plugin – Snap Preview Anywhere

Snap 即時顯示連接預覽服務已經在我的 Blog 服務了好長的一段時間,今天心血來潮前往官方網站看看有什麼新的玩意兒,居然發現 Snap 提供了繁體中文的預覽框介面及預覽框顏色組合可讓使用者依自己的網站選擇適當的預覽框參數。

變更預覽框參數後才想起,我還必須把變更後的預覽框參數語法黏到我的 footer.php 頁面才算完成,真是太麻煩了。幸虧 Ajay – On the Road called Life! 知道人間疾苦, 寫了 Snap Preview Anywhere Plugin 這個 WordPress 的 Plugin,讓我可以二話不說地把 footer.php 頁面中的 Snap 語法刪除,直接透過該 Plugin 來修改外觀。

 安裝步驟:
 1. 複製 def-link 資料匣至路徑 wp-content/plugins 下。
 2. 前往 WordPress Plugin 管理頁面啟用 Snap Preview Anywhere Plugin。
 3. 前往 WordPress Admin > Option > SPA 設定頁。
 4. SPA Key 欄位輸入 Snap 提供給你的專屬序號。

至於該如何得知 Snap 的專屬序號?很簡單,當你在 Snap 官方網頁完成你的預覽框參數設定後,從 Snap 派發給你的語法中即可得知。例如以下的 Snap 語法範例中,key=a7126901d07c428aa782950f019937df 即是您的 SPA Key。

<script defer="defer" id="snap_preview_anywhere" type="text/javascript" src="http://spa.snap.com/snap_preview_anywhere.js?ap=1&amp;key=a7126901d07c428aa782950f019937df&amp;sb=0&amp;th=silver&amp;cl=0&amp;si=0&amp;oi=0&amp;lang=zh-tw&amp;domain=www.james-only.com"></script>




Tags:

This entry was posted on Friday, April 6th, 2007 at 12:06 am and is filed under Wordpress Plugin. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

3 Responses to WordPress Plugin – Snap Preview Anywhere

  1. Comment by bonnie

    可以把code直接貼在網誌的CSS語法裡嗎??
    是貼在BODY之後嗎??
    我試了好幾次都沒結果,word press plugin的網頁我看不太懂>

  2. Comment by 無法顯示網頁

    dear bonnie,
    怎麼在無名使用 Snap 的服務?
    你可以試著參考這篇文章:http://www.wretch.cc/blog/MizCheng&article_id=15476297

  3. Comment by bonnie

    謝謝你~~我成功啦!!!哈哈哈哈哈!!

Leave a Reply

Your email address will not be published. Required fields are marked *

Connect with Facebook

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">