Almost everywhere: https://theseoframework.com/about/dealing-with-databases/
What data are you looking for? I might be able to give you directions.
Thread Starter
nc_nc
(@nc_nc)
Open Graph Title, Open Graph Description, Twitter Title, Twitter Description, Custom Social Image URL, Custom Canonical URL
the fields that are changed/different
Those are all stored via WordPress’ Post Meta API.
https://developer.wordpress.org/reference/functions/get_post_meta/
The keys are:
_genesis_title
_genesis_description
_genesis_canonical_uri
redirect
_social_image_url
_social_image_id
_genesis_noindex
_genesis_nofollow
_genesis_noarchive
exclude_local_search
exclude_from_archive
_open_graph_title
_open_graph_description
_twitter_title
_twitter_description
In The SEO Framework, you can access them easily via this function, which also applies stripslashes()
, and it autodetermines the $post_id
when omitted:
the_seo_framework()->get_custom_field( $key, $post_id = null );
Thread Starter
nc_nc
(@nc_nc)
Thank you for the info. I am coding in asp classic, so php calls will not work. I am using WP only to manage blogs, but would like to integrate your plugin to help with SEO aspect. get_post_meta is a good start.
I think I found it “_genesis_title” … thank you.
PS. this link (https://github.com/sybrew/The-SEO-Framework-Extension-Manager/blob/master/inc/traits/extension-options.trait.php) in this page (https://theseoframework.com/about/dealing-with-databases/) is not working.
-
This reply was modified 2 years, 8 months ago by
nc_nc.
Great 🙂 If you have any more questions, let me know!
Keep in mind that it’s best to use WordPress’ API to access live data; any hook could alter the outcome.
I’ve updated the link (I should also fix the grammar…). The last dash became a slash recently, for better folder structure.