如果只想限定administrator進入後台發文,其他使用前台發文的方式
則使用此plugin
front-end users plugin
http://wordpress.org/extend/plugins/front-end-users/
他可以簡易控制 不需要設立使用者群組 算是簡單有效的方法
搭配 quick-post-widget plugin做前台發文使用
wordpress
wordpress 刪除重複文章
create table my_tmp as select min(ID) as col1 from wp_posts group by post_title;
delete from wp_posts where ID not in (select col1 from my_tmp);
drop table my_tmp;