update wp_posts set id = 147 where id = 148;
update wp_term_relationships set object_id = 147 where object_id = 148;
update wp_postmeta set post_id = 147 where post_id = 148;
update wp_comments set comment_post_ID = 147 where comment_post_ID = 148;
以上就是安达网络工作室关于《Wordpress修改某篇文章ID(把ID为148的改成147)的SQL语句》的一些看法。更多内容请查看本栏目更多内容!
本文实例总结了wordpress随机调用显示文章的办法。分享给大家供大家参考。详细办法如下: 在wordpress中要随...
comments_template()(获取评论模板) comments_template() 函数用来获取评论模板,普通只能用在文章或许页...
函数is_singular()检测后果为true,当上面其一前往true时:is_single()、is_page()、is_attachment()。 假如...
首先从wordpress顺序index.php动手: 复制代码代码如下:define('WP_USE_THEMES', true); /** Loads the Wor...
本文实例讲述了WordPress评论中制止HTML代码显示的办法。分享给大家供大家参考。详细剖析如下: 应用WordPr...
判别置顶文章 is_sticky() 函数用来判别一篇文章能否为置顶文章。 用法 is_sticky( $post_id ); 参数 $p...