How to use meta field values with SEOPress?
By default, every meta fields created from JetEngine, Post Types, are just custom fields, ie post metas stored in the default table wp_postmeta
.
You can easily request the value of these fields by using %%_cf_your_custom_field_name%%
with your SEO and social metadata, and manual schemas.
With automatic schemas, select Custom fields, then the name of your custom field.
With automatic custom schema, just enter the dynamic variable like this: %%_cf_your_custom_field_name%%
How to use meta fields with a custom table storage?
When you register your custom post type with JetEngine, you can choose to store your data to a custom table by checking “Custom Meta Storage” option.
To request the meta field values, you will need some custom code.
For your SEO/Social metadata/Manual and Custom schema
Adapt this snippet to match your need by following our dedicated guide to add dynamic variables to SEOPress.
For automatic schema
To add a predefined dynamic variable to the default list, use this code:
Advanced usage with repeater / checkbox / radio / select field types
Based on our guide to create custom dynamic variables with SEOPress.