dd679ec7 by Jeff Balicki

eee

1 parent 1ac4c20f
......@@ -43,7 +43,6 @@ add_filter( 'cf7_2_post_status_wpsl_stores', 'publish_new_wpsl_stores',10,3);
$notification_sent = get_post_meta($post_id, 'notification_sent_for_publish_project', 1);
if($notification_sent != 1){
update_post_meta($post_id, 'notification_sent_for_publish_project', true);
update_post_meta($post_id, 'wpsl_country', 'CA');
delete_autoload_map_transient();
$email = get_post_meta($post_id, 'wpsl_email', true);
$subject = 'WYN Registration Aproved';
......
......@@ -162,7 +162,6 @@ function delete_autoload_map_transient()
add_shortcode( 'count_stores', 'count_stores' );
function count_stores( ) {
$count_pages = wp_count_posts( 'wpsl_stores' );
error_log(print_r($count_pages, true));
return ' <h2 class="find-number done" id="find-number">'.$count_pages->publish.'</h2>' ;
}
......
......@@ -5,7 +5,7 @@
Author: the Understrap Contributors
Author URI: https://github.com/understrap/understrap-child/graphs/contributors
Template: understrap
Version: 1.1.3017
Version: 1.1.3018
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: understrap-child
......
......@@ -71,17 +71,33 @@ disply:none !important;
#wpsl-gmap,
#wpsl-result-list{
width:48.5%;
height:400px !important;
height:542px !important;
display: inline-block;
float:left;
font-size:18px;
}
#wpsl-result-list{
width:47%;
margin-right:3%;
font-size:18px;
color:#5B6770;
line-height: 21px;
border-bottom: 1px #ccc solid;
height:542px !important;
}
#wpsl-stores{
height: 330px !important;
width:95%;
height:470px !important;
border-top: 1px #ccc solid;
width:100%;
}
#wpsl-stores ul{
margin-top:-2px;
}
#wpsl-gmap{
width:48.5%;
......@@ -269,14 +285,11 @@ td, th {
#homecontent #wpsl-wrap{
margin:0px !important;
}
@media (max-width: 767px){
@media (max-width: 600px){
#wpsl-search-input {
width: 90% !important;
}
.wpsl-input:after {
margin-top: -40px;
}
#wpsl-gmap.full,
#wpsl-result-list{
width:100%;
......@@ -285,9 +298,15 @@ td, th {
display:block;
position: relative;
}
#wpsl-gmap{
margin-top:40px;
}
#wpsl-result-list{
height:700px !important;
}
#wpsl-stores{
height:620px !important
}
table.wpsl-store-location tr td {
font-size: 14px !important;
}
......@@ -326,6 +345,13 @@ td, th {
padding: 10px 0px;
}
}
@media (max-width: 400px){
.wpsl-input:after {
margin-top: -40px;
}
}
</style>
......