Kiran

Forum Replies Created

Viewing 15 posts - 1,066 through 1,080 (of 6,022 total)
  • Author
    Posts
  • in reply to: Sitemap build hanging/crashing site? #516719

    Kiran
    Moderator
    Post count: 7069

    Hi coreyhammond,

    Issue has been fixed.

    I have done following steps:
    1) Added following lines in wp-config.php file before line “/* That’s all, stop editing! Happy blogging. */”

    
    
    /*** SITEMAP ISSUE ***/
    define( 'WP_MEMORY_LIMIT', '512M' );
    @ini_set( 'memory_limit', '512M' );
    @ini_set( 'max_execution_time', '300' );
    /*** SITEMAP ISSUE ***/

    2) Un-ticked follwoing options from GeoDirectory > Settings > Locations > Settings
    – Exclude post types location pages in xml sitemap
    – Exclude categories location pages in xml sitemap
    – Exclude tags location pages in xml sitemap

    3) Enabled sitemap & re-saved settings from SEO > General > Features > XML sitemaps

    4) Visited mysite.com/sitemap_index.xml url

    Please check and let us know.

    Regards,
    Kiran

    in reply to: Archive Pages Aren't Showing Accurately #516709

    Kiran
    Moderator
    Post count: 7069

    Hi Will,

    I have corrected code and added above snippet in your child theme functions.php.

    Please check and let us know.

    Reghards,
    Kiran

    in reply to: Conflict With UsersWP #516707

    Kiran
    Moderator
    Post count: 7069

    Hi Tristan,

    the original problem is in the wordpress dashboard when trying to upload images such as map icons and default category images.

    However, I have also noticed other issues when WPUsers is active, when trying to upload other images they do upload but an undefined message appears and they take a lot longer than usual.

    Please try now after clearing your browser cache.

    The GD shortcodes appear in the Avada Theme element select which they don’t when it is not active and I don’t believe they should be.

    I have enabled UsersWP plugin but can’t see issue. Please provide steps or screenshot that shows how to replicate issue from our side.

    Regards,
    Kiran

    in reply to: Link Posts Search – Left to Right only? #516591

    Kiran
    Moderator
    Post count: 7069

    Hello identity,

    The post which being searched to link another post is already know to user, so we used matching exact results(Ex: The Great%) from right side. Add following PHP snippet to allow searching match from left and right side.

    
    
    /**
     * Allow wildcard matching search link posts.
     */
    function gd_snippet_191111_cp_search_posts_query_where( $where, $keyword, $post_type, $custom_field ) {
    	global $wpdb;
    
    	if ( $keyword != '' ) {
    		$search = $wpdb->prepare( "p.post_title LIKE %s", array( $keyword . '%%' ) );
    		$replace = $wpdb->prepare( "p.post_title LIKE %s", array( '%' . $wpdb->esc_like( $keyword ) . '%' ) );
    		$where = str_replace( $search, $replace, $where );
    	}
    
    	return $where;
    }
    add_filter( 'geodir_cp_search_posts_query_where', 'gd_snippet_191111_cp_search_posts_query_where', 20, 4 );

    Kiran

    in reply to: Conflict With UsersWP #516559

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.

    Kiran
    Moderator
    Post count: 7069

    Glad to hear that it worked.

    in reply to: Archive Pages Aren't Showing Accurately #516557

    Kiran
    Moderator
    Post count: 7069

    Hi Will,

    Let us know where you put above snippet and provide us page url where you seen this error.

    If possible provide us FTP credentials so i can apply & check patch from my side.

    Regards,
    Kiran

    in reply to: 2.0.0.68 Reintroduced Export Error #516556

    Kiran
    Moderator
    Post count: 7069

    Thanks for letting us know.

    Kiran

    in reply to: Add listing page queries #516555

    Kiran
    Moderator
    Post count: 7069

    We use _gd_logged_out_post_author cookie name.

    Kiran

    in reply to: Select icon Button Not Working #516554

    Kiran
    Moderator
    Post count: 7069

    Hi Kaylee,

    Please open your own topic and provide details there.

    Kiran

    in reply to: Schema Google rich snippet #516553

    Kiran
    Moderator
    Post count: 7069

    Hi luca,

    We have recently some changes in schema rich snippet. Please try this patch https://github.com/kprajapatii/geodirectory-v2/commit/fac6740bd00f347106effb72779a0a88630cc62a
    Or provide admin & FTP credentials to look into more.

    Kiran

    in reply to: Add listing page queries #516433

    Kiran
    Moderator
    Post count: 7069

    Hi suvadel,

    I have done some debugging and found that WPEngine cache causing this issue. To allow add listing for non-logged user we use cookie to store current user until user registered. This used to assign user used in add listing form.
    WPEngine object cache does not support cookie cache. This results in mis-match in post author with stored cookie for guest user and it shows error “You don not have the privileges to perform this action.”
    Please see https://wpengine.com/support/cache/#exclusions

    Please contact WPEngine Team about this issue and let us know what they say.

    Let us know.

    Regards,
    Kiran


    Kiran
    Moderator
    Post count: 7069
    in reply to: Archive Page Display Conflicts #516420

    Kiran
    Moderator
    Post count: 7069

    Hi Silks,

    I have added on snippet under “Snippets > Fix Google ads issue” to fix Google ads issue.

    Please check after clearing your browser cache.

    Kiran

    in reply to: Archive Pages Aren't Showing Accurately #516410

    Kiran
    Moderator
    Post count: 7069

    Hi Will,

    Try adding following PHP snippet in child theme functions.php to fix empty results page issue.

    
    
    /**
     * Fix GeoDirectory + Divi theme search empty results page.
     */
    if ( ! function_exists( 'et_pb_is_pagebuilder_used' ) ) {
    	function et_pb_is_pagebuilder_used( $page_id = 0 ) {
    		if ( 0 === $page_id ) {
    			$page_id = et_core_page_resource_get_the_ID();
    		}
    
    		global $wp_query;
    
    		if ( empty( $page_id ) && ! empty( $wp_query ) && $wp_query->is_main_query() && function_exists( 'geodir_is_geodir_page' ) && geodir_is_geodir_page() ) {
    			if ( geodir_is_page( 'search' ) ) {
    				$page_id = geodir_search_page_id();
    			} elseif ( geodir_is_page( 'archive' ) || geodir_is_page( 'post_type' ) ) {
    				$page_id = geodir_archive_page_id( ( ! empty( $wp_query->query_vars['post_type'] ) ? $wp_query->query_vars['post_type'] : '' ) );
    			}
    		}
    
    		return (
    			'on' === get_post_meta( $page_id, '_et_pb_use_builder', true ) ||
    			// Divi layout post type always use the builder
    			'et_pb_layout' === get_post_type( $page_id ) ||
    			// Extra Category post type always use the builder
    			'layout' === get_post_type( $page_id )
    		);
    	}
    }

    Regards,
    Kiran

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