飞龙博客

妙法莲华经

test results of Smooth Slider 2.2 for wordpress slider show

feilong.org 修订于2010-05-07 02:04:38

<!-- 测试区 feilong note: you must install Smooth Slider2.2 for wordpress2.9.2 first and add at least one post of a category into the slider.Then test like feilong himself as below whose post permalink is http://feilong.org/test-smooth-slider-22 -->

<!-- ok.With the category slug 'japan-corea' . only show featured posts of the designated category of japan-corea-->
<?php if ( function_exists( 'get_smooth_slider_cat' ) ) {
get_smooth_slider_cat( 'japan-corea' ); }
?>

<!-- also ok! with ‘japan-corea’ .BUT it neglect the japan-corea category.The same result as get_smooth_slider_cat('') ?-->
<?php if ( function_exists( 'get_smooth_slider_cat' ) ) {
get_smooth_slider_cat(‘japan-corea’); }
?>

<!-- ok.Show the featured posts of the current category.Thanks to the plugin Smooth Slider2.2 for wordpress2.9.2 The author is a lovely indian girl.-->
<?php if ( function_exists( 'get_smooth_slider_cat' ) ) {
get_smooth_slider_cat(''); }
?>

<!-- if you missed the '' as below, then Warning: Missing argument 1 for get_smooth_slider_cat() .... WHY?-->
<?php if ( function_exists( 'get_smooth_slider_cat' ) ) {
get_smooth_slider_cat(); }
?>

<!-- none post displays eavn there are featured posts from current category, if with ‘’ as below......-->
<?php if ( function_exists( 'get_smooth_slider_cat' ) ) {
get_smooth_slider_cat(‘’); }
?>
<!-- /测试区 over the test feilong.org on July 7th 2010 -->

更新网址:http://feilong.org/test-smooth-slider-22
最初发布:20100507 02:01:58 feilong.org 于广州

加入收藏夹,查看更方便。

所在分类: wordpress

新作:

旧文:

飞龙前端QQ群