Category Archives: wordpress

更新wordpress by using diff&patch

剛剛看了priv 的blog
也順手也試試這樣的更新方法。!!!!
整個說整個很順!!!!!
非常的方便的方法 ::-p:

Posted in wordpress | Tagged | Leave a comment

整合WPG2 TO WordPress

1.先安裝WPG2 把wp-gallery2.php放到wordpress的根目錄 把wp-content/plugins/wpg2 的wpg2 放到 wordpress的根目錄/wp-content/plugins/ 把wp-includes/js/tinymce/plugins/g2image 的g2image 放到 wordpress的根目錄wp-includes/js/tinymce/plugins/ 然後去wp後台啟動就好了 指定你的gallery2的首頁 然後再去Embedded Page Options 調整gallery2 和wordpress 的版型,才不會”破版”
2.因為我個人覺得wpg2上的gallery2的字太小了 所以我就去改了一下他的font-size 在WPG2 的 FAQ 有提到
#gallery {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 62.5%; <— Increase / Adjust This..
color: #333;
background-color: #fff;

}
基本上這樣就差不多了~~
PS:
剛剛發現我有加gallery2裡面的圖片區塊的功能
原本給的連結是
< ?php @readfile('http://gallery.johnpupu.tw/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=none'); ?>
不過這樣會連到gallery.johnpupu.tw去
我想讓他整直在WPG2上看
所以就把他改成
< ?php @readfile('http://blog.johnpupu.tw/wp-gallery2.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=none'); ?>
挺白痴的~~::-p:

Posted in wordpress | Tagged , | Leave a comment

增加MSN表情符號

一直以後來想要把這個加上去了啦!!! (h)
先去抓MSN表情符號的plugin 他的安裝如下

Download the smiley image files: smilies2.tar.gz.
Extract it in your WordPress installation directory. It should create the directory ’smilies’ with MSN and Yahoo! smilies in it.
Download the plugin: im_smiley.txt.
Edit the plugin file. Near the top of the file, you can choose whether to use Yahoo! or MSN style smileys. You can also choose to [...]

Posted in wordpress | Tagged | Leave a comment