Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $query = new WP_Query( 'page_id=123' );
- echo '<h1 class="siteheading"> <a href="<?php the_permalink(); ?>"> <?php the_title(); ?></a></h1>';
- $headline = get_post_meta($post->ID, "_headline", true);
- if($headline != "") $headline = '<h2>'.$headline.'</h2>';
- echo '<div class="center">';
- if($headline != "") echo '$headline';
- echo '</div>';
- echo '<?php the_content();?>';
- ?>
Add Comment
Please, Sign In to add comment