I just installed Responsive Business Directory theme, and ran the upgrade plugin to import about 130 listings from my previous (non-responsive Directory Press 7.1) setup.
I already had a map_location field, but I noticed that the default is for Google Maps display is set to ‘OFF’ for listings… any way to set it to ‘ON’ quickly for all listings??
Thanks in advance Rob
Google map enhancement is “showgooglemap” custom field with value “yes” if you need it turned on for all listings. To update it for all listings you could run SQL query like this:
[code title=””]UPDATE wp_postmeta SET meta_value = ‘yes’ WHERE meta_key = ‘showgooglemap'[/code]
But be careful when running direct SQL queries, export your database first and than run the query. This is done in phpmyadmin
Also note that you need to match exact table name of custom fields, it may not be called wp_postmeta if you added different prefix on installation
Start your new website today!