[ create a new paste ] login | about

Link: http://codepad.org/wJGfBkFA    [ raw code | output | fork ]

PHP, pasted on Feb 15:
1
2
3
4
5
6
7
8
9
10
11
12
<?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 get_sidebar(''); ?>
<?php get_footer(); ?>


Output:
1
2

Fatal error: Call to undefined function get_header() on line 1


Create a new paste based on this one


Comments: