single.php dosyasına adsense kodu eklemek istiyorum ama harf bile yazsam otomatikmen 500 server error hatası almaktayım.
<?php
/**
* The template for displaying all single posts
*
* @package WordPress
* @subpackage sss_BLOG
* @siStreetStyleiana Blog 1.0
*/
global $STREETSTYLE_GLOBALS;
$STREETSTYLE_GLOBALS['show_page_title'] = streetstyle_get_theme_option("single_top_title");
get_header();
while ( have_posts() ) { the_post();
get_template_part( 'content', get_post_format() );
// Previous/next post navigation.
if(streetstyle_get_theme_option("single_post_navigation") == 'yes') {
the_post_navigation(array(
'next_text' => '<span class="meta-nav" aria-hidden="true">' . esc_html__('Next', 'streetstyle') . '</span> ' .
'<span class="screen-reader-text">' . esc_html__('Next post:', 'streetstyle') . '</span> ' .
'<h4 class="post-title">%title</h4>',
'prev_text' => '<span class="meta-nav" aria-hidden="true">' . esc_html__('Previous', 'streetstyle') . '</span> ' .
'<span class="screen-reader-text">' . esc_html__('Previous post:', 'streetstyle') . '</span> ' .
'<h4 class="post-title">%title</h4>',
));
}
// Related posts
require streetstyle_get_file_dir('/templates/post-related.php');
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) {
comments_template();
}
get_template_part( 'templates/counter' );
}
get_footer();
?>Yardımlarınızı bekliyorum.
