From 0ba65fad0c60afb9a30692c8bb0891d0db927c4a Mon Sep 17 00:00:00 2001 From: Bridget Arrington Date: Thu, 20 Apr 2017 09:31:55 -0400 Subject: [PATCH 1/2] AUR-432 changes to links --- grandchild-functions.php | 42 ++++++++++++++++++++++++++++++++++ templates/archive-programs.php | 23 +++++++++++++------ 2 files changed, 58 insertions(+), 7 deletions(-) diff --git a/grandchild-functions.php b/grandchild-functions.php index 91d469a..59fb853 100644 --- a/grandchild-functions.php +++ b/grandchild-functions.php @@ -606,6 +606,8 @@ function program_archive_page_template( $archive_template ) { 'layout' => 'vertical', 'toggle' => 0, 'return_format' => 'value', + 'allow_custom' => 0, + 'save_custom' => 0, ), array ( 'key' => 'field_589b67cd3cc1f', @@ -636,6 +638,8 @@ function program_archive_page_template( $archive_template ) { 'layout' => 'vertical', 'toggle' => 0, 'return_format' => 'value', + 'allow_custom' => 0, + 'save_custom' => 0, ), array ( 'key' => 'field_58a3644c7c370', @@ -703,6 +707,7 @@ function program_archive_page_template( $archive_template ) { 'tabs' => 'all', 'toolbar' => 'full', 'media_upload' => 1, + 'delay' => 0, ), array ( 'key' => 'field_589b66f5d6681', @@ -723,6 +728,24 @@ function program_archive_page_template( $archive_template ) { 'append' => '', 'maxlength' => '', ), + array ( + 'key' => 'field_58f7c4f744bd9', + 'label' => 'Email', + 'name' => 'email', + 'type' => 'email', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array ( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + ), array ( 'key' => 'field_589b64ce3c849', 'label' => 'Degrees', @@ -742,6 +765,25 @@ function program_archive_page_template( $archive_template ) { 'append' => '', 'maxlength' => '', ), + array ( + 'key' => 'field_58f7c51344bda', + 'label' => '', + 'name' => '', + 'type' => 'text', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array ( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'maxlength' => '', + ), ), 'location' => array ( array ( diff --git a/templates/archive-programs.php b/templates/archive-programs.php index c60c8e6..29d5e51 100644 --- a/templates/archive-programs.php +++ b/templates/archive-programs.php @@ -78,21 +78,27 @@
- +
- + Department Website +
+ +
+ View Concentrations +
+

- +
+

+

@@ -116,6 +122,8 @@ + + From d259ddb323b57b84f13e9215171e91c4a62ed30b Mon Sep 17 00:00:00 2001 From: Bridget Arrington Date: Thu, 20 Apr 2017 09:54:49 -0400 Subject: [PATCH 2/2] AUR-432 remove xtra custom field --- grandchild-functions.php | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/grandchild-functions.php b/grandchild-functions.php index 59fb853..d9f8e62 100644 --- a/grandchild-functions.php +++ b/grandchild-functions.php @@ -765,25 +765,6 @@ function program_archive_page_template( $archive_template ) { 'append' => '', 'maxlength' => '', ), - array ( - 'key' => 'field_58f7c51344bda', - 'label' => '', - 'name' => '', - 'type' => 'text', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array ( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'maxlength' => '', - ), ), 'location' => array ( array (