그것은 당신이 당신의 주제에 어떤 것을 포함시킬 것인지에 달려 있습니다. 당신이 원하지 않는 한 그 모든 것을 필요로하지는 않습니다.
당신이 필요로하는 최소 여기에, 사이드 바의 통합을위한 예입니다
if (function_exists('register_sidebar'))
register_sidebar(array(
'before_widget' => '<div class="side">',
'after_widget' => '</div></div>',
'before_title' => '<div class="sidebar_title">',
'after_title' => '</div><div class="side_content">',
));
당신이 전이나 사이드 후에 와야한다 무엇을 할당 할 때 일반적으로 도움이됩니다.
<?php
if (function_exists('register_sidebar'))
register_sidebar(array(
'before_widget' => '<div class="side">',
'after_widget' => '</div></div>',
'before_title' => '<div class="sidebar_title">',
'after_title' => '</div><div class="side_content">',
));
// add thumbnail support to theme, options will be automatically visible in admin
if (function_exists('add_theme_support')) add_theme_support('post-thumbnails');
?>
감사 Sarfraz :
예를 들어, 내
functions.php
파일에 존재하는 모든 무엇 여기 슈타 커의 테마를 사용하여 테마를 생성합니다. 가능한 경우 WordPress 테마에 익숙하지 않아서 궁금한 점이 있습니다. 제 첫 번째 주제를 풀기 위해 검색어로 직접 이메일을 보낼 수 있다면 좋을까요? 괜찮 으면 웹 사이트에서 연락을드립니다. 감사. – tonyf