insurguru15
Forum Replies Created
Viewing 12 posts - 1 through 12 (of 12 total)
-
AuthorPosts
-
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.
I couldn’t get the code to work but I just figured it out.
Thanks
Ok, thank you Guust!
This reply has been marked as private.What css would I use to hide the categories on the details page? Is there any way I could add the categories in one of the tabs?
Thank You
Hello, Any help would be great.
Thanks
Thanks paolo!
One more thing, how do I edit the pop up in the map? Where would I find the file?
I found this code and it worked great. How would I add commas after the city and state?
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_city){ $html .= '<span itemprop="addressLocality">'.$post->post_city.'</span> ';} if($post->post_region){ $html .= '<span itemprop="addressRegion">'.$post->post_region.'</span> ';} if($post->post_zip){ $html .= '<span itemprop="postalCode">'.$post->post_zip.'</span><br>';} if($post->post_country){ $html .= '<span itemprop="addressCountry">'.$post->post_country.'</span><br>';} $html .= '</p>'; } return $html ; }
I re-installed wordpress and this issue went away.
Yes, everything is up to date.
-
AuthorPosts
Viewing 12 posts - 1 through 12 (of 12 total)