整合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:

About johnpupu

..........
This entry was posted in wordpress and tagged , . Bookmark the permalink.

Leave a Reply

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

*

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>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word