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>',
) );
}
Expand full source code Collapse full source code View on GitHub: addons/free/tag.php:154
Add your comment