Kiran
Forum Replies Created
-
AuthorPosts
-
Hi,
Try after removing following three lines from my snippet:
if ( empty( $_GET['preview'] ) ) { return; }Let us know how it goes.
Kiran
August 27, 2019 at 1:23 pm in reply to: How can I reset the search filter when changing languages? #505144You can use https://wordpress.org/plugins/widget-options/ which allows to control each widgets visibility and appearance.
Kiran
August 27, 2019 at 1:04 pm in reply to: How can I reset the search filter when changing languages? #505136WPML also provide to show/hide widget based on language. GD widgets also have show/hide option to restrict on frontend pages.
Kiran
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,
KiranHi 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,
KiranHi nathalie,
Both issues has been resolved, please check now after clearing your browser cache.
Kiran
August 27, 2019 at 10:55 am in reply to: Old invoices / order data lost after upgrading to V2 #505118Hi 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,
KiranHi Mitch,
I have done some debugging and found following database error.
WordPress database error Column 'post_category' in field list is ambiguous for queryIt 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,
KiranHi 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
This reply has been marked as private.This reply has been marked as private.August 26, 2019 at 10:29 am in reply to: How can I reset the search filter when changing languages? #504910hi,
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
August 26, 2019 at 10:23 am in reply to: Events – 24h time format and recurring (custom) calendar format #504908Hi,
Please check now. In event calendar week start day can be managed from widget/shortcode settings.
Kiran
This reply has been marked as private.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
-
AuthorPosts