文章分类 - WordPress
摘要:WP_Tax_Query: https://github.com/WordPress/WordPress/blob/master/wp-includes/class-wp-tax-query.php WP_Meta_Query: https://github.com/WordPress/WordPr
        阅读全文
                
摘要:#判断是否为管理员 is_admin() #首页判断函数 is_home() is_front_page() is_home() && !is_pade() #文章和页面判断函数 is_single() //是否为文章页 is_single('17') //当id为17的文章单独显示时. is_si
        阅读全文
                
                    
                
浙公网安备 33010602011771号