-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfaq.php
More file actions
executable file
·45 lines (37 loc) · 1.44 KB
/
Copy pathfaq.php
File metadata and controls
executable file
·45 lines (37 loc) · 1.44 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: FAQ
*/
?>
<?php include("header.php"); ?>
<div class="g3">
<h2 class="vision"><?php global $wp_query; $postid = $wp_query->post->ID; echo get_post_meta($post=146, 'faq_title', true); ?> <span class="icon">_</span></h2>
</div>
<div class="g3">
<dl id="accordion">
<?php query_posts('post_type=faq&posts_per_page=-1');
if (have_posts()) : while (have_posts()) : the_post();?>
<?php if( $post->ID == '146' ) continue;
// post ID 146 - FAQ — Title (DO NOT DELETE THIS POST!) will not show on the FAQ post loop ?>
<dt><a href=""><?php the_title();?></a></dt>
<?php
global $more;
$more = 0;
echo '<dd>';
the_content();
echo '</dd>';
endwhile; endif;
// Reset Query
wp_reset_query();
?>
</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>
</div>
<?php include("footer.php"); ?>