Kiran

Forum Replies Created

Viewing 15 posts - 4,081 through 4,095 (of 6,022 total)
  • Author
    Posts
  • in reply to: How to get only Parent categories in supreme theme #429896

    Kiran
    Moderator
    Post count: 7069

    Hello Romit,

    I added parent_only=1 to shortcode in the file inc/geodirectory-compatibility.php .
    Now it is showing patent categories only.

    Kiran

    in reply to: No Listings Shows Wrong City #429885

    Kiran
    Moderator
    Post count: 7069

    Hi Jeff,

    We have fixed this issue and it will be in next release.

    You can find patch here: https://github.com/GeoDirectory/geodirectory/pull/456/commits/f436207e78a70bca4ddd1cc05d1ce862a3219280

    If you want me to update patch on your site then provide us FTP credentials.

    Thanks,
    Kiran

    in reply to: How to get only Parent categories in supreme theme #429866

    Kiran
    Moderator
    Post count: 7069

    Hi Romit,

    I have checked one of our test site and it working fine. Please provide us your site url and admin credentials, so we can take a look.

    Kiran

    in reply to: Change order in search bar #429726

    Kiran
    Moderator
    Post count: 7069

    Hi Marjon,

    Use following snippet:

    
    
    function _gd_custom_reorder_search_inputs( $template ) {
    	remove_action( 'geodir_search_form_inputs', 'geodir_search_form_post_type_input', 10 );
    	remove_action( 'geodir_search_form_inputs', 'geodir_search_form_search_input', 20 );
    	remove_action( 'geodir_search_form_inputs', 'geodir_search_form_near_input', 30 );
    
    	add_action( 'geodir_search_form_inputs', 'geodir_search_form_post_type_input', 30 );
    	add_action( 'geodir_search_form_inputs', 'geodir_search_form_search_input', 10 );
    	add_action( 'geodir_search_form_inputs', 'geodir_search_form_near_input', 20 );
    
    	return $template;
    }
    add_filter( 'template_include', '_gd_custom_reorder_search_inputs', 100, 1 );

    Also you need to set value for “Search bar priority” between 20-30 at GeoDirectory > CPT Settings (ex: Place Settings) > Advance Search > Category

    Kiran

    in reply to: French 's translation all does not work ! #429689

    Kiran
    Moderator
    Post count: 7069

    Hello Vion,

    I have updated patch, please check and let us know.

    Kiran

    in reply to: Event start/end time #429672

    Kiran
    Moderator
    Post count: 7069
    in reply to: Images loading issue #429671

    Kiran
    Moderator
    Post count: 7069

    Ref: https://wpgeodirectory.com/support/topic/event-startend-time/#post-429557

    I found that you are using “Cloudflare Rocket Loader” on your site and it breaks the image slider loading on the page.

    Please disable “Cloudflare Rocket Loader” and check if fixes the issue or not.

    Also please check this: https://wpgeodirectory.com/docs/known-issues/#rocketloader

    Let us know how it goes.

    Kiran

    in reply to: Preview Page Trouble #429659

    Kiran
    Moderator
    Post count: 7069

    Hi Joy,

    I have modified the snippet and now preview page is working fine.

    Please check and let us know.

    Thanks,
    Kiran

    in reply to: Error table #429653

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: PHP errors found in error_log #429652

    Kiran
    Moderator
    Post count: 7069

    Hi Alex,

    I have fixed PHP warning. PHP 7.x does not treats string as array when pushing element into.

    Thanks for spotting. 🙂

    Kiran

    in reply to: Limit listings of certain CPTs to 1 per user #429496

    Kiran
    Moderator
    Post count: 7069

    Hi Alex,

    Try this one

    
    
    function change_user_role_when_submit_cv( $maybe_empty, $postarr ) {	
    	if ( $postarr['post_type'] =='gd_cv' ) {
    		$current_user = wp_get_current_user();
    		$current_user_roles = $current_user->roles;
    
    		if ( in_array( 'um_worker', $current_user_roles ) ){
    			$current_user->set_role( 'worker_has_cv' );
    		}
    	}
    	return $maybe_empty;
    }
    add_filter( 'wp_insert_post_empty_content', 'change_user_role_when_submit_cv', 10, 2 );

    Kiran

    in reply to: Limit listings of certain CPTs to 1 per user #429473

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Duplicate Sidebar Link #429467

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Preview Page Trouble #429466

    Kiran
    Moderator
    Post count: 7069

    Hi Joy,

    I just checked files via plugin editor but can find the snippet. Let me know in which file you have put that snippet.

    Thanks,
    Kiran

    in reply to: Images loading issue #429395

    Kiran
    Moderator
    Post count: 7069

    Hi,

    I checked few listings, but i can’t replicate similar issue from my side. Can you provide video capture that explains issue?

    Kiran

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