Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jeff Balicki
/
FP_Canada
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
dd679ec7
authored
2022-01-27 19:08:44 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
eee
1 parent
1ac4c20f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
11 deletions
wp-content/themes/understrap-child/inc/emails.php
wp-content/themes/understrap-child/inc/wpsl.php
wp-content/themes/understrap-child/style.css
wp-content/themes/understrap-child/wpsl-templates/store-listings-map-left.php
wp-content/themes/understrap-child/inc/emails.php
View file @
dd679ec
...
...
@@ -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'
;
...
...
wp-content/themes/understrap-child/inc/wpsl.php
View file @
dd679ec
...
...
@@ -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>'
;
}
...
...
wp-content/themes/understrap-child/style.css
View file @
dd679ec
...
...
@@ -5,7 +5,7 @@
Author: the Understrap Contributors
Author URI: https://github.com/understrap/understrap-child/graphs/contributors
Template: understrap
Version: 1.1.301
7
Version: 1.1.301
8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: understrap-child
...
...
wp-content/themes/understrap-child/wpsl-templates/store-listings-map-left.php
View file @
dd679ec
...
...
@@ -71,17 +71,33 @@ disply:none !important;
#wpsl-gmap,
#wpsl-result-list{
width:48.5%;
height:
400
px !important;
height:
542
px !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:
767
px){
@media (max-width:
600
px){
#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>
...
...
Please
register
or
sign in
to post a comment