From 6c2763b092fe9366a900fb95b8d42569cb9399e2 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Tue, 24 Mar 2015 12:27:05 +0000 Subject: [PATCH] First commit --- includes/map.php | 87 +++++++++++++++++++++++++++++++++++++++++++++++ talhyperlocal.php | 12 +++++++ 2 files changed, 99 insertions(+) create mode 100644 includes/map.php create mode 100644 talhyperlocal.php diff --git a/includes/map.php b/includes/map.php new file mode 100644 index 0000000..600c96b --- /dev/null +++ b/includes/map.php @@ -0,0 +1,87 @@ + 'site', + 'posts_per_page' => -1, // -1 for all posts + 'post_status' => 'publish', + 'orderby' => 'title', + 'order' => 'ASC' + ); + + if ( $id ) { + $options['p'] = $id; + } + + + $query = new WP_Query($options); + + ?> +
+ + + + + \ No newline at end of file diff --git a/talhyperlocal.php b/talhyperlocal.php new file mode 100644 index 0000000..1c0c6be --- /dev/null +++ b/talhyperlocal.php @@ -0,0 +1,12 @@ +