|
|
发表于 2020-8-24 10:51:51
|
显示全部楼层
Ayimuzus 发表于 2020-8-22 09:22
大佬,请问一下缩略图是如何处理的,同卡在缩略图这里,一定要下载采集的图片再设置成缩略图嘛,不能直接用 ...[ol]INSERT INTO wp_posts (post_author,post_date,post_date_gmt,post_content,post_title,post_excerpt,post_status,comment_status,ping_status,post_password,to_ping,pinged,post_modified,post_modified_gmt,post_content_filtered,post_parent,menu_order,post_type,post_mime_type,comment_count,post_name) VALUES ('','[时间转化:post_date,yyyy-MM-dd HH:mm:ss]','[时间转化:post_date,yyyy-MM-dd HH:mm:ss]','','','','','','','','','','[时间转化:post_date,yyyy-MM-dd HH:mm:ss]','[时间转化:post_date,yyyy-MM-dd HH:mm:ss]','','0','0','','','0','')insert into wp_postmeta(post_id,meta_key,meta_value)VALUES('[文章编号:wp_posts]','cao_thumbnail','')insert into wp_term_relationships(object_id,term_taxonomy_id,term_order)VALUES('[文章编号:wp_posts]','13','0')[/ol]复制代码
第二个insert就是用cao_thumbnail这个字段当图片。
https://www.zhangleilei.cn/1977.html 这是ripro修改教程 |
|