Kiran
Forum Replies Created
-
AuthorPosts
-
Hello Hui,
Featured field is by default designed for admin use only. It means this field is not allowed to manage for public users at front-end. Because of this featured field is not allowed to list of locked fields.
If you want to allow featured field in locked fields options even it is admin use only, then try following PHP snippet.
/** * Force featured field to show in locked field list. */ function gd_snippet_200210_franchise_allow_locking_featured( $skip, $field, $package_id, $default ) { $skip = false; return $skip; } add_filter( 'geodir_franchise_skip_lock_field_name_featured', 'gd_snippet_200210_franchise_allow_locking_featured', 20, 4 );
Setps:
1) Add PHP snippet
2) Edit main listing > select Featured field from the locked field
3 ) SaveNow on saving main listing it will enable/disable franchise for all franchises of that main listing.
Let us know
Regards,
KiranMarch 26, 2020 at 5:25 am in reply to: Unable to import Geodirectory settings using Json file #536838Hi Peter,
Add following line to your WORDPRESS_ROOT/wp-config.php file. It will allow you to upload any file but this is a security issue so you should remove immediately after import done.
define( 'ALLOW_UNFILTERED_UPLOADS', true );
Thanks,
KiranHello Tania,
In backend content field is not restricted to use HTML editor for content field. This is default field for post content and it available for all post types. If HTML added by admin then it will display it HTML tags at front-end.
Thanks,
KiranPlease check and let us know.
Kiran
Provide us FTP credentials and also tell where you added the code.
Kiran
Hello,
Why not define 1 size to use and that’s it?
WordPress uses different image size to display based on purpose of display. Ex: icon, thumbnail, medium, original etc.
To remove any image(Ex: image-02-1200×630.jpg) you first need to find which image size has generated that image. The you have to add image size name in a list in PHP snippet.===
2- If I disable images for upload with Simple Image Sizes plugin, I assume those will not be created next time a place is published.
Correct?If image sizes disabled at the upload process time then it will not generate those image sizes.
===
3- Which are the correct (best) sizes to use?
So I can disable everything else.It depends on plugin functionality. Ex: WooCommerce, Enfold has own image sizes based own usage for customization.
Each custom image size added by plugin or theme has some usage for it. For GD you can disable image sizes other then WordPress default.===
4- Can I use this in another site and everything will work the same?
This snippet will work on all size where GeoDirectory is installed. But take backup first other to prevent any loosing data.
Kiran
Refer this page to check how to use PHP snippet https://wpgeodirectory.com/docs/useful-plugins/#snippets
Kiran
This reply has been marked as private.This reply has been marked as private.Hi Christina,
There is no limitations from GD side. It depends on hosting & server configuration how speedy it handles larger data.
Try to import items in batch of lakh or thousands of items at once. Don’t import all items under once post type or on. Try to device items in different post types and different categories.
Please refer to this https://wpgeodirectory.com/docs-v2/faq/server-requirements/
Thanks,
KiranHello Joy,
In option values “,” and “/” and “|” are reserved characters to explode each option. So for option value try to use “&” or “-” instead of those reserved characters.
Kiran
Hello,
I checked again and it looks like something wrong registering taxonomies. It shows invalid taxonomy on page load.
Do you have staging site where i can check disabling non-GD plugins? This will help us to find if is there any third party plugin/theme conflicts.
Thanks,
KiranHi,
I tried password copied from that page, but it not worked.
It shows:
Response: 530 Login authentication failed
Error: Critical error: Could not connect to serverKiran
Hello Ralf,
This is not a issue. If repeat end type = date is selected & date is empty then it uses repeat after X occurrences as repeat end options.
Kiran
Hello,
Try PHP snippet provided at here.
https://gist.github.com/kprajapatii/9770fab5bdd3abc59a5dc76484335eb5
Take backup before executing backup.
Thanks,
Kiran -
AuthorPosts