<?php get_header (); ?>
<style>a:link {text-decoration: none;}a:visited {text-decoration: none;}a:hover {text-decoration: none;}a:active {text-decoration: none;}</style><main class="content" title="test" id="genesis-content"><div class="breadcrumb" itemscope="" itemtype="http://schema.org/BreadcrumbList"><a href="<?php bloginfo('url'); ?>">Anasayfa</a> <span aria-label="breadcrumb separator">/</span><?php printf(__('%s','tag'),'' . single_tag_title(' ',false).''); ?></div><article class="post-682 post type-post status-publish format-standard category-ingilizce-yillik-planlar entry" itemscope="" itemtype="http://schema.org/CreativeWork"><?php printf(__('%s','tag'),'' . single_tag_title(' ',false).''); ?><table class="w3-table w3-bordered"><tbody>
<?php
$currenttag = $tag;
$args = 'showposts=50&tag=' . $currenttag ;
$the_query = new WP_Query($args); ?>
<?php while ( $the_query -> have_posts()) : $the_query -> the_post(); ?>
<tr class="w3-hover-blue-grey" style="width: 50%;float: left;"><td><a href="<?php the_permalink();?>"><?php the_title(); ?></a></td></tr>
<?php endwhile; wp_reset_query(); ?>
</tbody></table></article></main>
<?php
add_action('pre_get_posts', 'posts_per_tag_archive_page');
function posts_per_tag_archive_page( $query ){
if ( $query->is_tag() ) {
$query->set( 'posts_per_page', 1 );
return;
}
}
?>
<?php get_sidebar(''); ?>
<?php get_footer(); ?>