首先是基本的操作符,跟符号本身意思一样。 = equals 等于 != does not equal 不等于 > greater than 大于 >= greater than or equal to 大于等于 < le .....
Read More首先是基本的操作符,跟符号本身意思一样。 = equals 等于 != does not equal 不等于 > greater than 大于 >= greater than or equal to 大于等于 < le .....
Read Morewordpress文章上一篇下一篇跳转到相同分类, <?php $post_id = $post->ID; // current post ID $cat = get_the_category(); $current_cat_id = $cat .....
Read More如果你query要设置一篇为特色文章放大,其他几篇放小的话,如何设置才能不重复单独放大一篇呢,要用到wp query的属性之一,post__not_in. 你可以在第一个 .....
Read More代码使用的时候去掉注释就好。 /* WPCOVID-19 */// if( ! class_exists( ‘WPCOVID19_CLASS’ ) ){// add_action( ‘admin_menu’, & .....
Read Moreadd_meta_box(), meta box是container 所有fields的容器。
Read More