MapPress
This plugin working for ClassiPress Version 4+
MapPress is a plugin which adds Google Maps and pin points to your ClassiPress theme via short-codes or action hook on the home page, listing page, and search page.
You can set the map center point as per your location.
The map will list all listing posts with category wise colorful icons and you can change icons from category add/edit page from wp-admin.
On individual pin points, visitors can click to get the listing titles with a link to the detail page, address, and business directions.
This plugin works with ClassiPress theme only. It is compatible with WordPress Multisite.
View the demo | Get Map Category Icons.
Key Features
- Google Map API 3 Version with all latest futures
- NEW Google Map Grouping (Clustered) featured added (after version : 1.0.3)
- NEW New Popup Design featured added (after version : 1.0.4)
- Minimum java-script code written for Google map functionality
- Colorful category wise colorful icons
- Easily change pinpoint icon from category add/edit page of wp-admin
- Speedy Google map data processing by json code processing
- Totally json data code so no effect of multiple language problem
- easily place the map in any post/page detail page by wordpress shortcode
- also wordpress action hook is given to place the code any where in php you want to show the map
- Set the map center points & zooming factor from plugin settings.
- set the map height & width as per your settings while adding shortcode
- Map type selection option ROADMAP/SATELLITE/HYBRID/TERRAIN
- Specific category listing data selection option from plugin settings.
- and many more…
New Features after version : 1.2.0 (1st Aug 2016)
- Map code add manually in header.php file is not needed.
- If you have already added please remove the code and see plugin settings to manage map display settings.
- See plugin settings to show/hide map from home page, category pages, tags pages and search page.
- Add Google Map API settings related instructions from plugin setting added.
- Create new Google Map API related instructions from plugin setting added.
- Multiple ads on same address not display properly – problem solved – now all ads with same address will be display in slider mode.
- Multiple ads on same address – solved for home page, category, tags and search map.
- Popup display good for small screen devices.
- Category, tags and search map will display in grouped map so nearer map can be found easily.
View the demo | Get Map Category Icons
Google API is necessary after June 22, 2016 of new google map map updated policy. We have created a good article with screen image for better understanding about create new google API key. Click the link to create google API
- What Google Map Version we use?
==> We use API Version 3 - Is Google Map Group (cluster) facility added?
==> Yes, As per demand of customers – we have added this facilty. You can enable it from wp-admin > plugin settings. But it may create problem for some user webstie, for those users we don’t give guarantee for this feature. You should deactive this feature to continue get use normal map features. (feature added from version : 1.0.3) - What Version of ClassiPress Theme & Wordpress Theme Support?
==> Plugin support all major later version of theme & wordpress. - How to add google map for Home Page?
==> Get readme.txt and php code to add the map for home page as well for listing & search page is given there. Just get it and place in header.php file after header “div” close. - How to change/add Icon for category?
==> Go to wp-admin > Ads (left sidebar) > Ads Category > add/edit category > you can see the option “Google Map Icon” where you need to insert full URL of Your Icon. You can upload icons via Media Library and get the icon URL. - How to set map Height & Width?
==> You can add height & width while adding shortcode/action hook, see readme.txt for more detail - How to control Home page categories display?
==> You can set home page categories display from plugin settings, manage categories option. Select your category, you want to display.
How to use Shortcode
— You can add google map by shortcode. Insert the code in post/page/listing editor content.
— Shortcode is :: [mappress_gmap]
— Set width & height like :: [mappress_gmap w=100% h=400px], Refer readme.txt or plugin settings page for more detail.
USE more than one category for shortcode
—————————————-
[mappress_gmap w=100% h=300 cat=14,12,16 zoom=10]
Grouping Map Options
—————————————-
[mappress_gmap w=100% h=300 is_grouping=grouping_with_cat_filter zoom=10]
is_grouping=grouping_with_cat_filter OR
is_grouping=grouping_without_cat_filter OR
is_grouping=no_grouping
— You can user wordpress action hook “wpw_mappress_gmap_code” for home page as well “wpw_listing_n_search_gmap” for listing & search page
— The php coding for that is below::
$arg = array(‘w’ => ‘100%’,’h’ => ‘400px’);
do_action(‘wpw_mappress_gmap_code’,$arg);
USE more than one category for shortcode
—————————————-
$arg = array(‘w’ => ‘100%’,’h’ => ‘400px’,’cat’ => ‘14,12,16’);
do_action(‘wpw_mappress_gmap_code’,$arg);
Grouping Map Options
—————————————-
$arg = array(‘w’ => ‘100%’,’h’ => ‘400px’,’is_grouping’ => ‘grouping_with_cat_filter’);
do_action(‘wpw_mappress_gmap_code’,$arg);
‘is_grouping’ => ‘grouping_with_cat_filter’ OR
‘is_grouping’ => ‘grouping_without_cat_filter’ OR
‘is_grouping’ => ‘no_grouping’
— “w” :: widht of google map either “px” or “%”
— “h” :: height of google map either “px” or “%”
- Unzip the plugin folder
- Copy the plugin folder “mappress” and paste in “wp-content/plugins/”
- Go to wp-admin -> Plugins -> Plugins-> MapPress -> Active Plugin
- You can see additional “MapPress” menu link under “Ads” box at left menus
- Make settings as per you want to display map for home page, category page, search page etc… and all other settings….
- Read Usage, Notes & Developer Notes Carefully.
You can contact us directly via email (info(@)wpwebs.com) or support under forum in the AppThemes forum.
— You can add google map by shortcode. Insert the code in post/page/listing editor content.
— Shortcode is :: [mappress_gmap]
— Set width & height like :: [mappress_gmap w=100% h=400px], Refer readme.txt or plugin settings page for more detail.
USE more than one category for shortcode
—————————————-
[mappress_gmap w=100% h=300 cat=14,12,16 zoom=10]
Grouping Map Options
—————————————-
[mappress_gmap w=100% h=300 is_grouping=grouping_with_cat_filter zoom=10]
is_grouping=grouping_with_cat_filter OR
is_grouping=grouping_without_cat_filter OR
is_grouping=no_grouping
— You can user wordpress action hook “wpw_mappress_gmap_code” for home page as well “wpw_listing_n_search_gmap” for listing & search page
— The php coding for that is below::
$arg = array(‘w’ => ‘100%’,’h’ => ‘400px’);
do_action(‘wpw_mappress_gmap_code’,$arg);
USE more than one category for shortcode
—————————————-
$arg = array(‘w’ => ‘100%’,’h’ => ‘400px’,’cat’ => ‘14,12,16’);
do_action(‘wpw_mappress_gmap_code’,$arg);
Grouping Map Options
—————————————-
$arg = array(‘w’ => ‘100%’,’h’ => ‘400px’,’is_grouping’ => ‘grouping_with_cat_filter’);
do_action(‘wpw_mappress_gmap_code’,$arg);
‘is_grouping’ => ‘grouping_with_cat_filter’ OR
‘is_grouping’ => ‘grouping_without_cat_filter’ OR
‘is_grouping’ => ‘no_grouping’
— “w” :: widht of google map either “px” or “%”
— “h” :: height of google map either “px” or “%”
Important note : After version : 1.3.0 (1st Aug 2016) >> map code add in header.php file is not needed. If you have already added please remove it and see plugin settings to manage map display settings.
Version : 1.3.6 (27th Aug 2021)
——————————-
— Display only selected categoy in map select box as per selected from wp-admin >> Ads >> MapPress >> Select Listing Category
Version : 1.3.5 (08th May 2021)
——————————-
— Category listing page Google Map if there is only one pin point on the map, it will center the map as per the current pin’s lat & lng – Code was wrong and Correction done.
Version : 1.3.4 (27th March 2021)
——————————-
— Category listing page MAP with only one pin point, display zoom very high.
— Correct that problem and now it will zoom as per zoom settings if display pin on map is one only for category listing page.
Version : 1.3.3 (19th Nov 2020)
——————————-
— Minimum number of pins in the group for Grid Size in case of Map with Grouping Icon related settings not added from wp-admin >> MapPress settings.
— Above settings added and now admin can change it as per they want.
Version : 1.3.2 (03rd Oct 2020)
——————————-
— Plugin not working for older version of ClassiPress Theme – Problem Solved.
— ClassiPress Theme version less than version 4. Now working for older and new version both.
Version : 1.3.1 (2nd July 2020)
——————————-
— Map pin point design settings/correction & change.
Version : 1.3.0 (30th March 2019)
——————————-
— Added new plugin — Set Google Map Latitude & Longitude Manually
— Which included inside plugin folder.
— Plugin name :: Set Google Map Latitude & Longitude Manually
— Activate the plugin
— See additional link from wp-admin >> Ads(left menu) >> Set Lat & Lng for ClassiPress
— Changed listings lat & lng for google map settings changed for each ads.
— Added CSS to enhance map look.
Version : 1.2.10 (12th March 2019)
——————————-
— Plugin settings update, removed nu-necessary options.
Version : 1.2.9 (04th Nov 2018)
——————————-
— ClassiPress theme have added map so map plugin google map api and theme api added more than one times, so it display “You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.”
— To solve above problem we have added option (wp-admin >> from plugin settings) to enable or disable the google map api url, in case if you face that problem you should select the checkbox and disable the map api so map should work ok for your site.
Version : 1.2.8 (24th Oct 2018)
——————————-
— Upgrade the api url
Version : 1.2.7 (27th Aug 2018)
——————————-
— Slider effect for multiple pin on same address not working properly – SOLVED
— Slider effect for mulitple pin on same address not display properly – SOLVED
Version : 1.2.6 (09th Aug 2018)
——————————-
— Plugin updated as per ClassiPress version 4.0
— Some CSS update as per ClassiPress version 4.0
— Hidden plugin google map api as ClassiPress version 4.0 theme already added.
— necessary settings as per needed.
Version : 1.2.5 (26th Jan 2018)
——————————-
— Added map width & height option for mobile devices so you can set different height & width for computer & mobile devices.
Version : 1.2.4 (24th Oct 2017)
——————————-
— Plugin settings center latitude, center longitude and zoom not affected on change, Problem solved.
Version : 1.2.3 (20th Oct 2017)
——————————-
— Map display on mobile show/hide new option added from plugin settings.
Version : 1.2.2 (16th Oct 2017)
——————————-
— Map width & height change option added from plugin setting.
— SSL enabled but not work for some server, problem solved.
— site with SSL certificate, mean for https:// site js & css may not working – problem solved.
Version : 1.2.1 (24th Aug 2016)
——————————-
* Category map – on popup image not display.
* Multiple ads on same address >> slider click page goes up – problem SOLVED
Version : 1.2.0 (1st Aug 2016)
——————————-
* Map plugin code in diffetnt files for optimization
* New Options added for map dispaly >> Now no more manually add code in header.php file.
* See plugin settings to show/hide map from home page, category pages, tags pages and search page.
* Add Google Map API settings related instructions from plugin setting added.
* Create new Google Map API related instructions from plugin setting added.
* Multiple ads on same address not display properly – problem solved – now all ads with same address will be display in slider mode.
* Multiple ads on same address – solved for home page, category, tags and search map.
* Some design related changes.
* Popup display good for small screen devices.
* Category, tags and search map will display in grouped map so nearer map can be found easily.
Version : 1.1.5 (16th July 2016)
——————————-
* Google map API, language and region added as per classipress theme new upgrade version : 3.5.7+
Version : 1.1.4 (2nd May 2016)
——————————-
* Localization ready
Version : 1.1.3 (24th April 2016)
——————————-
* Auto Upgrade settings related settings done.
Version : 1.1.2 (10th – January – 2016)
——————————-
— category selection/filter menu on map shifted from right to left so now you can see the map zoom option clrarly.
Version : 1.1.1 (19th – December – 2015)
——————————-
— While google latitute and langitude is “null” any how, the map not working – Problem solved
Version : 1.1.0 (9th – December – 2015)
——————————-
— Wordpress 4.4 upgrade.
Version : 1.0.6
——————————-
— Category & tags pages javascript error solved.
Version : 1.0.5
——————————-
— New Feature :: Display map for tags
======ADD CODE LIKE BELOW========================
global $wp_query;
if($wp_query->queried_object->taxonomy==’ad_cat’ || $wp_query->queried_object->taxonomy==’ad_tag’ || is_search())
{
$arg = array(‘w’=>’100%’,’h’=>’400px’,); //w=width & h=height
do_action(‘wpw_listing_n_search_gmap’,$arg);
}
==============================
Version : 1.0.4
— Popup Design Change
— Category listing map error – solved
Version : 1.0.3
MAIN FEATURE : Added Group (Clustered) Map Feature. You can manage related settings from wp-admin > plugin settings page.
— add multiple category map via shortcode.
— Admin plugin settings > category listing formating
— Map Shortcode problem – solved
Version : 1.0.2
— ERROR : Listing Category selection from wp-admin was working only for parent category
Solution : while it should work for selected category only
Version : 1.0.1
Disable mouse scroll zoom — you will get option from plugin settings
Version : 1.0.0
New Release
Comments (172)
How do I style the pop-up to look like the demo site? Mine does not show a bubble picture, it is square. I have Version 1.0.3 installed.
the new style added in 1.1.4 so you should update the plugin if you don’t have changed any code of plugin. Just replace.
is it possible to use it with vantage instead of classipress ?
for vantage there is another plugin : http://marketplace.appthemes.com/plugins/mapsupreme/
Thanks
Does this support other countries beside USA?
Can I have Country, City, and Zip and have this work?
yes it will work for all countries all over world which are display on google map and for which google map is working.
Well maps don’t seem to work out of the box on CP even when region is set. So….
what region are you talking about?
if you talking about ad related address or the map central location related settings?
if possible would like to send us the site url please.
You should create the forum topic for better communication.
Thanks
I only set country General region settings. Using country city and zip. Address not found. I posted on CP help forum.
Hi Jon,
are you taking about map plugin settings page or the settings while you add new ad for CP?
if you getting problem while add new ad in CP then the apptheme member can give you better solution. Because once ads added and related map values like lat & lng stored which ads, then only the map start working. Make sure you are not using older version of CP.
Thanks
Hi,
Great Plugin! I would like to custom-style the Google Map. Where in the Mappress files can I add the following json style snippet?
Thanks!
[
{
“featureType”: “landscape”,
“stylers”: [
{
“hue”: “#FFAD00”
},
{
“saturation”: 50.2
},
{
“lightness”: -34.8
},
{
“gamma”: 1
}
]
},
{
“featureType”: “road.highway”,
“stylers”: [
{
“hue”: “#FFAD00”
},
{
“saturation”: -19.8
},
{
“lightness”: -1.8
},
{
“gamma”: 1
}
]
},
{
“featureType”: “road.arterial”,
“stylers”: [
{
“hue”: “#FFAD00”
},
{
“saturation”: 72.4
},
{
“lightness”: -32.6
},
{
“gamma”: 1
}
]
},
{
“featureType”: “road.local”,
“stylers”: [
{
“hue”: “#FFAD00”
},
{
“saturation”: 74.4
},
{
“lightness”: -18
},
{
“gamma”: 1
}
]
},
{
“featureType”: “water”,
“stylers”: [
{
“hue”: “#00FFA6”
},
{
“saturation”: -63.2
},
{
“lightness”: 38
},
{
“gamma”: 1
}
]
},
{
“featureType”: “poi”,
“stylers”: [
{
“hue”: “#FFC300”
},
{
“saturation”: 54.2
},
{
“lightness”: -14.4
},
{
“gamma”: 1
}
]
}
]
reply added to your forum topic : http://forums.appthemes.com/mappress/custom-styled-map-mappress-84021/
Hello, I’m very interested in buying this plugin, but I would like to know the following:
1. Does it allow to set the default radius for search results?
2. Does it allow to set the maximum number of pins to show the map?
Hope to hear from you soon!
Hi Katra,
1) no you canno se the for search result as by default it will display complete map as per settings on plugin settings area.
2)yes by default it will display more than 5000 pinpoints.
Thanks
Thanks for your response Vipul, But what i ment for question #1 is:
Classipress has a “search by radius” feature, Will this map plugin show results according to the radius i enter in the radius field..? or will it always show the entire map of the US..?
Thanks. hope to hear from you soon!
No the map will display as per settings of plugin settings of wp-admin but yes it will display only those ads as they are display in the search.
How can i desactived the map in same pages like:
— ADD NEW AD
— BLOG
— DASHBORD
Thanks
The map will display only for home page or category page as per the guide in readme.txt file.
If you want to display for all pages and want to remove for specific pages you should add condition like
if(is_page( array(‘about-me’, ‘contact’ ) ))
{
//map will not display for this pages
}else
{
$arg = array(‘w’=>’100%’,’h’=>’400px’,); //w=width & h=height
do_action(‘wpw_mappress_gmap_code’,$arg);
}
where — ‘about-me’ AND ‘contact’ are page slugs
Is it possible to get Mappress to display on category pages when the category does not have listings? My site has some categories that are empty for the time being, but I would still like Mappress to show up on those category pages, even if it is just an empty map.
Hi Vipul,
I’ve tried posting this question on the forum and on the comments here but no reply – can you offer some help?
It is already working like that only, if there is not any listing for category page, it will never show the map.
You can try by create new site and check it.
Thanks
Hi Vipul,
Thanks for responding. You say if there is no listing for a category page, it will never show the map. I would like to change that – I’d like to show an empty map in that circumstance instead of no map. Is this possible?
actually in the plugin code we have added condition like “have_posts()” then only it will display.
In your case you may need to find and do customization in mapress.php file.
Thanks
Hi,
Is this plugin responsive to mobile devices?
Any known clash with other location plugins like Display Geo-Distance?
Thanks!
Hi,
Why is the map not showing on custom taxonomy pages?
the Map display on for category, tags and search not for any other custom taxonomy. To display in other taxonomy of ads you have to change and add taxonomy in below condition.
as per code you will add in header.php
global $wp_query;
if($wp_query->queried_object->taxonomy==’ad_cat’ || $wp_query->queried_object->taxonomy==’ad_tag’ || is_search())
{
}
Hi Vipul,
Once the mappress is loaded with the ad listings, can there be a googlemap search button where user can type in for example supermarket and all the supermarkets nearby will show up on that map?
Thanks
hi, have added – ‘100%’,’h’ => ‘400px’,’zoom’ => ’12’);
do_action(‘wpw_mappress_gmap_code’,$arg); ?> to header – this shows on all pages. how do i make it show only on front page?
You need to add like below — Home page condition
We have added related details in readme.txt file.
————————————-
if(is_home() || is_front_page())
{
$arg = array(‘w’=>’100%’,’h’=>’400px’,); //w=width & h=height
do_action(‘wpw_mappress_gmap_code’,$arg);
}
and then i read the read me …. thank you
hi i have updated classypress but the map does not show anymore
ignore comment – i am an idiot
Vipul The idea is good … but it takes a lot of development on the plug … hopefully follow progress
hi marioserrano, do you need any help related to the plugin?
hello I am having problems with this plugin. The plugin was working wonderfully, and when I was just about to make my website lebscout.com go live, it stopped working. I didn’t modify anything from the time it was working until now.
I couldn’t login to the website because I was recieving a fatal error message from the plugin.
The plugin was inactivated with and now I cannot reactivate it and I am receiving the same error message.
The message is :
Fatal error: Cannot redeclare add_term_meta() (previously declared in /home3/aymans87/public_html/wp-includes/taxonomy.php:1571) in /home3/aymans87/public_html/wp-content/plugins/mappress_/map_functions.php on line 58
Please help me solve this problem, I want to make my website go live real soon. I am new to website making so please let me know what I need to do to make work again.
Thank you
Never mind, I deleted the plugin then installed it back again and it worked. thank you
Hi there,
Yes the error because of wordpress 4.4 upgrade. WE have updated plugin so you can get latest form dashboard.
If still have any problem , let me know.
Thanks
Thank you all working now
The update is not yet available in my dashboard. How do I get it?
Just delete the plugin. Then download it again from your appthemes account (downloads) and install it. Worked for me.
Can you please update your plugin to work better on mobile phones, ipads, tablets, etc.. different screen sizes?
I think you should spend some time upgrading your plugin to make it really much better as it has so much potential to help so many of us to make a big difference on our sites. However without your time spent to upgrade this to the responsive web standard in this smart phone tech era, it is impossible for us to really make our classipress site any better than the big ones that exist already.
I personally am willing to pay for a monthly update subscription fee of usd3 to usd5 per month if you can continously bring in good and quality updates monthly, which matches todays Google standards for websites to rank better on google. Right now Classipress as a whole is not at this level and the mappress plugin is no better, but the potential is really so great here.
Hi thanks for your idea.
We are using Google map API version 3 and the map is totally wording on js code.
Related to small device, if you set width 100% it will set automatically.
Yes we will try latest technique for map and try to update the plugin.
By the way you can send us suggestion and guide linke on my email : vipul.jariwala@gmail.com
Thanks again for your co-operation.
I was wondering if the mappress plugin results show all the images for that result? I.e. can a user can see the images for that result in that popup window, or would they have to
click into the link “Ferrari F430…” to see the images if we are looking at your example above?
Additionally, I see that mappress plugin works with google maps. Does it
use the Google places API web service to return the results I want ( on top
of the google maps API)?
If so, can i extend the functionality of the listing posts returned on the
map to include additional links (not just link to the detail page, address,
and business directions). In fact, what fields are available in the
results popup