From 77ce0ea6bfead4c9ed7f5b055be9fc7457776af5 Mon Sep 17 00:00:00 2001 From: Alex Chapin Date: Sun, 3 Nov 2013 21:11:00 -0500 Subject: [PATCH] add templates for events --- plugins/archive-event.php | 82 +++++++++++++++++++++++++++++++++++++++ plugins/single-event.php | 75 +++++++++++++++++++++++++++++++++++ 2 files changed, 157 insertions(+) create mode 100644 plugins/archive-event.php create mode 100644 plugins/single-event.php diff --git a/plugins/archive-event.php b/plugins/archive-event.php new file mode 100644 index 0000000..0bc64be --- /dev/null +++ b/plugins/archive-event.php @@ -0,0 +1,82 @@ + + +
+ + + + + + + + + +
+ + + +

Events

+ + +

No events found.

+ +
+ ';var_dump($wp_query);echo ''; + //echo '
';var_dump($wp_query->posts);echo '
'; + Exchange_Events::print_archive_events( $wp_query ); + + ?> +
+ + +
+ + + + + + + + + + + + + + + +
+ + + + diff --git a/plugins/single-event.php b/plugins/single-event.php new file mode 100644 index 0000000..6866204 --- /dev/null +++ b/plugins/single-event.php @@ -0,0 +1,75 @@ + + +
+ + + + +
+ + + +

Event Not Found

+
+ +

post_title; ?>

+ +
+ +
+ +
+
datetime; ?>
+
location; ?>
+
+ +
post_content; ?>
+ +
+ +
+ +
+ + + + + + + + + + +
+