防google自动补齐,异步调用数据 $(document).ready(function(){ //表示当前高亮的节点 highlightindex = -1; var timeoutId; var wordInput = $("#word"); var wordInputOffset = wordInput.offset(); $("#auto").hide().css("border","1px black solid").css("position","absolute").css("
如果你制作了一个主题,需要新建很多页面才能够完美工作,那么在使用者激活主题的时候自动新建页面将会给主题的使用省略很多设置步骤。
创建文章使用的函数为wp_insert_post();使用方法如下
[ ] //Are you updating an existing post?
'menu_order' => [ ] //If new post is a page, it sets the order in which it should appear in the