Naveen Giri

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 1,165 total)
  • Author
    Posts
  • in reply to: Include Select2 search field #542735

    Naveen Giri
    Moderator
    Post count: 1559

    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
    Naveen

    in reply to: Free and Premium Listings (Badge issues) #542732

    Naveen Giri
    Moderator
    Post count: 1559

    Hi 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
    Naveen

    in reply to: Deleting a review, but photos still show? #542727

    Naveen Giri
    Moderator
    Post count: 1559

    Hi 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
    Naveen

    in reply to: something went wrong advanced search bar #542300

    Naveen Giri
    Moderator
    Post count: 1559

    Hi ella ozer,

    GeoDirectory Advanced Search Filters plugin is outdated. Please update it and check.

    Regards
    Naveen

    in reply to: Review #542294

    Naveen Giri
    Moderator
    Post count: 1559

    Hi,

    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
    Naveen

    in reply to: GeoDirectory Location Manager #542284

    Naveen Giri
    Moderator
    Post count: 1559

    Thanks for the confirmation. have a great day.

    in reply to: back to basic graphic interface #542261

    Naveen Giri
    Moderator
    Post count: 1559

    have a great day.

    in reply to: back to basic graphic interface #542252

    Naveen Giri
    Moderator
    Post count: 1559

    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
    Naveen

    in reply to: back to basic graphic interface #542179

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Daniele,

    It’s because of added text in setting.
    I have corrected it.
    Please check now.

    Regards
    Naveen

    in reply to: Review #542169

    Naveen Giri
    Moderator
    Post count: 1559
    This reply has been marked as private.

    Naveen Giri
    Moderator
    Post count: 1559

    Hi 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
    Naveen

    in reply to: Add a custom CPT in Main search bar? #542118

    Naveen Giri
    Moderator
    Post count: 1559

    Hi 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
    Naveen

    in reply to: How to add parent categories to homepage header #542103

    Naveen Giri
    Moderator
    Post count: 1559

    Thanks for confirming, have a Great day Emma.

    in reply to: GeoDirectory Location Manager #542102

    Naveen Giri
    Moderator
    Post count: 1559
    This reply has been marked as private.
    in reply to: Problems uninstalling GeoDirectory and Plugins #541849

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Jose,

    Let us know if you still face any issues.

    Regards
    Naveen

Viewing 15 posts - 31 through 45 (of 1,165 total)