Naveen Giri
Forum Replies Created
-
AuthorPosts
-
Hi, gowrann
The select2 input element becomes the search box for multiple selects.
Just type in the input box, you will notice the option get shorted as you type.Regards
NaveenHi gaz36f,
I checked on local but unable to reproduce the case. please check if Gd addons are up to date.
please send us the site details in private reply, where we can check it?
Regards
NaveenHi John,
I checked, the image deleted when I delete the review.
So just confirming what do you mean by CPT profile page?are you sure its the review images?
Regards
NaveenHi ella ozer,
GeoDirectory Advanced Search Filters plugin is outdated. Please update it and check.
Regards
NaveenHi,
I checked, the review submission faces some error. It could be a conflict with other outdated plugins.
Please update the plugin and perform troubleshooting steps.
https://wpgeodirectory.com/docs-v2/faq/troubleshooting/
or send us the FTP details in a private reply.Regards
NaveenThanks for the confirmation. have a great day.
have a great day.
Hi Daniele, there is no default way to change the text.
but you can use below snippet using https://wordpress.org/plugins/code-snippets/ plugin.add_action( 'wp_head', function () { ?> <script> jQuery(document).ready(function(){ jQuery('.gdlmls-sub-title').text('to explore CBC case studies and contributors near you'); }); /* write your JavaScript code here */ </script> <?php } );
Regards
NaveenHi Daniele,
It’s because of added text in setting.
I have corrected it.
Please check now.Regards
NaveenThis reply has been marked as private.April 23, 2020 at 3:01 pm in reply to: Automatic translate with poedit – not loading geodirectory dashboard #542162Hi thune,
It is a bug caused by the translation. I have added a patch on your site and also fixed it in GD.
Please have a look.Regards
NaveenHi Chris,
You can use the following snippet to use multi-select field on the main search
function custom_myfield_main_search_bar_setting( $show, $field, $cf ) { if ( ! empty( $field ) && $field->field_type == 'multiselect' ) { $show = true; } return $show; } add_action( 'geodir_advance_search_field_in_main_search_bar', 'custom_myfield_main_search_bar_setting', 10, 3 ); add_filter( 'geodir_search_output_to_main_multiselect', 'custom_myfield_output_main_select', 10, 3 ); function custom_myfield_output_main_select( $html,$cf,$post_type ){ $cf->input_type = 'SELECT'; global $wpdb; $select_fields_result = $wpdb->get_row( $wpdb->prepare( "SELECT option_values FROM " . GEODIR_CUSTOM_FIELDS_TABLE . " WHERE post_type = %s and htmlvar_name=%s ORDER BY sort_order", array( $post_type, $cf->htmlvar_name ) ) ); if ( in_array( $cf->input_type, array( 'CHECK', 'SELECT', 'LINK', 'RADIO' ) ) ) { // optgroup $terms = geodir_string_values_to_options( $select_fields_result->option_values, true ); } else { $terms = explode( ',', $select_fields_result->option_values ); } $html .= "<div class='gd-search-input-wrapper gd-search-field-cpt gd-search-" . $cf->htmlvar_name . "'>"; $html .= str_replace(array('
- ','
'),'',geodir_advance_search_options_output( $terms, $cf, $post_type, stripslashes( __( $cf->frontend_title, 'geodirectory' ) ))); $html .= "</div>"; return $html; }Regards
NaveenThanks for confirming, have a Great day Emma.
This reply has been marked as private.Hi Jose,
Let us know if you still face any issues.
Regards
Naveen -
AuthorPosts