How to create og:image meta tag on pdb_single page
-
On the page which contains the pdb_single shortcode, I’d like to have code to create a meta tag for og:image in the header, setting the tag content to the image url stored in an image field I have in the table. I’ve had no problem manipulating this field with a custom template for the ‘single’ shortcode and some php, but what will work in the page body breaks the whole page when placed in header.php (viewing page source shows that rendering stops where the custom code in inserted).
Any suggestions on how to accomplish this?
Thanks!
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘How to create og:image meta tag on pdb_single page’ is closed to new replies.