Giri
Forum Replies Created
-
AuthorPosts
-
Hello christian, I have applied the fix on both dev and live folder already.
Have you tested that?
Please make sure to clear your browser cache completely and then test.
Also i noticed there is a scroll problem with latest SD theme. Stiofan fixed that. It will be available in next version.
Thanks
June 30, 2016 at 10:00 am in reply to: Split: Supreme Bugs: Detail Layout and Visual Composer Backend Incompatible #218850Try this code in child theme for 3 column footer widgets.
function sd_dt_footer_widget_class($classes) { return "col-lg-4 col-md-6"; } add_filter('dt_footer_widget_class', 'sd_dt_footer_widget_class');
Hi there, In last version of GD advanced search addon, we have added “Min chars needed to trigger autocomplete” setting.
This setting available under Geodirectory -> Advanced Search -> SEARCH AUTOCOMPLETER SETTINGS
That setting also applicable for Near autocomplete.
Can you set the value to 1 and let me know how that goes?
Thanks
Hi there, if you want to display custom fields in title, then you need to use custom code in your child theme.
Since you said you have custom field called clinic_places
I would try like this.
add_filter('pre_get_document_title', 'geodir_custom_fields_page_title', 100); add_filter('wp_title', 'geodir_custom_fields_page_title', 100, 2); function geodir_custom_fields_page_title($title = '', $sep = '') { if (geodir_is_page('detail')) { global $post; if (isset($post->clinic_places)) { $title = str_replace('%%cf_clinic_places%%', $post->clinic_places, $title); } } return $title; }
Please note, custom fields only work with detail pages. So you should use custom field only for “Details page meta title” setting in Title and Meta
If you would like to display clinic places at the end of the title
Just use this format
%%title%% %%sep%% %%cf_clinic_places%%
Basically my code replaces %%cf_clinic_places%% text with origin custom field value.
If you have multiple post types with different custom fields then it gets complicated.
FTP credentials not working. can you check once again?
Thanks
Hello Mario, I see setting field for each CPT there in Yoast SEO page. So yes you can set ‘post type page title’ for each CPT individually.
Please see the attached screenshot
Hi there,
If you want to modify “Place” text, then you need Geodirectory Custom Post Types add on for this.
Once you have installed Custom Post Types addon,
Navigate to
Geodirectory -> Custom Post Types -> Edit (gd_place) -> Labels -> Singular name
Use some other text there instead of “Place”
Let me know how that goes.
P.S: If you want to translate only that “Title”, “Description” parts, then our translation strings look like
%s Title
So you need to use like
%s TranlatedTitleText
I have rewrote favorite ajax request function. Can you post your ftp details? So I can apply the code and test it in your website.
Thanks
This reply has been marked as private.I’m getting these errors.
Can you fix them?
ERROR: Incorrect username or password.
ERROR: Too many failed login attempts. Please try again in 1 minute.
Hey sorry, I missed this thread since its marked as resolved. I’ll take a look and reply by today.
Thanks for your patience.
Ok thanks, i’ll check whats wrong tomorrow.
Thanks
Hi there, I have added a filter in whoop and applied patch on your website.
I have also added this code in your child theme.
function whoop_bp_recent_activity_objects_filter($objects) { $objects[] = 'new_blog_post'; return $objects; } add_filter('whoop_bp_recent_activity_objects', 'whoop_bp_recent_activity_objects_filter', 10);
I do believe that would make it display new listings on recent activity widget. But i believe that might work only for new listings.
Could you test it by creating new listing?
Thanks
This reply has been marked as private.Hi there, this bug has been fixed. But the code is awaiting for stiofan’s review.
We will let you know. Thanks for your patience.
-
AuthorPosts