第13行 [cce_php]<?php the_image( 'twentythirteen-image-post' ); ?>[/cce_php]
改为
[cce_php]<?php the_post_format_image( 'twentythirteen-image-post' ); ?>[/cce_php]
/* 访问计数 */ function record_visitors() { if (is_singular()) { global $post; $post_ID = $post->ID; if($post_ID) { $post_views = (int)get_post_meta($post_ID, 'views', true); if(!update_post_meta($post_ID, 'views', ($post_views+1))) { add_post_meta($post_ID, 'views', 1, true); } } } } add_action('wp_head', 'record_visitors');
第13行 [cce_php]<?php the_image( 'twentythirteen-image-post' ); ?>[/cce_php]
改为
[cce_php]<?php the_post_format_image( 'twentythirteen-image-post' ); ?>[/cce_php]
学习wordpress模板的使用,用哪个对SEO才好呢?
这个对SEO没什么影响吧