From 5e1902a1561e5a6a7f3d215142ab67e32b002236 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 2 Mar 2016 11:36:33 -0500 Subject: [PATCH] updates for emp --- functions.php | 6 ++++ page.php | 72 ++++++++++++++++++++++++++----------------- single-emmet_jobs.php | 18 +++++++++++ 3 files changed, 68 insertions(+), 28 deletions(-) create mode 100644 single-emmet_jobs.php diff --git a/functions.php b/functions.php index c3a77a3..adf378a 100644 --- a/functions.php +++ b/functions.php @@ -208,4 +208,10 @@ function glm_side_menu($mobile = false) { } add_action('wp_enqueue_scripts', 'glm_site_scripts'); +function glm_has_shortcode($shortcode) +{ + global $post; + $page = get_post( $post->ID ); + return has_shortcode( $page->post_content, $shortcode ); +} ?> diff --git a/page.php b/page.php index 3f1a9c2..97ef56c 100644 --- a/page.php +++ b/page.php @@ -1,30 +1,46 @@ -
-
- - ?> - - -
- -
-
- - - - -

- -
-
- -
- -
+
+
+ + +
+ + +
+ +
+
+ + + + + +

+ + + + +
+
+ +
+ +
diff --git a/single-emmet_jobs.php b/single-emmet_jobs.php new file mode 100644 index 0000000..7b9f43e --- /dev/null +++ b/single-emmet_jobs.php @@ -0,0 +1,18 @@ + +
+
+ ID; ?> +
+
+
+
+
+ +
+
+ +
+
+ -- 2.17.1