When working with WordPress posts and you want to quickly change the status or date of one or more posts, it’s a simple affair via the built-in bulk and quick edit tools. However, when you’re dealing with custom post types and fields, it’s not so easy.

Please See The Update Below.

Until now…

During a recent tasking to help the Media Burn Archive with speeding up mass updates for video meta fields, we found the easiest solution to be via WordPress’s action calls. Specifically thebulk_edit_custom_boxandquick_edit_custom_boxactions.

While reading the documentation forbulk_edit_custom_boxandquick_edit_custom_boxinitially only gave a clue, two further references shed more light to really getting things done.

  • Manage WordPress Posts Using Bulk Edit and Quick Edit
  • Saving custom fields in quick or bulk edit mode in WordPress

While putting all of these resources together helped greatly, the final solution adapts for custom post types and minor security checks. There’s still more to do, but for now, It’s Good Enough.

Feel free to check out the code via downloading below.

The Code

  • Gist code
  • video-quick-edit.zip

Screenshots

Bulk Edit results
Bulk Edit screen
Bulk Edit selection
Quick Edit link and screen
Quick Edit results

Even better now!

I just wrote the Custom Bulk/Quick Edit plugin for WordPress. There’s also a premium version as well to enable working with custom post types.

转载于:https://www.cnblogs.com/huangcong/p/4551097.html

黄聪:wordpress如何添加自定义文章快速编辑按钮相关推荐

  1. wordpress简捷按钮_通过在WordPress帖子中添加快速编辑按钮来节省时间

    wordpress简捷按钮 Have you ever made a mistake in your old WordPress posts and realized it when your use ...

  2. 黄聪:解决wordpress定时发布文章失败”丢失计划任务”的插件

    解决wordpress定时发布文章失败  丢失计划任务的插件WP Missed Schedule使用 插件主页下载:http://wordpress.org/extend/plugins/wp-mis ...

  3. alter table add column多个字段_WordPress 在文章列表快速编辑中编辑自定义字段

    在快速编辑中添加自定义字段,通常我们不需要在 WordPress 后台文章列表的"快速编辑"菜单中进行更改,但有的时候如果可以把常用的设置添加到"快速编辑"菜单 ...

  4. 黄聪:《跟黄聪学WordPress插件开发》

    续<跟黄聪学WordPress主题开发>之后,又一个作品完成!<跟黄聪学Wordpress插件开发>,国内最好的Wordpress插件开发视频教程!! 目录预览: WordPr ...

  5. 黄聪:wordpress教程

    又一个作品完成!<跟黄聪学Wordpress主题开发>,国内最好的Wordpress主题模版开发视频教程!! 目录预览: WordPress官方源文件层式结构讲解 WordPress数据库 ...

  6. 黄聪:《跟黄聪学WordPress主题开发》

    又一个作品完成!<跟黄聪学Wordpress主题开发>,国内最好的Wordpress主题模版开发视频教程!! 目录预览: WordPress官方源文件层式结构讲解 WordPress数据库 ...

  7. 黄聪:wordpress后台加载ajax.googleapis.com导致打开速度很慢的解决方案

    黄聪:wordpress后台加载ajax.googleapis.com导致打开速度很慢的解决方案 参考文章: (1)黄聪:wordpress后台加载ajax.googleapis.com导致打开速度很 ...

  8. WordPress在前台文章页添加后台编辑该文章按钮

    在完善主题(wpsite 主题)的过程中,碰到这样一个问题,如何给 wordpress 文章页面添加一个编辑按钮呢?也就是当用户登录并有权限的时候,可以直接点击该按钮去后台编辑该文章,这对于陌小雨这种 ...

  9. wordpress在前台文章界面添加编辑按钮

    原文:wordpress在前台文章界面添加编辑按钮 今天来小站看个以往文章,有个错误想改下,发现我这主题竟然没有编辑按钮能够直达编辑界面,囧,于是网上找了下前台文章界面怎么添加编辑按钮,发现非常简单( ...

  10. WordPress文章内容编辑,wp文章在线批量编辑,wp文章内容可视化编辑器

    WordPress文章内容更新是SEO中比较让大家焦虑的事情.每天WordPress文章内容的高质量的发布更新是一个烦杂的工作. 我们知道搜索引擎通过蜘蛛抓取我们每天更新的URL.搜索引擎会根据蜘蛛抓 ...

最新文章

  1. Packet tracer软件安装,模拟网络搭建【Packet tracer安装和使用】
  2. HashMap 实现原理及源码解析(jdk8 底层⽤的是数组+链表/红⿊树)
  3. Redis面试刁难大全
  4. 五步法建设你的数据中台
  5. 数据库基础(2)选择,投影,连接,除法运算
  6. Matches UVA - 11375 递推+大数 Ingenuous Cubrency UVA - 11137 递推
  7. 汇编 fsub ,fmul,fdiv,fild,CVTTPS2PI 指令
  8. 360云盘 linux客户端,360安全云盘Linux界面版下载,包括深度版,支持龙芯/兆芯/飞腾芯片...
  9. STM32F103C8T6以寄存器方式借助面包板搭建电路点亮LED流水灯详解
  10. java微信公众号图文消息
  11. Integer、new Integer()和int的区分与比较
  12. 入行大数据,需要学习哪些基础知识?
  13. 【学习笔记】计算机时代的统计推断(Bradley Efron and Trevor Hastie 著)
  14. 现在开始 -- Steve Pavlina
  15. 第三空间与第四空间的幻想(序言篇)
  16. GitCracken
  17. 28岁存款6万的我裸辞了
  18. 我的互联网运营学习之旅:会当凌绝顶,一览众山小
  19. node.js笔记(千锋kerwin老师同款)
  20. YOLOV5源码的详细解读

热门文章

  1. html5数组循环右移,下面的程序代码实现将一个一维数组中元素向右循环移动 移位次数由文本框Text输入。例如数组各元素...
  2. error: possibly undefined macro: LT_SYS_SYMBOL_USCORE please use m4_pattern_allow
  3. 感慨公交车766路调整
  4. 帮助干活,朋友馈赠了购物卡
  5. CENTOS取消锁屏功能
  6. LINUX编译时缺少头文件,查找依赖库的终极解决办法
  7. __cdecl operator new(unsigned int) (??2@YAPAXI@Z) 已经在 LIBCMT.lib(new.obj) 中定义
  8. 编译OpenJDK8:Your cygwin is too old. You are running but at least cygwin 1.7 is required
  9. 龙芯指令集也可以开源
  10. UBUNTU设置环境变量MALLOC_CHECK_=1检查内存