Unable to pass variable 时间:2013-12-12 作者:ashraf 我正在尝试从widget传递post-show的数量。我将其存储为$条目我的代码<?php query_posts( array(\'post_type\' => array(\'post\'),\'order\' => \'DESC\',\'posts_per_page\' => \'.$entry.\') ); ?> 谢谢 1 个回复 SO网友:ashraf 归功于Bainternet<?php query_posts( array(\'post_type\' => array(\'post\'),\'order\' => \'DESC\',\'posts_per_page\' => $entry) ); ?> 结束 文章导航