刚给Wrodpress装ypalbum插件的时候,出现过相册页面布局不整的问题,研究了好久后才解决,一直忘了贴出来。今天看到有位雪人网友在《我的WordPress及所使用的插件》一文中有问及,特意去翻了一下。现在把修改的地方贴出来,希望能给同样有麻烦的朋友帮助,毕竟Yupoo是相当不错的一个东西, 顺便也试试新装的coolcode插件怎么样。
要修改的文件为photos.php,原内容如下:
require_once('../../../wp-blog-header.php');
$tdir = get_template_directory();
?>
=get_header()?>
=get_sidebar()?>
=get_footer()?>
修改后内容如下:
require_once('../../../wp-blog-header.php');
$tdir = get_template_directory();
?>
=get_header()?>
=get_sidebar()?>
=get_footer()?>
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.