Tags::widget_positions()
Description #
Register widget position.
Source #
File: addons/tags/tags.php
public 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/tags/tags.php:161
Add your comment