file upload and fr footer
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
7 changed files
with
17 additions
and
12 deletions
| ... | @@ -19964,13 +19964,13 @@ ul.sf_date_field .sf-datepicker { | ... | @@ -19964,13 +19964,13 @@ ul.sf_date_field .sf-datepicker { |
| 19964 | text-align: left; | 19964 | text-align: left; |
| 19965 | } | 19965 | } |
| 19966 | 19966 | ||
| 19967 | #menu-footer-french, | 19967 | #menu-footer-french-fr, |
| 19968 | #menu-footer { | 19968 | #menu-footer { |
| 19969 | list-style: none; | 19969 | list-style: none; |
| 19970 | margin-left: 0rem; | 19970 | margin-left: 0rem; |
| 19971 | padding-left: 0rem; | 19971 | padding-left: 0rem; |
| 19972 | } | 19972 | } |
| 19973 | #menu-footer-french li, | 19973 | #menu-footer-french-fr li, |
| 19974 | #menu-footer li { | 19974 | #menu-footer li { |
| 19975 | margin-bottom: 0rem; | 19975 | margin-bottom: 0rem; |
| 19976 | padding-bottom: 0rem; | 19976 | padding-bottom: 0rem; |
| ... | @@ -19979,12 +19979,12 @@ ul.sf_date_field .sf-datepicker { | ... | @@ -19979,12 +19979,12 @@ ul.sf_date_field .sf-datepicker { |
| 19979 | padding-right: 0px; | 19979 | padding-right: 0px; |
| 19980 | } | 19980 | } |
| 19981 | @media only screen and (max-width: 48.875rem) { | 19981 | @media only screen and (max-width: 48.875rem) { |
| 19982 | #menu-footer-french li, | 19982 | #menu-footer-french-fr li, |
| 19983 | #menu-footer li { | 19983 | #menu-footer li { |
| 19984 | display: block; | 19984 | display: block; |
| 19985 | } | 19985 | } |
| 19986 | } | 19986 | } |
| 19987 | #menu-footer-french li a, | 19987 | #menu-footer-french-fr li a, |
| 19988 | #menu-footer li a { | 19988 | #menu-footer li a { |
| 19989 | color: #000; | 19989 | color: #000; |
| 19990 | font-size: 16px; | 19990 | font-size: 16px; |
| ... | @@ -19992,12 +19992,12 @@ ul.sf_date_field .sf-datepicker { | ... | @@ -19992,12 +19992,12 @@ ul.sf_date_field .sf-datepicker { |
| 19992 | font-weight: 400; | 19992 | font-weight: 400; |
| 19993 | text-decoration: none; | 19993 | text-decoration: none; |
| 19994 | } | 19994 | } |
| 19995 | #menu-footer-french li a:hover, | 19995 | #menu-footer-french-fr li a:hover, |
| 19996 | #menu-footer li a:hover { | 19996 | #menu-footer li a:hover { |
| 19997 | color: #000; | 19997 | color: #000; |
| 19998 | text-decoration: underline; | 19998 | text-decoration: underline; |
| 19999 | } | 19999 | } |
| 20000 | #menu-footer-french li::after, | 20000 | #menu-footer-french-fr li::after, |
| 20001 | #menu-footer li::after { | 20001 | #menu-footer li::after { |
| 20002 | content: "|"; | 20002 | content: "|"; |
| 20003 | display: inline-block; | 20003 | display: inline-block; |
| ... | @@ -20005,12 +20005,12 @@ ul.sf_date_field .sf-datepicker { | ... | @@ -20005,12 +20005,12 @@ ul.sf_date_field .sf-datepicker { |
| 20005 | padding-right: 10px; | 20005 | padding-right: 10px; |
| 20006 | } | 20006 | } |
| 20007 | @media only screen and (max-width: 48.875rem) { | 20007 | @media only screen and (max-width: 48.875rem) { |
| 20008 | #menu-footer-french li::after, | 20008 | #menu-footer-french-fr li::after, |
| 20009 | #menu-footer li::after { | 20009 | #menu-footer li::after { |
| 20010 | content: ""; | 20010 | content: ""; |
| 20011 | } | 20011 | } |
| 20012 | } | 20012 | } |
| 20013 | #menu-footer-french li:last-of-type::after, | 20013 | #menu-footer-french-fr li:last-of-type::after, |
| 20014 | #menu-footer li:last-of-type::after { | 20014 | #menu-footer li:last-of-type::after { |
| 20015 | display: none; | 20015 | display: none; |
| 20016 | } | 20016 | } | ... | ... |
This diff could not be displayed because it is too large.
| ... | @@ -19,8 +19,13 @@ class SYNC_FILES { | ... | @@ -19,8 +19,13 @@ class SYNC_FILES { |
| 19 | update_field('document_link', $extracted_data['link'], $post_id); | 19 | update_field('document_link', $extracted_data['link'], $post_id); |
| 20 | update_field('description', $extracted_data['description'], $post_id); | 20 | update_field('description', $extracted_data['description'], $post_id); |
| 21 | 21 | ||
| 22 | 22 | $set_language_args = array( | |
| 23 | 23 | 'element_id' => $post_id, | |
| 24 | 'element_type' => 'post_attachment', | ||
| 25 | 'language_code' => strtolower($extracted_data['wmpl']) | ||
| 26 | ); | ||
| 27 | apply_filters( 'wpml_set_element_language_details', null, $set_language_args ); | ||
| 28 | |||
| 24 | wp_set_post_terms($post_id,implode(",",$extracted_data['tags']), 'post_tag'); | 29 | wp_set_post_terms($post_id,implode(",",$extracted_data['tags']), 'post_tag'); |
| 25 | wp_set_post_terms($post_id,$extracted_data['category'], 'categories'); | 30 | wp_set_post_terms($post_id,$extracted_data['category'], 'categories'); |
| 26 | wp_set_post_terms($post_id,$extracted_data['continent'], 'continent'); | 31 | wp_set_post_terms($post_id,$extracted_data['continent'], 'continent'); | ... | ... |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
-
Please register or sign in to post a comment