Hey r/wordpress,
Looking for some help getting Open Graph page titles, descriptions, and featured image set up for a page that has content dynamically pulled in via a shortcode.
The website I am building is a real estate website that has thousands of property pages with IDX data pulled in from Showcase IDX.
These property pages are created via shortcode. The meta title, description, and featured image work fine as I set these properties in Showcase IDX.
But, when I share a link to a page on social media it pulls the default page title, description, and featured image.
I was taking with RankMath support on how to do this and they weren’t much help. They recommended creating a rank-math.php file with custom variable code and inserting that into the theme file. But, I don’t fully understand how that works.
Would appreciate any guidance here. Thanks!
[ad_2]