0
워드 프레스는이 작업을 수행 할 수 있습니다이 이런 식으로 뭔가를 생산하는 것Wordpress 사이드 바에 "before_body"를 추가 하시겠습니까?
function _tk_widgets_init() {
register_sidebar(array(
'name' => __('Sidebar', '_tk'),
'id' => 'sidebar-1',
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
));
}
add_action('widgets_init', '_tk_widgets_init');
:
<aside>
<h3></h3>
<div class="anotherBlock">BODY</div>
</aside>
이 있습니다 :
<aside>
<h3></h3>
BODY
</aside>
내가 무엇을 할 수 있어야하는 끝낼 것입니다 가능한?