菜单也是wp_post的对象,首先给菜单添加字段: 添加字段: add_action('wp_nav_menu_item_custom_fields', 'add_mega_menu_type_field', 10, 4); function add_mega_menu_type_field($item_id, $item, $depth, $args) { $mega_menu_type = get_post_meta($item_id, '_mega_menu_type', true); ?> ...
阅读更多 »Recent Posts
carbon fields插件
Recommended Plugins Members (by MemberPress) Features: Allows you to create and manage roles and capabilities. Restrict access to posts, pages, or custom taxonomies (like categories). Integrates seamlessly with custom categories. How to Use: Install and activate the plugin. ...
阅读更多 »All in one无限制上传插件扩展
在wp-content下面新建ai1wm-backups文件夹,将备份文件上传,然后在管理面板里面点击backup,点击三个点,然后点击restore. 这个插件提示要更新点击下更新即可。 点我进行下载
阅读更多 »
WP开发教程 WordPress导师在线教程