Guust
Forum Replies Created
-
AuthorPosts
-
Like I said at https://wpgeodirectory.com/support/topic/change-image-url-links/#post-23431, I cannot login.
You have to use the GMAP – LISTING PAGE widget on the LISTING page.
You have added the GMAP – HOME PAGE widget to the LISTING page.
That widget is only for the HOME page.Ok, below is the code you got to add to your child theme’s functions.php, and see here for an example: http://goldroo.net/attractions/attractions/guust/
add_filter('geodir_show_post_address', 'geodir_change_address_order' , 100 , 2) ; function geodir_change_address_order($html , $vars) { global $post, $preview, $wpdb; $field_icon=''; if (strpos($field_icon,'http') !== false) {$field_icon_af = '';} elseif($field_icon==''){$field_icon_af = '<i class="fa fa-home"></i>';} else{$field_icon_af = $field_icon; $field_icon='';} if(!$preview) { $html = '<p class="" style="clear:both;" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">'; $html .= '<span class="geodir-i-location" style="'.$field_icon.'">'.$field_icon_af; $html .= ' '; $html .= '</span>'; //print_r($_POST); if($post->post_address){ $html .= '<span itemprop="streetAddress">'.$post->post_address.'</span><br>';} if($post->post_zip){ $html .= '<span itemprop="postalCode">'.$post->post_zip.'</span> ';} if($post->post_city){ $html .= '<span itemprop="addressLocality">'.$post->post_city.'</span><br>';} if($post->post_country){ $html .= '<span itemprop="addressCountry">'.$post->post_country.'</span><br>';} $html .= '</p>'; } return $html ; }That removes the province from the address, but you will need that for the Add Listing form. You might be able to hide it with CSS but not that might give trouble if there are 2 towns with the same name in a different province.
This would hide it:#geodir_post_region_row {display: none;}Thanks for letting us know.
You need to use postname as permalinks:
http://docs.wpgeodirectory.com/basic-installation/#postnames
http://docs.wpgeodirectory.com/dos-and-donts/It also looks like the listing does not have an address.
If you still have trouble share your WP Admin details in a private message.
This reply has been marked as private.You got to have one default one, or the map does not know what to load when you call the page.
All your CPT will display in the bottom ribbon of the home/location map, so you switch CPTs by clicking on either Places or Events etc. But you have to have one for starters.
I hope I understood you correctly.Removing the social buttons and share button, explanation of login failed:
https://wpgeodirectory.com/support/topic/gdf-modern-how-to-customize-listing-detail-page-sidebar/#post-22062Edit this post is there only for admins, or the user that “owns” the listing. So there is no need to remove that. Just logout to see.
Disable favorites: http://docs.wpgeodirectory.com/faqs/how-do-i-disable-favorites/
Too simple, eh 🙂
Clear your browser cache [CTRL F5] and it should work. I checked in IE, Chrome and FF.
They are only notices admin can see.
I implemented this on your site, so that fixes it even for you:
http://docs.wpgeodirectory.com/faqs/help-i-get-a-php-warning-on-my-pages/Open the Address field and you will find city label, region label, country label, see image.
http://www.cheval-event.be/places/belgique/vlaams-gewest/mechelen/attractions/guust-de-malines/
You should not use caching.
I disabled all your caches, but you will have to clear your browser too I think, before you will be able to see it. You might still have some other caching going I could not find.The image attached is how it looks in a fresh browser:
@ict con
Yes, you need to adjust it to suit your requirements.
How does a Dutch address look like?WP admin details please.
-
AuthorPosts