Kiran

Forum Replies Created

Viewing 15 posts - 1,561 through 1,575 (of 6,022 total)
  • Author
    Posts
  • in reply to: JupiterX issue #505147

    Kiran
    Moderator
    Post count: 7069

    Hi,

    Try after removing following three lines from my snippet:

    
    
    if ( empty( $_GET['preview'] ) ) {
        return;
    }

    Let us know how it goes.

    Kiran


    Kiran
    Moderator
    Post count: 7069

    You can use https://wordpress.org/plugins/widget-options/ which allows to control each widgets visibility and appearance.

    Kiran


    Kiran
    Moderator
    Post count: 7069

    WPML also provide to show/hide widget based on language. GD widgets also have show/hide option to restrict on frontend pages.

    Kiran

    in reply to: SEO overrides for events #505132

    Kiran
    Moderator
    Post count: 7069

    Hello,

    We found that WordPress default function strips %ca from the string on sanitize. There is already ticket open at WordPress forum. See https://core.trac.wordpress.org/ticket/31777

    For now use following PHP snippet to prevent this issue. Try to resave CPT with %%category%% again.

    
    
    /**
     * sanitize_text_field() stripping instances "%ca" from %%category%%.
     *
     * See https://core.trac.wordpress.org/ticket/31777
     */
    function gd_snippet_20190827_save_post_type( $output, $post_type, $raw ) {
    	if ( ! empty( $output[ $post_type ]['description'] ) ) {
    		$output[ $post_type ]['description'] = gd_snippet_20190827_fix_strip_ca( $output[ $post_type ]['description'] );
    	}
    
    	if ( ! empty( $output[ $post_type ]['seo']['title'] ) ) {
    		$output[ $post_type ]['seo']['title'] = gd_snippet_20190827_fix_strip_ca( $output[ $post_type ]['seo']['title'] );
    	}
    
    	if ( ! empty( $output[ $post_type ]['seo']['meta_title'] ) ) {
    		$output[ $post_type ]['seo']['meta_title'] = gd_snippet_20190827_fix_strip_ca( $output[ $post_type ]['seo']['meta_title'] );
    	}
    
    	if ( ! empty( $output[ $post_type ]['seo']['meta_description'] ) ) {
    		$output[ $post_type ]['seo']['meta_description'] = gd_snippet_20190827_fix_strip_ca( $output[ $post_type ]['seo']['meta_description'] );
    	}
    
    	return $output;
    }
    add_filter( 'geodir_save_post_type', 'gd_snippet_20190827_save_post_type', 0, 3 );
    
    function gd_snippet_20190827_fix_strip_ca( $text ) {
    	if ( ! empty( $text ) ) {
    		$text = str_replace( "%tegory", "%%category", $text );
    	}
    
    	return $text;
    }

    Thanks,
    Kiran

    in reply to: Search Issue #505122

    Kiran
    Moderator
    Post count: 7069

    Hi Tracy,

    The template you attached is of version GeoDirectory v1 so that template is not fully supported with GeoDirectory v2.

    In GeoDirectory v2 we have enhanced template system, so you can manage template for archive page, archive item page and detail page for each CPT via page.

    See for more info:
    https://wpgeodirectory.com/docs-v2/templates/
    https://wpgeodirectory.com/docs-v2/templates/details/

    Let us know.

    Thanks,
    Kiran

    in reply to: Link Posts widget #505120

    Kiran
    Moderator
    Post count: 7069

    Hi nathalie,

    Both issues has been resolved, please check now after clearing your browser cache.

    Kiran

    in reply to: Old invoices / order data lost after upgrading to V2 #505118

    Kiran
    Moderator
    Post count: 7069

    Hi Wade,

    I looked things in your site backend and found that you have not used Invoicing plugin with Payment Manager plugin.

    Long back we have introduced Payment Manager v2.0.x. Which requires Invoicing plugin (our own free plugin) to handles payments for the listings. Invoicing plugin that allows to create invoices, send them to clients and accept single or recurring payments. Invoicing can be easily used as checkout system.

    During upgrade from Payment Manager v1.x to v2.0.x we converted all payment manager invoices into Invoicing invoices. In your case it looks like you have not used Invoicing plugin, so invoices are missing on your site.

    With GDv2 we have added some new functionality in Pricing Manager v2.5.x(Payment Manager) which works with Invoicing or WooCommerce to manage payments & invoices for the listings.

    I checked in your database and found there are 3 invoices in table which created during GDv1. Those 3 invoices can be created manually with GDv2. Do you want to create those 3 invoices or do you want to go with fresh GDv2 + Pricing Manager + WooCommerce?

    Let us know.

    Thanks,
    Kiran

    in reply to: export listings csv fail #505099

    Kiran
    Moderator
    Post count: 7069

    Hi Mitch,

    I have done some debugging and found following database error.

    WordPress database error Column 'post_category' in field list is ambiguous for query

    It looks like any plugin/theme has added database column ‘post_category’ to WordPress core xxx_posts table. It should avoid modifying structure of the WordPress core tables, otherwise it may create troubles like this.

    Try PHP snippet provided at here https://gist.github.com/kprajapatii/9de152dddeeb7bdb0d2f1cbc8711080c to prevent error during export by adding alias to ‘post_category’.

    Let us know.

    Thanks,
    Kiran

    in reply to: Ratings import #505094

    Kiran
    Moderator
    Post count: 7069

    Hi Fulvio,

    At the moment import reviews only imports overall rating only. We have opened task to allow import multiratings. It will be in future version of Review Rating Manager plugin.

    Kiran

    in reply to: Image issues #505075

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Translate Version 2 #505054

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: How can I reset the search filter when changing languages? #504910

    Kiran
    Moderator
    Post count: 7069

    hi,

    I need to remove the category, word and location from the filter when switching to another language in the language switch.

    This is WPML default behaviour that keep some variable with switching page url in different language. This requires some customization to achieve that you are asking.

    I’m also wondering if I can hide the language switch on some pages. In this case – on the search page.

    Language switcher is managed via WPML plugin, so you can ask WPML support team. They might have solution for this.

    Kiran


    Kiran
    Moderator
    Post count: 7069

    Hi,

    Please check now. In event calendar week start day can be managed from widget/shortcode settings.

    Kiran

    in reply to: Unable to set location on listing creation #504907

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Data are not stored correctly #504906

    Kiran
    Moderator
    Post count: 7069

    Hi,

    During conversion from GDv1 to GDv2 it just renaming column from ‘geodir_contact’ to ‘phone’. It not deleting any column or data. I checked your tables and didn’t find column named geodir_contact or geodir_phone.

    Provide us old database access so we can check there.

    Kiran

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