#permalinks

Wordpress 从 MySQL 获取文章链接 permalinks

SELECTwpp.post_title,wpp.guid,wpp.post_date,REPLACE(REPLACE(REPLACE(REPLACE(wpo.option_value,'%year%',DATE_FORMAT(wpp.post_date,'%Y')),'%monthnum%',DATE_FORMAT(...