Kiran
Forum Replies Created
-
AuthorPosts
-
Hi Alexander,
Still shows same error during connect to FTP.
Kiran
Hi Olga,
The region & city slugs are auto created during location creation based on region & city name. If you want to change location slugs then you can do it via Import/Export location feature.
– Go to GeoDirectory > Settings > Import/Export > Locations
– Export CSV > change slugs > re-importKiran
Hi,
I just checked CSv file(DawnData3Add-3.csv) that you tried to import.
– Change column name 1574345964 to contact_first_name in csv file (i already mentioned this in my one of my previous reply)
– page_meta_title, page_meta_description values exceeds DB column length. Both fields are created as a text input, so value should not exceed 254 characters. Either create this both field as a textarea or trim the value.
– There is comma missing in post_category between to ids. Ex: for last item “Zone West – West Life/Boyzone Tribute Band” comma is missing between 1801 1728Please correct above things and try to import again. I have tested with last two items and it successfully imported.
Let us know.
Regards,
KiranThis reply has been marked as private.Hosting support reported that the specified address is not blocked, but they saw that from this address tried to connect with incorrect data.
I have tried credentials you provided. Can you provide new credentials?
If you can’t connect via FTP, maybe you can use the WP File Manager plugin?
No, WP File Manager breaks site during debugging, because some functions are run in background.
This reply has been marked as private.Hi Michael,
Did you tried import again? Please try to import CSV with listings, it will logs there.
Kiran
Hi Michael,
When item fails to import it logs error in wp-content/debug.log file. You can check reason for the issue in import particular row.
Can you provide urls of listing which faced issue of address unknown and is missing categories. with import?
Use column “contact_first_name” instead of “1574345964” in csv.
Regards,
KiranThis reply has been marked as private.Hi Dirk,
Post icon database table xx_geodir_post_icon is no longer used in GDv2. That table can be dropped manually. We did not drop during v1 to v2 conversion, because it will cause problem when some do “Downgrade to v1” action.
Regards,
KiranHi Will,
Fields are dynamic and field names depends on site requirement. At the time it renders basic fields to schema.
There is already hook available to customize schema. Please provide site link & FTP credentials so i can provide PHP snippet to render jobPosting schema.
Regards,
KiranHi Dirk,
Please provide us site link & admin credentials to look there.
Kiran
Hi Adrian,
In GDv1 also there was no option to add multiple email address in email field without customization.
Can you provide site details where this functionality is working?You can add multiple email fields to allow for more emails.
Regards,
KiranHi Dave,
Applying location shortcode filter to each page title & content is not good, because not everyone uses location shortcode is title & content. But if needed then it can be achieved via PHP snippet.
I have added following PHP snippet & added “%%in_location_single%%” in location page content.
/** * Add location vars in content. */ function gd_snippet_200107_convert_location_names( $content ) { global $geodirectory; if ( ! empty( $content ) && strpos( $content, '%%' ) !== false ) { $content = geodir_replace_location_variables( $content ); } return $content; } add_filter( 'the_content', 'gd_snippet_200107_convert_location_names', 99999 );
To filter location variables in widget titles use following PHP snippet.
/** * Filter location variables in widget titles. * * Examples: * %%location%%, %%location_single%%, %%in_location%%, %%in_location_single%%, %%location_country%%, * %%in_location_country%%, %%location_region%%, %%in_location_region%%, %%location_city%%, %%in_location_city%% */ function gd_snippet_200131_replace_location_variables( $title ) { if ( ! empty( $title ) && strpos( $title, '%%' ) !== false ) { $title = geodir_replace_location_variables( $title ); } return $title; } add_filter( 'widget_title', 'gd_snippet_200131_replace_location_variables', 20, 1 );
Now location page shows location name there, please check & let us know.
Regards,
KiranThis reply has been marked as private. -
AuthorPosts