-
Notifications
You must be signed in to change notification settings - Fork 1
/
loop-single speakers.php
50 lines (43 loc) · 1.83 KB
/
loop-single speakers.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!-- loop tedxhongyadong_speaker home -->
<?php query_posts('post_type=speaker&showposts=6'); ?>
<?php /* Start loop */ ?>
<?php while (have_posts()) : the_post(); ?>
<?php roots_post_before(); ?>
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
<?php roots_post_inside_before(); ?>
<header>
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php roots_entry_meta(); ?>
</header>
<div class="entry-content">
<?php the_post_thumbnail(); ?>
<?php the_content(); ?>
</div>
<?php comments_template(); ?>
<?php roots_post_inside_after(); ?>
</article>
<?php roots_post_after(); ?>
<?php endwhile; // End the loop ?>
<?php wp_reset_query(); ?>
<!-- loop tedxhongyadong_speaker Speakers page -->
<?php query_posts('post_type=tedxhongyadong_speaker&showposts=6'); ?>
<?php /* Start loop */ ?>
<?php while (have_posts()) : the_post(); ?>
<?php roots_post_before(); ?>
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
<?php roots_post_inside_before(); ?>
<header>
<?php the_post_thumbnail(); ?>
<h1 class="entry-title"><?php the_title(); ?></h1>
<h3 class="entry-title"><?php the_title(); ?></h3>
<?php roots_entry_meta(); ?>
</header>
<div class="entry-content">
<?php the_content(); ?>
</div>
<?php comments_template(); ?>
<?php roots_post_inside_after(); ?>
</article>
<?php roots_post_after(); ?>
<?php endwhile; // End the loop ?>
<?php wp_reset_query(); ?>