Giri
Forum Replies Created
-
AuthorPosts
-
Hey Mark, i’m unable to access your site. I see 502 Bad Gateway error.
Please let me know once you fix your server issue.
Thanks
Michael, Add that line before this line
/* That's all, stop editing! Happy blogging. */
Just use only this part.
define('WP_CACHE', true);
Let me know if you still get 500 error.
thanks
If you can do it by yourself, follow these steps.
File: /wp-content/plugins/geodir_custom_posts/geodir_cpt_link_business.php
Line number: 306
Replace this line
add_action('geodir_before_detail_fields','geodir_link_cpt_business_fields_html',4);
with
add_action('geodir_before_detail_fields','geodir_link_cpt_business_fields_html',1);
File: /wp-content/plugins/geodir_event_manager/gdevents_hooks_actions.php
Line number: 10
replace this line
add_action('geodir_before_detail_fields','geodir_event_show_business_fields_html',4);
with
add_action('geodir_before_detail_fields','geodir_event_show_business_fields_html',1);
Basically you are changing the number 4 to 1.
Thanks
Hey Mark, I have fixed that in dev version.
Please post your wp admin details. I’ll apply the fix for the order.
Thanks
Mark, nevermind. Looks like its not a new bug. Paolo explained the issue. I’m working on it.
Thanks
Hi Mark, I have not modified anything for the order. So it might be different issue.
My last fix just resets the title and description value to “blank value” instead of pulling from linked business.
Please give me a screenshot for your order issue. So i can understand whats going on.
Thanks
Jimmy,
This is the reason why we recommend our users to use “Code snippets” plugin for supreme customisation.
Supreme is a child theme. If you update all your customisation will be lost. So make backup of your current theme, especially functions.php file and style.css
Use code snippets plugin for custom codes
Hi Carol, I have applied some code in your site and updated GD to 1.6.7.
It works now.
Let me know if you still have problem.
This is the code I applied
function gd_replace_yes_text_in_cf($html) { $html = str_replace(array(": ","Yes"),"",$html); return $html; } add_filter('geodir_show_geodir_TransitAccesible','gd_replace_yes_text_in_cf'); add_filter('geodir_show_geodir_parking','gd_replace_yes_text_in_cf');
It can be found in the bottom of your theme’s functions.php file
Thanks
Rita,
The classes you provided correct. But the problem is I have used a wrapper only for background purpose in dropdown. Its not available in bubble. So unless we refactor bubble code it won’t look nice.
Hope that explains your query.
Thanks
This reply has been marked as private.September 6, 2016 at 1:39 pm in reply to: Relocating Display On Business Listing Details Page #260977Try replacing my old code with this one for address
#gd-sidebar-wrapper .geodir_more_info.post span[itemprop="streetAddress"] {display: block;} #gd-sidebar-wrapper .geodir_more_info.post span[itemprop="streetAddress"] +br {display: none;} /* Adds a line break after the street address */ #gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressLocality"] {display: initial;} /* Makes the city show */ #gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressLocality"] +br {display: none;} /* Makes the city show */ #gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressLocality"]:after {content: ", ";} /* Adds a comma and a space after the city */ #gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressCountry"] {display: none;} /* Makes the country show */ #gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressRegion"] {display: initial;} /* Makes the region show */ #gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressRegion"] +br {display: none;} /* Makes the region show */ #gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressRegion"]:after {content: ", ";} /* Adds a comma and a space after the city */ #gd-sidebar-wrapper .geodir_more_info.post span[itemprop="postalCode"] {display: initial;} /* Makes the postcode show */
Popular category works fine when testing with desktop browser. If it doesn’t work in mobile, try increasing viewport size.
I have used 468px. Make it 568px and try
Have you installed latest supreme theme?
I can see the changes are merged 1 month back. https://github.com/GeoDirectory/supreme-directory/blob/master/inc/geodirectory-compatibility.php#L897
Jimmy, _blank code was added in supreme itself. So you don’t have to worry about the lines. Just update the theme and it will work.
If you must require the line details, then this is the info.
File: /wp-content/themes/supreme-directory/inc/geodirectory-compatibility.php
Line number: 895 to 907
September 6, 2016 at 11:48 am in reply to: Relocating Display On Business Listing Details Page #260853Jimmy,
For address use this css instead of filter.
#gd-sidebar-wrapper .geodir_more_info.post span[itemprop="streetAddress"] +br {display: initial;} /* Adds a line break after the street address */ #gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressLocality"] {display: initial;} /* Makes the city show */ #gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressLocality"] +br {display: none;} /* Makes the city show */ #gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressLocality"]:after {content: ", ";} /* Adds a comma and a space after the city */ #gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressCountry"] {display: none;} /* Makes the country show */ #gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressRegion"] {display: initial;} /* Makes the region show */ #gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressRegion"] +br {display: none;} /* Makes the region show */ #gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressRegion"]:after {content: ", ";} /* Adds a comma and a space after the city */ #gd-sidebar-wrapper .geodir_more_info.post span[itemprop="postalCode"] {display: initial;} /* Makes the postcode show */
As far category, you may have to display category in full width if you want non truncated text.
So try this css.
@media (max-width: 468px) { .sd.home .featured-area .geodir-pcat-show, .sd.sd-location .featured-area .geodir-pcat-show { width: 90% !important; } }
Let me know how that goes.
Thanks
Hi there,
I have fixed your problem. Added some code in your functions.php file.
Please test it and let me know if you have any problem.
Thanks
-
AuthorPosts