Kiran
Forum Replies Created
-
AuthorPosts
-
Hi Vlad,
I have re-created Search page & cleared cache. Now search page is working fine.
Kiran
January 9, 2020 at 11:35 am in reply to: Multiple Email Addresses on a listing for enquiries #524821Thanks for letting us know.
Kiran
This reply has been marked as private.Hi @etrade,
Please open your own topic and post details there, because you are not owner of this topic.
Kiran
This reply has been marked as private.We prepare schema for each event dynamically by grabbing data from event listing fields. It does not matter event was added from backend or from frontend or via importer. So here you not have to setup schema for each event separately.
Thanks
Rank Math allows to setup schema from backend, but public user(ex Subscribers) can’t add schema to event listing due to lake of backend access.
FYI you can test rich snippet ate here: https://search.google.com/test/rich-results
Kiran
Hi Michael,
Do you have site running with GDv1 so i can check how it was working there? Do you have that customization code?
Le us know so can help you to achieve if easily feasible.
Regards,
KiranHello,
One time there should one event schema on the page either from Rank Math plugin or from GeoDirectory plugin.
The PHP snippet provided by me disables event schema that loaded from Rank Math plugin and it adds missing schema fields to GeoDirectory event schema.
We designed our schema particular for gd_event post type, where as Rank Math loads schema that setup in backend event edit page(only admin user have access to setup this).
Regards,
KiranThis reply has been marked as private.Hi Ryan,
Please try PHP snippet provided at here to meet your requirement.
That snippet also matches keyword for content, if you don’t want similar search in content then just use for title.
Kiran
Hello There,
Admin credentials are not working. Did you changed?
you can see the widget added on the page “Recent Reviews”, but not showing in the frontend, and in the admin, even though is approved. Same type of problems with featured..
I will look after getting admin access.
—
Comments showing invoices
WP Invoicing stores comments/logs in WordPress _comments table, so if WP Invoicing plugin disable or uninstalled then those invoices comments will be back again in comments list. In WP Invoicing plugin we have restricted showing invoices comments to on site. Those comments can be deleted from comments list or it automatically deletes comments on deleting the invoices.
—
Free packages we had no longer showing, once Price manager uninstalled per you.
If pricing manager is uninstalled(completely) then all listings are treated Free. There will be no restriction of package.
—
not showing listing expiration date in admin front. If i add custom field “expiration date” set usually automatically, users themselves insert the date, not catching automatically. Admin only settings not working
I will check after getting admin access.
Best Regards,
KiranHI Ryan,
Can you explain more with live example on your site how it should return results?
I have one listing “Restaurante Vegano” and it returns it results when searched with “Restaurante” or “Vegano”.
Kiran
Hi Will,
I have used following PHP snippet. You can also find it on your backend > Snippets > JobPosting Schema
/** * JobPosting Schema */ function gd_snippet_200108_job_posting_schema( $schema, $post ) { global $gd_post; if ( ! empty( $gd_post ) && ! empty( $gd_post->post_type ) && $gd_post->post_type == 'gd_job' ) { $schema['@type'] = 'JobPosting'; // datePosted $schema['datePosted'] = str_replace( ' ', 'T', date_i18n( 'Y-m-d H:i:s', strtotime( $post->post_date ) ) ); // hiringOrganization $hiringOrganization = array(); $hiringOrganization["@type"] = "Organization"; $hiringOrganization["name"] = ! empty( $gd_post->businessorganization_name ) ? $gd_post->businessorganization_name : 'n/a'; $hiringOrganization["sameAs"] = $gd_post->website; $schema['hiringOrganization'] = $hiringOrganization; // jobLocation $jobLocation = array(); $jobLocation["@type"] = "Place"; //$jobLocation["name"] = $schema['name']; $jobLocation["address"] = $schema['address']; if ( ! empty( $schema['telephone'] ) ) { $jobLocation["telephone"] = $schema['telephone']; } $schema['jobLocation'] = $jobLocation; // jobLocationType $schema['jobLocationType'] = 'TELECOMMUTE'; // title $schema['title'] = $schema['name']; // validThrough if ( ! empty( $gd_post->expire_date ) && geodir_strtolower( $gd_post->expire_date ) != 'never' && $gd_post->expire_date != '0000-00-00' ) { $schema['validThrough'] = str_replace( ' ', 'T', date_i18n( 'Y-m-d H:i:s', strtotime( $gd_post->expire_date ) ) ); } else { $schema['validThrough'] = str_replace( ' ', 'T', date_i18n( 'Y-m-d H:i:s', strtotime( '+30 day' ) ) ); } // baseSalary $baseSalary = array(); $baseSalary['@type'] = "MonetaryAmount"; $baseSalary['currency'] = "USD"; $baseSalary['value'] = array( "@type" => "QuantitativeValue", "value" => ( ! empty( $gd_post->enter_a_wagesalary_estimate ) ? $gd_post->enter_a_wagesalary_estimate : 'n/a' ), "unitText" => "YEAR" ); $schema['baseSalary'] = $baseSalary; // employmentType $schema['employmentType'] = ! empty( $gd_post->job_type ) ? str_replace( ' ', '_', geodir_strtoupper( $gd_post->job_type ) ) : 'OTHER'; } return $schema; } add_filter( 'geodir_details_schema', 'gd_snippet_200108_job_posting_schema', 20, 2 );
Kiran
Hi Alexander,
Issue has been fixed.
Archive pages for UK & RU language are translated from EN page and on your site GeoDirectory > Settings > Pages are saved with RU language. So it not detecting Archive page as GeoDirectory page on frontend.
We have fixed this and also applied patch on your site.
Please check and let us know.
Regards,
Kiran -
AuthorPosts