chrisat15
Forum Replies Created
-
AuthorPosts
-
Thanks for sharing!
If anyone is interested in austrian or german style, feel free to use this code:
// Formatting address in GD sidebar 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 .= 'Address:<br><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_region){ $html .= '<span itemprop="addressRegion">'.$post->post_region.', </span> ';} if($post->post_country){ $html .= '<span itemprop="addressCountry">'.$post->post_country.'</span><br>';} $html .= '</p>'; } return $html ; }
Just to make sure – dont know if you see the same as me…
Check the screens attached. Widget you set is 100% – correct. But it doesnt show 100% from the page. Its 100% from the content space. Understand?Cheers, Chris
Guust,
what you did is exactly that what I not want…this map is not full width!
Dont worry about the listings, they are working fine. Dont know why you think they dont.
Actually there are only 1 and 2 in the 2nd post type.About the pages setup – are you telling me that all GD pages must be located at the root?
What I wanted was:root: Partner
Listing: Partner/post type 1
Listing: Partner/post type 2/category 1and so on.
I am right, that the listing template is not from GD, its a template of KLEO?
Regarding permalinks: I’ve done so. See my info before. But it did never work again. No changes.
I will have a look again after all pages.Last thing about the map:
– I understand that on listing page full width is not available with my template.
– Whos template is it – (Name, GD or KLEO)?Thanks and greetings,
ChrisHi Guust,
thank you for your effort.
Your first question is answered above:At WP-page “Home business Directory” (/directory) at header content i have the setting:
[gd_homepage_map width=100% height=600px maptype=roadmap zoom=6 autozoom=true child_collapse=true scrollwheel=false marker_cluster=1 ]This means that at the template for this page I am able to add the map, works great.
I do not have a template for the listing pages…or should it be the same?
The level is OK (I guess). Just for understanding: Partner stands for places. Speaking of that, I did rename places at the settings. But this worked only one time. Now its “partner” always. Also when you save places as default…How did you set the full width at your sample pages? I cant figure out where this is done.
Reading the manual, it says top sections is full with, but it isn’t…Greetings, Chris
This reply has been marked as private.Hi Guust,
thank you for the info – I got that, but I think you misunderstood.
What I need is the GD TOP Section in full width. So far I did not find any chance to set that option.
At WP-page “Home business Directory” (/directory) at header content i have the setting:
[gd_homepage_map width=100% height=600px maptype=roadmap zoom=6 autozoom=true child_collapse=true scrollwheel=false marker_cluster=1 ]The same setting I would need for the listing page. But I dont have a “listing page” to set that.
If I set the map at the widgets, its always “page size” not full size.
The full size content can only be set at the page itself, but there is none. I guess its a template, but where to find it?Greetings, Chris
January 26, 2016 at 9:45 pm in reply to: Any chance to have "add listing" using Multilocations? #111989Hi Guust,
thank you for the help. Added – but still without function. Fields are gone, when wishlist active.
The fix does not help.Cheers, Chris
January 25, 2016 at 11:05 pm in reply to: Any chance to have "add listing" using Multilocations? #111457Hi Paolo,
thanks – tried it – but no effect. Still misfunction.
Fix added to functions.php at theme – does nothing.
Fix added to funktions.php at child – Server 500 error.Hopefully there is another fix available. Wishlist is absolutely needed.
Greetings, Chris
January 25, 2016 at 10:39 pm in reply to: Any chance to have "add listing" using Multilocations? #111443Hi and thank you for the superfast support!
Sorry, but where should I add the fix?
Thanks, Chris
Hi,
this actually wish will left as wish… 😉
The other issues are work in progress.Thank you, please close this ticket.
Cheers, Chris
January 25, 2016 at 9:58 pm in reply to: Any chance to have "add listing" using Multilocations? #111392This reply has been marked as private.Hi Guust,
thank you for explaining. Makes sense for thousands. I will reach one thousand at max. worldwide.
A really great thing would it be to be able to choose how many to display at max in combination with central point of the map and zoom level. So you have control over the load.Well, Post Types are important for me – I need custom fields.
I will take the workaround using the menu and direct link to post types listing.
Greetings, Chris
January 25, 2016 at 9:32 pm in reply to: Any chance to have "add listing" using Multilocations? #111353Hi Guust,
I was searching around – maybe it the reason are the (for me) hidden fields?
Please see the screen attached.
Add listing opens add places (from the menu). If I want to add other listings eg. post types I have to use the link / button from the post types listings sidebar.Thank you, Chris
Hello Guust,
thank you for your reply, sorry to read that.
I have them switches at the bottom, thats OK. I am afraid that many visitors will not find/see them.
Would be great to have that switches as shortcode for the sidebar or menu.
If I switch manually using the link to e.g. hotel the map looks different to my home page, so I really don’t like it.
In addition would it be great for a growing business to have all points on one map.
Is there any serious reason for not to have them all in one map as option?Thanks, Chris
-
AuthorPosts