Kiran
Forum Replies Created
-
AuthorPosts
-
Hi Tom,
The autocomplete address search shows same results at it receive from the OpenStreetMaps.
Regards,
KiranFebruary 10, 2020 at 11:44 am in reply to: Premiums Listing degrading to 'free' once the trial has expired #529654This reply has been marked as private.February 10, 2020 at 11:32 am in reply to: V2 Home Page Maps Loading Different Country by Default #529651This reply has been marked as private.February 10, 2020 at 11:23 am in reply to: V2 Home Page Maps Loading Different Country by Default #529649Please try now after clearing your browser cache.
Kiran
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
February 10, 2020 at 11:06 am in reply to: Warning from WordPress: GeoDirectory Pricing Manager failure #529645Thanks for letting us know.
This reply has been marked as private.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,
KiranFebruary 10, 2020 at 9:07 am in reply to: V2 Home Page Maps Loading Different Country by Default #529625This reply has been marked as private.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
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,
KiranHi 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
February 10, 2020 at 7:32 am in reply to: Adding a link to text in description not working and removes other links #529611Hi 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,
KiranHello 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
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 -
AuthorPosts