daily pastebin goal
79%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.         $query = new WP_Query( 'page_id=123' );
  3.         echo '<h1 class="siteheading"> <a href="<?php the_permalink(); ?>"> <?php the_title(); ?></a></h1>';
  4.  
  5.         $headline = get_post_meta($post->ID, "_headline", true);
  6.             if($headline != "") $headline = '<h2>'.$headline.'</h2>';
  7.             echo '<div class="center">';
  8.                     if($headline != "") echo '$headline';
  9.             echo '</div>';
  10.  
  11.         echo '<?php the_content();?>';
  12.     ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top