Kiran

Forum Replies Created

Viewing 15 posts - 496 through 510 (of 6,022 total)
  • Author
    Posts
  • in reply to: House number on wrong place #529755

    Kiran
    Moderator
    Post count: 7069

    Hi Tom,

    The autocomplete address search shows same results at it receive from the OpenStreetMaps.

    See https://nominatim.openstreetmap.org/search?q=Mainzer%20Stra%C3%9Fe%202,%2064572%20B%C3%BCttelborn,%20Germany&format=json&addressdetails=1

    Regards,
    Kiran


    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: V2 Home Page Maps Loading Different Country by Default #529651

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: V2 Home Page Maps Loading Different Country by Default #529649

    Kiran
    Moderator
    Post count: 7069

    Please try now after clearing your browser cache.

    Kiran

    in reply to: Search for opening hours #529648

    Kiran
    Moderator
    Post count: 7069

    Hello Michael,

    There was incorrect usage of snippet at Snippets.

    I have corrected snippet to set default values and added one snippet to show business hours open by default.

    Kiran

    in reply to: Warning from WordPress: GeoDirectory Pricing Manager failure #529645

    Kiran
    Moderator
    Post count: 7069

    Thanks for letting us know.

    in reply to: fb importer #529644

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: fb importer #529638

    Kiran
    Moderator
    Post count: 7069

    Hi Olga,

    Do you think it’s possible to move ‘story’ from fb to description. Most businesses write only a short line in the ‘about us’
    It requires some code customization.

    can you please check why if facebook has cyrillics in their url the import doesn’t work.
    Please try now.

    Regards,
    Kiran

    in reply to: V2 Home Page Maps Loading Different Country by Default #529625

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: fields to lock #529617

    Kiran
    Moderator
    Post count: 7069

    Hello,

    Try following PHP snippet to prevent fieldsets in lock fields options.

    
    
    /**
     * Prevent fieldsets in lock fields options.
     */
    function gd_snippet_200210_franchise_skip_lock_fieldset( $skip, $field, $package_id, $default ) {
    	if ( ! empty( $field['type'] ) && $field['type'] == 'fieldset' ) {
    		$skip = true;
    	}
    
    	return $skip;
    }
    add_filter( 'geodir_franchise_skip_lock_field', 'gd_snippet_200210_franchise_skip_lock_fieldset', 20, 4 );

    Kiran

    in reply to: Franchise Expiry notices and manual updates #529615

    Kiran
    Moderator
    Post count: 7069

    Hi Elise,

    I checked and found that your site is running with old version of plugins. updated outdated GeoDirectory & its plugins.

    Provide us email content of the received notification about listing was expiring.

    Thanks,
    Kiran

    in reply to: Bespoke Date Ranges Within GD_Listings Shortcode #529614

    Kiran
    Moderator
    Post count: 7069

    Hi Tristan,

    Please try following example to show event between dates.

    event_type='2020-02-21|2020-02-27'
    event_type='START_DATE|END_DATE'

    Kiran


    Kiran
    Moderator
    Post count: 7069

    Hi Neil,

    You have disabled HTML editor for description field for the package “Standard Activity” from Activities > Settings > Packages > Edit “Standard Activity” > Disable HTML Editor?

    To allow html tags in description field this option must be enabled.

    Regards,
    Kiran

    in reply to: Extend Listing Tabs #529610

    Kiran
    Moderator
    Post count: 7069

    Hello There,

    We have improved detail page tabs via CPT Settings. I have added some new hooks to customize tabs.

    It will be in next release. See patch here https://github.com/AyeCode/geodirectory/pull/1060/commits/4b45a610b2851184e207db388b2708e1e540bb51

    Kiran

    in reply to: Hide the word and in taxonomy and category list #529606

    Kiran
    Moderator
    Post count: 7069

    Hi Bernward,

    Category & tags values are displayed via PHP format “%l”. You can use following PHP snippet to replace “and” to “,”.

    
    
    /**
     * Replace ", and", " and " in listing category/tags value.
     */
    function gd_snippet_200210_taxonomy_replace_and( $html, $location, $cf, $p = '', $output = '' ) {
    	if ( ! empty( $html ) && (  empty( $p->options['base_id'] ) || ( ! empty( $p->options['base_id'] ) && $p->options['base_id'] == 'gd_single_taxonomies' ) ) ) {
    		$replace = ', '; // Replace string.
    
    		$html = str_replace( array( '</a>' . sprintf( __( '%1$s, and %2$s' ), '', '' ) . '<a', sprintf( '</a>' . __( '%1$s and %2$s' ) . '<a', '', '' ) ), array( '</a>' . $replace . '<a', '</a>' . $replace . '<a' ), $html );
    	}
    
    	return $html;
    }
    // Listing pages
    add_filter( 'geodir_custom_field_output_tags', 'gd_snippet_200210_taxonomy_replace_and', 20, 5 );
    add_filter( 'geodir_custom_field_output_categories', 'gd_snippet_200210_taxonomy_replace_and', 20, 5 );
    add_filter( 'geodir_custom_field_output_taxonomy', 'gd_snippet_200210_taxonomy_replace_and', 20, 5 );
    
    // Detail page gd_single_taxonomies
    add_filter( 'wp_super_duper_widget_output', 'gd_snippet_200210_taxonomy_replace_and', 20, 4 );

    Regards,
    Kiran

Viewing 15 posts - 496 through 510 (of 6,022 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount