Giri
Forum Replies Created
-
AuthorPosts
-
Hi Joy,
Just discussed with kiran about your query.
He mentioned this
it shows distance in listings in two cases
1) you are on /location/me/ page
2) you are on search page and searched by locationHope that answers your question.
Hi Joy,
You have been using multiple custom css for the same part. So it confuses me.
This is the structure you wanted
Address:
123 Some Street
City
Region
Phone Number: (123) 456-7890This is how I would like it be displayed:
Address:
123 Some Street
City, Region
Phone Number: (123) 456-7890But you didn’t clearly mention which part you are talking about. Then later you mentioned you are talking about bubble.
So I’m hoping at this moment you are only talking about the bubble in all pages.
If thats the case please remove all existing custom css and only use this part.
.geodir_more_info .geodir-i-location, .geodir_more_info span[itemprop="streetAddress"] { display: block !important; } .geodir_more_info span[itemprop="addressLocality"], .geodir_more_info span[itemprop="addressRegion"] { display: inline-block !important; margin: 0; margin-bottom: 5px; margin-right: 5px; } .geodir_more_info span[itemprop="postalCode"] { display: none !important; }
Thanks
How do I get the street address on a separate line from the “Address” heading?
.geodir_more_info .geodir-i-location { display: block !important; }
September 7, 2017 at 3:42 pm in reply to: Supreme Directory – category list view bug for grid views #394639Ok thanks
6)
Not sure what you mean. Are you talking about Loginbox widget where you will see a login form if user not loggedin and Dropdown like “My Listings”, Favotites and Add listings.If yes then its coming from GD main plugin.
5)
That supposed to display a popup to share the review on facebook and twitter. Make sure you have no js issues in your console.
4) Thats for multi ratings and review image uploads.
User can review detail rating info like
Price – 5
Design – 4
Support – 2etc.
If user uploaded any image while reviewing you can find it there
3)
No easy way. But since you are already editing the file in #1,
You can duplicate this part (around line 427 to 430)
if ( $post->geodir_website ) { $html .= '<span><i class="fa fa-link"></i><a href="' . $post->geodir_website . '" target="_blank" rel="nofollow">' . __( ' Website', GEODIRECTORY_FRAMEWORK ) . '</a></span><br>'; }
2)
Add this php code using code snippets plugin
add_action('geodir-whoop-listing-taxnomies', 'whoop_custom_geodir_comments_number'); function whoop_custom_geodir_comments_number() { global $post; $comment_count = geodir_get_review_count_total($post->ID); $post_avgratings = geodir_get_post_rating($post->ID); $html = '<div class="average-review" itemscope itemtype="http://data-vocabulary.org/Review-aggregate">'; $post_avgratings = (is_float($post_avgratings) || (strpos($post_avgratings, ".", 1) == 1 && strlen($post_avgratings) > 3)) ? number_format($post_avgratings, 1, '.', '') : $post_avgratings; $reviews_text = $comment_count > 1 ? __("reviews", 'geodirectory') : __("review", 'geodirectory'); $html .= '<span itemprop="rating" itemscope itemtype="http://data-vocabulary.org/Rating"> <span class="rating" itemprop="average" content="' . $post_avgratings . '">' . $post_avgratings . '</span> / <span itemprop="best" content="5">5</span> ' . __("based on", 'geodirectory') . ' </span> <span class="count" itemprop="count" content="' . $comment_count . '">' . $comment_count . ' ' . $reviews_text . '</span><br />'; $html .= '</div>'; echo $html; }
Also add the following css in GD custom css
body.single .geodir-big-header-rc, body.single .geodir-details-sidebar-rating .average-review span:first-child { display: none !important; }
1)
wp-content/themes/geodirectory_whoop/functions/general.php
Line number : ~ 414
Replace this line
$img_old_url = 'http//maps.googleapis.com/maps/api/staticmap';
with
$proto = is_ssl() ? 'https:' : 'http:'; $img_old_url = $proto.'//maps.googleapis.com/maps/api/staticmap';
September 7, 2017 at 3:01 pm in reply to: Supreme Directory – category list view bug for grid views #394629Hi Atilla, most likely you are fixed the things already fixed but not yet released.
Please take a backup of your supreme theme and then install the development version from here.
https://github.com/mistergiri/supreme-directory
Thanks
September 7, 2017 at 2:30 pm in reply to: Facebook iamge used instead of BuddyPress Extended profile image #394621Hi Marc,
I tested in my local by installing buddypress, GD and Claim manager and everything works fine.
So some third party plugin or your theme causes your issue.
Please try switching your theme.
Thanks
Hi Joy, Always provide the page url. Its much easier for us to understand what you are asking by looking at your page url.
Thanks
September 7, 2017 at 1:35 pm in reply to: Facebook iamge used instead of BuddyPress Extended profile image #394617Hi Marc,
We use get_avatar function to display the avatar in listing page.
So it seems like the problem is with buddypress. https://buddypress.org/support/topic/i-have-installed-buddypress-but-users-avatars-are-not-displayed/
Just make sure by deactivating the plugins one by one (other than GD and BP). If the problem is not with 3rd party plugin, then try switching the theme.
Thanks
Try this css.
.geodir-bubble-meta-side .geodir_more_info.post_address span[itemprop="addressLocality"], .geodir-bubble-meta-side .geodir_more_info.post_address span[itemprop="addressRegion"] { display: inline-block !important; margin: 0; margin-bottom: 5px; margin-right: 5px; }
My last reply was for detail page and i misunderstood your request.
Thanks
-
AuthorPosts