Kiran

Forum Replies Created

Viewing 15 posts - 211 through 225 (of 6,022 total)
  • Author
    Posts
  • in reply to: Locked Function not working #536845

    Kiran
    Moderator
    Post count: 7069

    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 ) Save

    Now on saving main listing it will enable/disable franchise for all franchises of that main listing.

    Let us know

    Regards,
    Kiran

    in reply to: Unable to import Geodirectory settings using Json file #536838

    Kiran
    Moderator
    Post count: 7069

    Hi 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,
    Kiran

    in reply to: Html editor in description field not working. #536836

    Kiran
    Moderator
    Post count: 7069

    Hello 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,
    Kiran

    in reply to: GD Details page can't change sidebar #536759

    Kiran
    Moderator
    Post count: 7069

    Please check and let us know.

    Kiran

    in reply to: GD Details page can't change sidebar #536747

    Kiran
    Moderator
    Post count: 7069

    Provide us FTP credentials and also tell where you added the code.

    Kiran

    in reply to: Delete unused images #536717

    Kiran
    Moderator
    Post count: 7069

    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

    in reply to: Delete unused images #536697

    Kiran
    Moderator
    Post count: 7069

    Refer this page to check how to use PHP snippet https://wpgeodirectory.com/docs/useful-plugins/#snippets

    Kiran

    in reply to: Delete unused images #536686

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: "Upgrade" not working with WooCommerce #536658

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Database size limitations? #536657

    Kiran
    Moderator
    Post count: 7069

    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,
    Kiran

    in reply to: Custom field "select" option #536656

    Kiran
    Moderator
    Post count: 7069

    Hello 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

    in reply to: GD > Listings Categories #536499

    Kiran
    Moderator
    Post count: 7069

    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,
    Kiran

    in reply to: "Upgrade" not working with WooCommerce #536495

    Kiran
    Moderator
    Post count: 7069

    Hi,

    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 server

    Kiran

    in reply to: Recurring event field check #536490

    Kiran
    Moderator
    Post count: 7069

    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

    in reply to: Delete unused images #536489

    Kiran
    Moderator
    Post count: 7069

    Hello,

    Try PHP snippet provided at here.

    https://gist.github.com/kprajapatii/9770fab5bdd3abc59a5dc76484335eb5

    Take backup before executing backup.

    Thanks,
    Kiran

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