qa
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
9 changed files
with
5 additions
and
31 deletions
| ... | @@ -17826,7 +17826,7 @@ ul.sf_date_field .sf-datepicker { | ... | @@ -17826,7 +17826,7 @@ ul.sf_date_field .sf-datepicker { |
| 17826 | color: #000000; | 17826 | color: #000000; |
| 17827 | text-decoration: none; | 17827 | text-decoration: none; |
| 17828 | flex-direction: row; | 17828 | flex-direction: row; |
| 17829 | word-break: break-all; | 17829 | word-break: break-word; |
| 17830 | } | 17830 | } |
| 17831 | @media screen and (max-width: 59.375rem) { | 17831 | @media screen and (max-width: 59.375rem) { |
| 17832 | #search-wrapper #main > article a { | 17832 | #search-wrapper #main > article a { | ... | ... |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
| ... | @@ -257,34 +257,8 @@ if ( ! function_exists( 'understrap_all_excerpts_get_more_link' ) ) { | ... | @@ -257,34 +257,8 @@ if ( ! function_exists( 'understrap_all_excerpts_get_more_link' ) ) { |
| 257 | } | 257 | } |
| 258 | } | 258 | } |
| 259 | 259 | ||
| 260 | add_filter( 'excerpt_length', function( $length ) { return 35; } ); | 260 | add_filter( 'excerpt_length', function( $length ) { return 25; } ); |
| 261 | 261 | ||
| 262 | function wpmldp_translate_date_format( $date ) { | ||
| 263 | |||
| 264 | //Create array with dates | ||
| 265 | $month_dates = array(); | ||
| 266 | $month_dates[] = '1st'; | ||
| 267 | $month_dates[] = '2nd'; | ||
| 268 | $month_dates[] = '3rd'; | ||
| 269 | for($d=4; $d<=30; $d++) { | ||
| 270 | $month_dates[] = $d.'th'; | ||
| 271 | } | ||
| 272 | $month_dates[] = '31st'; | ||
| 273 | |||
| 274 | //Register strings on String Translator | ||
| 275 | foreach( $month_dates as $month_date ) { | ||
| 276 | do_action( 'wpml_register_single_string', 'Date Formats', 'Month Date (WPML) - '.$month_date, $month_date); | ||
| 277 | } | ||
| 278 | |||
| 279 | //Translate strings | ||
| 280 | if( in_array($date, $month_dates) ) { | ||
| 281 | $date = apply_filters( 'wpml_translate_single_string', $date, 'Date Formats', 'Month Date (WPML) - '.$date); | ||
| 282 | } | ||
| 283 | |||
| 284 | |||
| 285 | return $date; | ||
| 286 | } | ||
| 287 | add_filter( 'wp_date', 'wpmldp_translate_date_format', 10, 1 ); | ||
| 288 | 262 | ||
| 289 | 263 | ||
| 290 | add_filter( 'option_date_format', function( $format ) { | 264 | add_filter( 'option_date_format', function( $format ) { | ... | ... |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
| ... | @@ -66,7 +66,7 @@ | ... | @@ -66,7 +66,7 @@ |
| 66 | color: #000000; | 66 | color: #000000; |
| 67 | text-decoration: none; | 67 | text-decoration: none; |
| 68 | flex-direction: row; | 68 | flex-direction: row; |
| 69 | word-break: break-all; | 69 | word-break: break-word; |
| 70 | @media screen and (max-width: 59.375rem) { | 70 | @media screen and (max-width: 59.375rem) { |
| 71 | flex-direction: column; | 71 | flex-direction: column; |
| 72 | gap: 0.7rem; | 72 | gap: 0.7rem; | ... | ... |
| ... | @@ -2,5 +2,5 @@ | ... | @@ -2,5 +2,5 @@ |
| 2 | Theme Name: MSF CA Child | 2 | Theme Name: MSF CA Child |
| 3 | Author: Tenzing Communications | 3 | Author: Tenzing Communications |
| 4 | Template: msf-ca | 4 | Template: msf-ca |
| 5 | Version: 1.0.49 | 5 | Version: 1.0.51 |
| 6 | */ | 6 | */ |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment