Bendeki functions.php içeriği şu şekilde :

// Register Custom Navigation Walker
require_once get_template_directory() . '/wp-bootstrap-navwalker.php';


if (function_exists('register_sidebar'))
register_sidebar( array(
'name' => __( 'Sidebar', 'mysite' ),
'id' => 'sidebar-1',
'before_widget' => '',
'before_title' => '

',
'after_title' => '

',
) );


/**
* Enable Custom Logo in Appearance > Customize
*/
add_theme_support( 'custom-logo' );

/**
* Custom function for displaying the logo
*/
function sage_custom_logo() {
if ( function_exists( 'the_custom_logo' ) ) {
$custom_logo = '' . get_bloginfo( 'name' ) . '';
echo $custom_logo;
}
}
/*POPULER YAZILAR*/
add_theme_support( 'post-thumbnails');
set_post_thumbnail_size( 640,250,true);
add_image_size('single-post-thumbnail', 640,250 );

/* POPULER YAZILAR */
function wpb_set_post_views($postID) {
$count_key = 'wpb_post_views_count';
$count = get_post_meta($postID, $count_key, true);
if($count==''){
$count = 0;
delete_post_meta($postID, $count_key);
add_post_meta($postID, $count_key, '0');
}else{
$count++;
update_post_meta($postID, $count_key, $count);
}
}
remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0);
/* #POPULER YAZILAR */


?>