Kiran

Forum Replies Created

Viewing 15 posts - 2,521 through 2,535 (of 6,022 total)
  • Author
    Posts

  • Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Sticky menu issue #481744

    Kiran
    Moderator
    Post count: 7069

    Hello,

    FTP credentials are not working.

    I checked in your site backend and found you are using “Supreme Directory” child theme v2.x. Supreme Directory v1.x is compatible with for GeoDirectory v1.x and Supreme Directory v2.x is compatible with for GeoDirectory v2.x.

    Try to install Supreme Directory v1.x and let us know how it goes.

    Kiran

    in reply to: Redirection not working properly #481736

    Kiran
    Moderator
    Post count: 7069

    Hello Mical,

    There is a option in GeoDirectory > Advance Search to redirect page on a first time visit to the site. Currently it has enabled to redirect to default location, so it redirects the default city on first time visit.

    Use following PHP code snippet to redirect to default country page instead of default city.

    
    
    function _gd_custom_advanced_search_js_msg( $params ) {
    	if ( ! empty( $params['onload_redirectLocation'] ) ) {
    		$params['onload_redirectLocation'] = trailingslashit( geodir_get_location_link( 'base' ) ) . 'united-states/';
    	}
    
    	return $params;
    }
    add_filter( 'geodir_advanced_search_js_msg', '_gd_custom_advanced_search_js_msg', 10, 1 );

    Kiran


    Kiran
    Moderator
    Post count: 7069

    Hello,

    It still shows JavaScript that breaks map functionality.

    There is a bug in header.php file, you have used “https:s://” at some places instead of “https://”. Replace “https:s://” with “https://” in this file and other files as well if you have used.

    Let us know.

    Kiran

    in reply to: Claim Me in mobile #481726

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Claim Me in mobile #481720

    Kiran
    Moderator
    Post count: 7069

    Hello,

    I have cleared “WP Recket Cache”, please try again after clearing your browser cache.

    Let us know.

    Regards,
    Kiran

    in reply to: Categories not registering properly #481715

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Having two issues #481714

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Business Hours Issue #481712

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Archive Pages by Country/City/State #481705

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Wrong Header? Maybe #481694

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Business Hours Issue #481363

    Kiran
    Moderator
    Post count: 7069

    Hello Adam,

    Please provide particular listing url so we can check there.

    Kiran

    in reply to: GD v2.0.0.55: Business Hours issue #481362

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: button colors #481355

    Kiran
    Moderator
    Post count: 7069

    Hello Jeff,

    I noticed for supreme theme there’s a way to change button colors under customize. But, it doesn’t change all the button colors (see attached image). Is there somewhere else to change these or do I need to use CSS?

    “Write a Review” is rendered via badge and it has own text color & background color. It is added via child theme so it can be modified directly in file. It is in file \wp-content\themes\supreme-directory\template-parts\header\header-single-top.php around line no. 116.
    Here is code:

    
    
    $review_button_text = __("Write a Review","supreme-directory");
    $review_button_shortcode = '[gd_post_badge size="large" key="post_title" condition="is_not_empty"  link="#reviews" badge="'.$review_button_text .'" new_window="0" bg_color="#ed6d61" txt_color="#ffffff" alignment="center"]';
    $review_button = apply_filters( 'sd_details_output_review_button_shortcode',$review_button_shortcode);
    $review_button = do_shortcode($review_button);
    echo apply_filters( 'sd_details_output_review_button', $review_button );

    It is also possible to filter “Write a Review” button via hook.

    I also noticed changing font elements doesn’t really change the body. It would be so cool if the supreme theme had some generic customization features. But, CSS is easy enough to implement I suppose.

    Please clarify with more details or with example or with screenshot.

    Regards,
    Kiran

    in reply to: Remove Lightbox in V2 #481341

    Kiran
    Moderator
    Post count: 7069

    Hello Josh,

    Use following snippet to dequeue lity js. It may affect some feature like GD contact form + ninja form and claim listing popup.

    
    
    /**
     * Dequeue gd_lity JS.
     */
    function gd_snippet_190417_dequeue_lity() {
    	// Backend pages
    	if ( wp_script_is( 'geodir-lity', 'enqueued' ) ) {
    		wp_dequeue_script( 'geodir-lity' );
    	}
    
    	// Frontend pages
    	if ( wp_script_is( 'geodir_lity', 'enqueued' ) ) {
    		wp_dequeue_script( 'geodir_lity' );
    	}
    }
    //add_action( 'admin_enqueue_scripts', 'gd_snippet_190417_dequeue_lity', 999 ); // Backend pages
    add_action( 'wp_enqueue_scripts', 'gd_snippet_190417_dequeue_lity', 999 ); // Frontend pages
Viewing 15 posts - 2,521 through 2,535 (of 6,022 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount