How to Use GeoDirectory Snippet Variables in Yoast?

You can use Yoast to manage meta for GeoDirectory listings and insert GeoDirectory custom field data and GeoDirectory variables into Yoast Settings.

By default, GeoDirectory can handle its own meta data for pages and CPTs using the GeoDirectory  Titles & Metas settings

Use Yoast with GeoDirectory

If you have Yoast SEO installed, Yoast will automatically take over meta data from GeoDirectory. 
GeoDirectory will still create Titles for GD Pages though, so you will continue to use the Titles & Metas settings but only for titles. You can know that is working because there will be a new option in the GD Titles and Metas settings to disable Yoast overwrites for GD meta.

Custom Fields

You can use GeoDirectory Custom Fields in the Yoast search appearance settings for the Single page templates.

To render GeoDirectory custom fields the _gd__ prefix is necessary.

Examples:  %%_gd__timing%% or %%_gd__website%%


You can use GeoDirectory variables in Yoast search appearance settings. 

GeoDirectory variables, the complete list, can be found in your site on the Titles & Metas settings page.

To render GeoDirectory variable in Yoast meta, add an additional underscore _ prefix for the variable.

Examples:  %%_in_location%% or %%_in_location_country%% or %%_gd_category%%

Yoast SEO Global Settings

To manage the meta data for GeoDirectory content types using Yoast SEO plugin, you will need to go to the Yoast settings section, located at:   
SEO > Search Appearance > Content Types
Each GeoDirectory Custom Post Type will be listed with a meta box allowing you to fill in settings.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us