diff --git a/wp-content/themes/mediasanctuary/css/pages/_eco-art-trail.scss b/wp-content/themes/mediasanctuary/css/pages/_eco-art-trail.scss new file mode 100644 index 000000000..bd1679820 --- /dev/null +++ b/wp-content/themes/mediasanctuary/css/pages/_eco-art-trail.scss @@ -0,0 +1,10 @@ +body.page-template-eco-art-trail { + background-color: $c-asphalt; + color: $c-white; + + .content { + max-width: 700px; + margin-left: auto; + margin-right: auto; + } +} \ No newline at end of file diff --git a/wp-content/themes/mediasanctuary/css/pages/_pages.scss b/wp-content/themes/mediasanctuary/css/pages/_pages.scss index 17206ba46..fc671beb0 100644 --- a/wp-content/themes/mediasanctuary/css/pages/_pages.scss +++ b/wp-content/themes/mediasanctuary/css/pages/_pages.scss @@ -4,3 +4,4 @@ @import 'search'; @import '404'; @import 'events'; +@import 'eco-art-trail'; \ No newline at end of file diff --git a/wp-content/themes/mediasanctuary/lib/qrcode.php b/wp-content/themes/mediasanctuary/lib/qrcode.php index 02fdf22be..4700e2595 100644 --- a/wp-content/themes/mediasanctuary/lib/qrcode.php +++ b/wp-content/themes/mediasanctuary/lib/qrcode.php @@ -136,6 +136,8 @@ function qr_code_url($id) { 'post_status' => 'publish', 'post_type' => 'qrcode' ]); + update_post_meta($id, 'redirect_url', $target_url); + $redirect_url = get_permalink($id); $image_url = qr_code_url($id); diff --git a/wp-content/themes/mediasanctuary/page-templates/eco-art-trail.php b/wp-content/themes/mediasanctuary/page-templates/eco-art-trail.php new file mode 100644 index 000000000..55e9e31d2 --- /dev/null +++ b/wp-content/themes/mediasanctuary/page-templates/eco-art-trail.php @@ -0,0 +1,45 @@ + + + +
+ + + + + + + + + > +