Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下查询
query_posts('category_name='.$settings['categorieslider']&'posts_per_page='.$settings['numberofslides']);
由于某种原因,它无法正常工作。
试试下面的代码
query_posts('category_name='.$settings["categorieslider"].'&posts_per_page='.$settings['numberofslides']);
你应该写cat而不是category_name
cat
category_name