我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

自定义帖子类型作为WordPress中另一个自定义帖子类型的类别

I created a WordPress website that contains 3 custom post types.

  1. teacher

  2. class

  3. video

My requirement is

(1) when adding video I need to select the teacher's name and save it. (i.e. teacher as category in video post type)

(2) when adding classes I need to select both teacher's name and video and save it.

How do I do that?

近期文章

  • spring mvc jsp中表单提交
  • php工匠修补匠在windows pc上使用宅基地
  • Codeigniter空白屏幕 - 无法加载欢迎类
  • 上传到App Engine时出现CURLOPT_RETURNTRANSFER错误
  • 更新Google API V3脚本以允许使用刷新令牌
  • jQuery FullCalendar不会在FireFox 33.0中显示事件问题
  • 根据指定的组(EE)将“单词”(类别)插入URL
  • 当URL有效负载包含'_REQUEST'时导致403错误的原因
  • index.php包含在url中时,不显示codeigniter图像
  • 尝试从codeigniter中的不同表中获取部门名称
  • PHP循环每十分钟
  • WordPress - 裁剪缩小到精确尺寸保持成比例
  • 如何使用fputcsv存储在csv文件中时preg_replace \“with \”“
  • PHP html字符串到DOMDocument没有返回每个元素的数组
  • 安全的paypal表单提交
  • 具有钩子和PHP的权限系统
  • 在PHP字符串中取消Unicode字符
  • HHVM readfile($ url)总是写入缓冲区 - Bug?
  • Android XML Parsing:解析这种特殊的XML类型我对此没有任何想法
  • 重力形式和简单的本地化身集成

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华