コード例 #1
0
ファイル: single.php プロジェクト: nxtclass/NXTClass
							<?php 
        printf(__('%1$s <span>in %2$s</span>', 'buddypress'), get_the_date(), get_the_category_list(', '));
        ?>
							<span class="post-utility alignright"><?php 
        edit_post_link(__('Edit this entry', 'buddypress'));
        ?>
</span>
						</p>

						<div class="entry">
							<?php 
        the_content(__('Read the rest of this entry &rarr;', 'buddypress'));
        ?>

							<?php 
        nxt_link_pages(array('before' => '<div class="page-link"><p>' . __('Pages: ', 'buddypress'), 'after' => '</p></div>', 'next_or_number' => 'number'));
        ?>
						</div>

						<p class="postmetadata"><?php 
        the_tags('<span class="tags">' . __('Tags: ', 'buddypress'), ', ', '</span>');
        ?>
&nbsp;</p>

						<div class="alignleft"><?php 
        previous_post_link('%link', '<span class="meta-nav">' . _x('&larr;', 'Previous post link', 'buddypress') . '</span> %title');
        ?>
</div>
						<div class="alignright"><?php 
        next_post_link('%link', '%title <span class="meta-nav">' . _x('&rarr;', 'Next post link', 'buddypress') . '</span>');
        ?>
コード例 #2
0
            ?>
				<div class="post-thumbnail">
					<?php 
            print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, $classtext);
            ?>
					<span class="post-overlay"></span>
				</div> 	<!-- end .post-thumbnail -->
			<?php 
        }
        ?>
			
			<?php 
        the_content();
        ?>
			<?php 
        nxt_link_pages(array('before' => '<p><strong>' . esc_html__('Pages', 'Modest') . ':</strong> ', 'after' => '</p>', 'next_or_number' => 'number'));
        ?>
			
			<div id="et_pt_blog">
				<?php 
        $cat_query = '';
        if (!empty($blog_cats)) {
            $cat_query = '&cat=' . implode(",", $blog_cats);
        } else {
            echo '<!-- blog category is not selected -->';
        }
        ?>
				<?php 
        $et_paged = is_front_page() ? get_query_var('page') : get_query_var('paged');
        ?>
				<?php 
コード例 #3
0
	
					<?php 
        infinity_get_template_part('templates/parts/post-meta-top');
        ?>
							
					<?php 
        do_action('before_single_entry');
        ?>
					<div class="entry">
						<?php 
        do_action('open_single_entry');
        the_content(__('Read the rest of this entry &rarr;', infinity_text_domain));
        ?>
						<div style="clear: both;"></div>
						<?php 
        nxt_link_pages(array('before' => __('<p><strong>Pages:</strong> ', infinity_text_domain), 'after' => '</p>', 'next_or_number' => 'number'));
        do_action('close_single_entry');
        ?>
					</div>
					<?php 
        do_action('after_single_entry');
        ?>
					<?php 
        infinity_get_template_part('templates/parts/post-meta-bottom');
        infinity_get_template_part('templates/parts/author-box');
        ?>
				</div>
				<?php 
        do_action('close_loop_single');
        ?>
			</div>
コード例 #4
0
        $current_page = max($page, $paged);
        the_title();
        if ($current_page > 1) {
            echo ' &ndash; ';
            printf(__('Page %d', 'classblogging'), $current_page);
        }
        ?>
			</h1>
		</div>

		<div class="content">
			<?php 
        the_content();
        ?>
			<?php 
        nxt_link_pages('before=<div class="page-links"><strong>' . _x('Pages', 'single post page list header', 'classblogging') . '</strong> &after=</div>');
        ?>
		</div>

		<?php 
        if (!post_password_required()) {
            classblogging_show_taxonomy();
        }
        ?>
	</div>

	<?php 
        classblogging_show_navigation('above');
        ?>

	<?php 
コード例 #5
0
ファイル: single.php プロジェクト: nxtclass/NXTClass-themes
		            	    <p class="post-category"><?php 
        _e('Categories:', 'woothemes');
        ?>
 <?php 
        the_category(', ');
        ?>
</p>
	                		
	                	</header>
	                	
	                	<section class="entry">
	                		<?php 
        the_content();
        ?>
							<?php 
        nxt_link_pages(array('before' => '<div class="page-link">' . __('Pages:', 'woothemes'), 'after' => '</div>'));
        ?>
						</section>
											
						<?php 
        the_tags('<p class="tags">' . __('Tags: ', 'woothemes'), ', ', '</p>');
        ?>
					
					</div>
	                                
	            </article><!-- .post -->
	
					<?php 
        if (isset($woo_options['woo_post_author']) && $woo_options['woo_post_author'] == 'true') {
            ?>
					<aside id="post-author" class="fix">
コード例 #6
0
ファイル: deprecated.php プロジェクト: nxtclass/NXTClass
/**
 * Print list of pages based on arguments.
 *
 * @since 0.71
 * @deprecated 2.1
 * @deprecated Use nxt_link_pages()
 * @see nxt_link_pages()
 *
 * @param string $before
 * @param string $after
 * @param string $next_or_number
 * @param string $nextpagelink
 * @param string $previouspagelink
 * @param string $pagelink
 * @param string $more_file
 * @return string
 */
function link_pages($before = '<br />', $after = '<br />', $next_or_number = 'number', $nextpagelink = 'next page', $previouspagelink = 'previous page', $pagelink = '%', $more_file = '')
{
    _deprecated_function(__FUNCTION__, '2.1', 'nxt_link_pages()');
    $args = compact('before', 'after', 'next_or_number', 'nextpagelink', 'previouspagelink', 'pagelink', 'more_file');
    return nxt_link_pages($args);
}
コード例 #7
0
ファイル: loop.php プロジェクト: nxtclass/NXTClass-themes
            ?>
					<?php 
            comments_popup_link(__('0 Comments', 'huddle'), __('1 Comment', 'huddle'), __('% Comments', 'huddle'));
            ?>
	
				</em>

				<div class="post-content">
					<?php 
            the_content();
            ?>
					<?php 
            the_tags();
            ?>
					<?php 
            nxt_link_pages(array('before' => '<div id="pagination" class="for-posts"><span class="pages">' . __('Pages', 'huddle') . '</span>', 'after' => '</div>', 'link_before' => '<span class="page-link">', 'link_after' => '</span>'));
            ?>
			</div>
			</div><!--.post-->

		<?php 
        }
    }
    ?>

		<?php 
    //the author info box
    if (of_get_option('author_info')) {
        ?>
			<?php 
        load_template(TEMPLATEPATH . '/includes/author-info.php');