From: Steve Sutton Date: Wed, 2 Mar 2016 16:36:33 +0000 (-0500) Subject: updates for emp X-Git-Tag: v1.2.0^2~3^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=5e1902a1561e5a6a7f3d215142ab67e32b002236;p=WP-Themes%2FGovernmentEmmet.git updates for emp --- 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; ?> +
+
+
+
+
+ +
+
+ +
+
+