function mystique_page() { global $post, $id, $comment; $tags = get_the_tags(); $comment_count = mystique_comment_count('comments'); do_action('mystique_before_page'); ?> <!-- post --> <div class="<?php mystique_post_class("clear-block"); ?> "> <?php $hide_title = get_post_meta($post->ID, 'hide_title', true); if (!$hide_title) { ?> <h1 class="title"> <?php the_title(); ?> </h1> <?php } the_content(); wp_link_pages(array('before' => '<p><strong>' . __("Pages: ", "mystique") . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); if (function_exists('wp_print')) { ?> <div class="alignright"><?php print_link(); ?> </div><?php } edit_post_link(__('Edit this page', 'mystique')); ?> </div> <!-- /post --> <?php do_action('mystique_after_page'); }
<?php if ($rp_query && $rp_query->have_posts() && $jquery) { ?> <!-- related posts --> <div class="section" id="section-relatedPosts"> <?php $backup = $post; while ($rp_query->have_posts()) { $rp_query->the_post(); ?> <!-- short post --> <div id="post-<?php the_ID(); ?> " class="<?php mystique_post_class(); ?> "> <?php mystique_post_thumb(); ?> <h3 class="title"><a href="<?php the_permalink(); ?> " rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?> "><?php the_title(); ?> </a></h3>
<div class="alignleft"><?php previous_post_link('« %link'); ?> </div> <div class="alignright"><?php next_post_link('%link »'); ?> </div> </div> <!-- post --> <div id="post-<?php the_ID(); ?> " class="<?php mystique_post_class('single'); ?> "> <?php if (!get_post_meta($post->ID, 'hide_title', true)) { ?> <h1 class="title"><?php the_title(); ?> </h1><?php } ?> <div class="post-content clear-block"> <?php