voceconnect/voce-post-meta-widgets 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

voceconnect/voce-post-meta-widgets

最新稳定版本:1.0.1

Composer 安装命令:

composer require voceconnect/voce-post-meta-widgets

包简介

Extension of Voce Post Meta API to add widgets meta field

README 文档

README

=== Voce Meta Post Meta Widgets ===
Contributors: matstars, markparolisi, banderon, voceplatforms
Tags: post, meta, widgets, widget area
Requires at least: 3.5
Tested up to: 4.0
Stable tag: 1.0.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

== Description ==

Extend Voce Post Meta to add widget areas into posts

== Installation ==

  1. Upload voce-post-meta-widgets to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

== Example ==

add_action('init', function() {
	if ( class_exists('Voce_Meta_API') ) {
		add_metadata_group( 'demo_meta', 'Page Options', array(
			'capability' => 'edit_posts'
		));
		add_metadata_field( 'demo_meta', 'demo_widgets', 'Demo Widget Area', 'widgets' );

		add_post_type_support( 'post', 'demo_meta' );
	}
});

== Display the sidebar on a page ==

if( class_exists( 'Voce_Post_Meta_Widgets' ) && !dynamic_sidebar( Voce_Post_Meta_Widgets::WIDGET_ID_PREFIX . $group_name . '_' . $field_name . '_post_id_' . get_the_ID() )): endif;

== Changelog ==
= 1.0.1 =

  • Fixing conflict with hooks causing saving issues

= 1.0.0 =

  • Initial release

统计信息

  • 总下载量: 75
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 11
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPLv2
  • 更新时间: 2014-12-16