AnsPress_Tag::widget_positions()

Description #

Register widget position.

Source #

File: addons/free/tag.php

	public static function widget_positions() {
		register_sidebar( array(
			'name'          => __( '(AnsPress) Tags', 'anspress-question-answer' ),
			'id'            => 'ap-tags',
			'before_widget' => '<div id="%1$s" class="ap-widget-pos %2$s">',
			'after_widget'  => '</div>',
			'description'   => __( 'Widgets in this area will be shown in anspress tags page.', 'anspress-question-answer' ),
			'before_title'  => '<h3 class="ap-widget-title">',
			'after_title'   => '</h3>',
		) );
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment