GD Details page can't change sidebar

This topic contains 22 replies, has 4 voices, and was last updated by  digitalbranddesign 4 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #537350

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #537404

    Kiran
    Moderator
    Post count: 7069

    Hello,

    There is JavaScript datepicker script form WP Job Search plugin which conflicts and breaking business hours timepicker slider.

    Try following PHP snippet to fix conflict.

    
    
    function gd_snippet_200330_fix_jobsearch_conficts() {
    	if ( is_admin() ) {
    		// Backend
    		$screen = get_current_screen();
    		$screen_id = $screen ? $screen->id : '';
    
    		if ( wp_script_is( 'geodir-add-listing', 'enqueued' ) && wp_script_is( 'wp-jobsearch-datetimepicker', 'enqueued' ) ) {
    			if ( $screen_id && in_array( $screen_id, geodir_get_screen_ids() ) ) {
    				wp_dequeue_script( 'wp-jobsearch-datetimepicker' ); // Dequeue wp-jobsearch-datetimepicker on GD pages
    			}
    		}
    	}
    }
    add_action( 'admin_enqueue_scripts', 'gd_snippet_200330_fix_jobsearch_conficts', 100 );

    Thanks,
    Kiran

    #537429

    digitalbranddesign
    Free User
    Post count: 11

    Thanks where do i put code? I put on function.php file and it makes critical error on website?

    #537521

    Alex Rollin
    Moderator
    Post count: 27815
    #537562

    digitalbranddesign
    Free User
    Post count: 11

    Thank you

    #538014

    digitalbranddesign
    Free User
    Post count: 11

    Hi there, we have another issue now when we click on a listing to see the actual page we just get 404 errors now as if it can’t find the page but all the pages are in the backend.

    https://fishfocus.co.uk/directory/ when we choose from this none of the entries work

    https://fishfocus.co.uk/listings/associated-seafoods/ which is one of the urls.

    Looks like everything is disconnected but we haven’t updated this plugin for any changes.

    #538022

    Kiran
    Moderator
    Post count: 7069

    I have re-saved Settings > Permalinks and now listings are working fine.

    Check and let us know.

    Kiran

    #538024

    digitalbranddesign
    Free User
    Post count: 11

    Thank you so much, if it happens again we will know what to do. Thank you for your fantastic support

Viewing 8 posts - 16 through 23 (of 23 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket