-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschedule.php
More file actions
executable file
·45 lines (37 loc) · 1.4 KB
/
Copy pathschedule.php
File metadata and controls
executable file
·45 lines (37 loc) · 1.4 KB
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
<?php
/*
Template Name: Schedule
*/
?>
<?php include("header.php"); ?>
<div class="g3">
<h2 class="vision"><?php global $wp_query; $postid = $wp_query->post->ID; echo get_post_meta($post=150, 'schedule_title', true); ?> <span class="icon">P</span></h2>
</div>
<div class="cf"></div>
<div class="g3">
<div class="schedule-container">
<?php query_posts('post_type=schedule&posts_per_page=-1');
if (have_posts()) : while (have_posts()) : the_post();?>
<?php if( $post->ID == '150' ) continue;
// post ID 150 - Schedule — Title (DO NOT DELETE THIS POST!) will not show on the Schedule post loop ?>
<div class="cf"></div>
<?php
global $more;
$more = 0;
the_content();
echo '</div>';
endwhile; endif;
// Reset Query
wp_reset_query();
?>
</div>
</div>
</div>
<div class="cf"></div>
<div class="g3">
<a href="<?php global $wp_query; $postid = $wp_query->post->ID; echo get_post_meta($post=120, 'eventbrite_url', true); ?>" target="_blank">
<div class="reg-button">
<?php global $wp_query; $postid = $wp_query->post->ID; echo get_post_meta($post=120, 'register_now_text', true); ?> <span class="icon">-</span>
</div></a>
</div>
<?php include("footer.php"); ?>