ID) . '"> >>>';
}
add_theme_support('post-thumbnails');
register_nav_menu('header_menu',__('Which menu is located in the header (ver template, cap). To activate the tick', 'ooo'));
register_sidebar(array(
'mane' => __('Widgets saytbara', 'ooo'),
'id' => 'sdebar_sity',
'description' => __('Widgets side', 'ooo'),
'before_widget' => '
',
'after_widget' => '
',
'before_title' => '',
'after_title' => '
',
)
);
register_sidebar(array(
'mane' => __('Widgets menu Hats', 'ooo'),
'id' => 'header_vidget',
'description' => __('Widgets menu Hats', 'ooo')
) );
register_sidebar(array(
'mane' => __('The second widget menu Hats', 'ooo'),
'id' => 'header_vidget_two',
'description' => __('The second widget menu Hats', 'ooo')
) );
register_sidebar(array(
'mane' => __('A third widget menu Hats', 'ooo'),
'id' => 'header_vidget_three',
'description' => __('A third widget menu Hats', 'ooo')
) );
register_sidebar(array(
'mane' => __('The first basement widget', 'ooo'),
'id' => 'foorer_vi_1',
'description' => __('The first basement widget', 'ooo')
) );
register_sidebar(array(
'mane' => __('The second basement widget', 'ooo'),
'id' => 'foorer_vi_2',
'description' => __('The second basement widget', 'ooo')
) );
register_sidebar(array(
'mane' => __('Third basement widget', 'ooo'),
'id' => 'foorer_vi_3',
'description' => __('Third basement widget', 'ooo')
) );
$default_attr = array(
'src' => $src,
'class' => "img-responsive",
'alt' => trim(strip_tags( $attachment->post_excerpt )),
'title' => trim(strip_tags( $attachment->post_title )),
);
require_once( apply_filters( 'czr_init', get_template_directory() . '/fonction/option/funct.php' ) );
if (!class_exists('clean_comments_constructor')) {
class clean_comments_constructor extends Walker_Comment {
public function start_lvl( &$output, $depth = 0, $args = array()) {
$output .= '' . "\n";
}
public function end_lvl( &$output, $depth = 0, $args = array()) {
$output .= "
\n";
}
protected function comment( $comment, $depth, $args ) {
$classes = implode(' ', get_comment_class()).($comment->comment_author_email == get_the_author_meta('email') ? ' author-comment' : '');
echo '\n";
}
}
}
// hlebnii krohki
function the_breadcrumb() {
echo __('- Home
- /
', 'ooo');
if (is_category() || is_single()){
$cats = get_the_category();
$cat = $cats[0];
echo '- '.$cat->name.'
- /
';
}
if(is_single()){
echo '- ';
the_title();
echo '
';
}
if(is_page()){
echo '- ';
the_title();
echo '
';
}
echo '
';
}
function my_theme_add_editor_styles() {
add_editor_style( 'editor-styles.css' );
}
add_action( 'current_screen', 'my_theme_add_editor_styles' );
?>