eee
Showing
4 changed files
with
35 additions
and
11 deletions
| ... | @@ -43,7 +43,6 @@ add_filter( 'cf7_2_post_status_wpsl_stores', 'publish_new_wpsl_stores',10,3); | ... | @@ -43,7 +43,6 @@ add_filter( 'cf7_2_post_status_wpsl_stores', 'publish_new_wpsl_stores',10,3); |
| 43 | $notification_sent = get_post_meta($post_id, 'notification_sent_for_publish_project', 1); | 43 | $notification_sent = get_post_meta($post_id, 'notification_sent_for_publish_project', 1); |
| 44 | if($notification_sent != 1){ | 44 | if($notification_sent != 1){ |
| 45 | update_post_meta($post_id, 'notification_sent_for_publish_project', true); | 45 | update_post_meta($post_id, 'notification_sent_for_publish_project', true); |
| 46 | update_post_meta($post_id, 'wpsl_country', 'CA'); | ||
| 47 | delete_autoload_map_transient(); | 46 | delete_autoload_map_transient(); |
| 48 | $email = get_post_meta($post_id, 'wpsl_email', true); | 47 | $email = get_post_meta($post_id, 'wpsl_email', true); |
| 49 | $subject = 'WYN Registration Aproved'; | 48 | $subject = 'WYN Registration Aproved'; | ... | ... |
| ... | @@ -162,7 +162,6 @@ function delete_autoload_map_transient() | ... | @@ -162,7 +162,6 @@ function delete_autoload_map_transient() |
| 162 | add_shortcode( 'count_stores', 'count_stores' ); | 162 | add_shortcode( 'count_stores', 'count_stores' ); |
| 163 | function count_stores( ) { | 163 | function count_stores( ) { |
| 164 | $count_pages = wp_count_posts( 'wpsl_stores' ); | 164 | $count_pages = wp_count_posts( 'wpsl_stores' ); |
| 165 | error_log(print_r($count_pages, true)); | ||
| 166 | return ' <h2 class="find-number done" id="find-number">'.$count_pages->publish.'</h2>' ; | 165 | return ' <h2 class="find-number done" id="find-number">'.$count_pages->publish.'</h2>' ; |
| 167 | } | 166 | } |
| 168 | 167 | ... | ... |
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | Author: the Understrap Contributors | 5 | Author: the Understrap Contributors |
| 6 | Author URI: https://github.com/understrap/understrap-child/graphs/contributors | 6 | Author URI: https://github.com/understrap/understrap-child/graphs/contributors |
| 7 | Template: understrap | 7 | Template: understrap |
| 8 | Version: 1.1.3017 | 8 | Version: 1.1.3018 |
| 9 | License: GNU General Public License v2 or later | 9 | License: GNU General Public License v2 or later |
| 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html | 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 11 | Text Domain: understrap-child | 11 | Text Domain: understrap-child | ... | ... |
| ... | @@ -71,17 +71,33 @@ disply:none !important; | ... | @@ -71,17 +71,33 @@ disply:none !important; |
| 71 | #wpsl-gmap, | 71 | #wpsl-gmap, |
| 72 | #wpsl-result-list{ | 72 | #wpsl-result-list{ |
| 73 | width:48.5%; | 73 | width:48.5%; |
| 74 | height:400px !important; | 74 | height:542px !important; |
| 75 | display: inline-block; | 75 | display: inline-block; |
| 76 | float:left; | 76 | float:left; |
| 77 | font-size:18px; | 77 | |
| 78 | |||
| 78 | 79 | ||
| 79 | 80 | ||
| 80 | } | 81 | } |
| 82 | #wpsl-result-list{ | ||
| 83 | width:47%; | ||
| 84 | margin-right:3%; | ||
| 85 | font-size:18px; | ||
| 86 | color:#5B6770; | ||
| 87 | line-height: 21px; | ||
| 81 | 88 | ||
| 89 | border-bottom: 1px #ccc solid; | ||
| 90 | height:542px !important; | ||
| 91 | |||
| 92 | } | ||
| 82 | #wpsl-stores{ | 93 | #wpsl-stores{ |
| 83 | height: 330px !important; | 94 | |
| 84 | width:95%; | 95 | height:470px !important; |
| 96 | border-top: 1px #ccc solid; | ||
| 97 | width:100%; | ||
| 98 | } | ||
| 99 | #wpsl-stores ul{ | ||
| 100 | margin-top:-2px; | ||
| 85 | } | 101 | } |
| 86 | #wpsl-gmap{ | 102 | #wpsl-gmap{ |
| 87 | width:48.5%; | 103 | width:48.5%; |
| ... | @@ -269,14 +285,11 @@ td, th { | ... | @@ -269,14 +285,11 @@ td, th { |
| 269 | #homecontent #wpsl-wrap{ | 285 | #homecontent #wpsl-wrap{ |
| 270 | margin:0px !important; | 286 | margin:0px !important; |
| 271 | } | 287 | } |
| 272 | @media (max-width: 767px){ | 288 | @media (max-width: 600px){ |
| 273 | #wpsl-search-input { | 289 | #wpsl-search-input { |
| 274 | width: 90% !important; | 290 | width: 90% !important; |
| 275 | } | 291 | } |
| 276 | .wpsl-input:after { | ||
| 277 | margin-top: -40px; | ||
| 278 | 292 | ||
| 279 | } | ||
| 280 | #wpsl-gmap.full, | 293 | #wpsl-gmap.full, |
| 281 | #wpsl-result-list{ | 294 | #wpsl-result-list{ |
| 282 | width:100%; | 295 | width:100%; |
| ... | @@ -285,9 +298,15 @@ td, th { | ... | @@ -285,9 +298,15 @@ td, th { |
| 285 | display:block; | 298 | display:block; |
| 286 | position: relative; | 299 | position: relative; |
| 287 | } | 300 | } |
| 301 | #wpsl-gmap{ | ||
| 302 | margin-top:40px; | ||
| 303 | } | ||
| 288 | #wpsl-result-list{ | 304 | #wpsl-result-list{ |
| 289 | height:700px !important; | 305 | height:700px !important; |
| 290 | } | 306 | } |
| 307 | #wpsl-stores{ | ||
| 308 | height:620px !important | ||
| 309 | } | ||
| 291 | table.wpsl-store-location tr td { | 310 | table.wpsl-store-location tr td { |
| 292 | font-size: 14px !important; | 311 | font-size: 14px !important; |
| 293 | } | 312 | } |
| ... | @@ -326,6 +345,13 @@ td, th { | ... | @@ -326,6 +345,13 @@ td, th { |
| 326 | padding: 10px 0px; | 345 | padding: 10px 0px; |
| 327 | } | 346 | } |
| 328 | } | 347 | } |
| 348 | @media (max-width: 400px){ | ||
| 349 | |||
| 350 | .wpsl-input:after { | ||
| 351 | margin-top: -40px; | ||
| 352 | |||
| 353 | } | ||
| 354 | } | ||
| 329 | </style> | 355 | </style> |
| 330 | 356 | ||
| 331 | 357 | ... | ... |
-
Please register or sign in to post a comment