-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtaxonomy.php
133 lines (53 loc) · 2.12 KB
/
taxonomy.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
*
* @package hana
* @since hana 1.0
*/
get_header(); ?>
<div id="primary" class="content-area">
<div id="menumenu">
<?php wp_nav_menu( array( 'theme_location' => 'extra-menu' ) );
?>
<h5>also: <a href="http://screendoorrestaurant.com/itemnote/vegetarian/">vegetarian options</a> <a href="http://screendoorrestaurant.com/itemnote/vegan/">vegan options</a> <a href="http://screendoorrestaurant.com/itemnote/gluten-free/">gluten free options</a></h5></div></div>
<div class="aligncenter"><h2>All our <?php $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); echo $term->slug; ?> Menu Items</h2>
<h3><div class="fell">We try to accommodate as many allergies and food concerns as possible. Be sure to let your server know and we'll do our best.</div></h3>
<div id="content" class="site-content" role="main">
<div id="colleft">
<div class="category-section"><ul class="menus">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post();
echo "<li><div id='kmenuitem'>" ;
echo "<span class='kitchen-entry'>" ;
echo the_category(">", "multiple", $post->ID);
echo "</span>" ;
the_title('<h3>','</h3>');
echo "<span class='kitchen-entry'>" ;
the_content();
echo get_the_term_list($post->ID, 'price', '...', ', ', '');
echo "</span></li>" ;
endwhile;
endif;
?>
</ul>
</div></div></div>
<div id="colright">
<?php
/*
* Loop through a repeater field
*/
if(get_field('right_side', 1024)): ?>
<?php while(the_repeater_field('right_side', 1024)): ?>
<img src="<?php the_sub_field('rs_img'); ?>" alt="" />
<?php endwhile; ?>
<?php endif;
?>
</div>
</div>
<?php get_footer(); ?>
</div><!-- primary -->