Kiran
Forum Replies Created
-
AuthorPosts
-
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 sitemap3) 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,
KiranHi Will,
I have corrected code and added above snippet in your child theme functions.php.
Please check and let us know.
Reghards,
KiranHi 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,
KiranHello 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
This reply has been marked as private.November 11, 2019 at 6:36 am in reply to: Theme supreme-directory v.1 – favicons on mobile approach are not displayed #516558Glad to hear that it worked.
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,
KiranThanks for letting us know.
Kiran
We use _gd_logged_out_post_author cookie name.
Kiran
Hi Kaylee,
Please open your own topic and provide details there.
Kiran
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
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/#exclusionsPlease contact WPEngine Team about this issue and let us know what they say.
Let us know.
Regards,
KiranNovember 8, 2019 at 12:01 pm in reply to: Theme supreme-directory v.1 – favicons on mobile approach are not displayed #516427Hi Alex,
Here are tutorials related to favicon:
https://www.wpbeginner.com/wp-tutorials/how-to-add-a-favicon-to-your-wordpress-blog/
http://creativepixelsmedia.com/ios-android-home-screen-retina-icons-wordpress/Kiran
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
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 -
AuthorPosts