Timeline for what function can I use to automatically output og tags per page/post?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Jan 9, 2021 at 20:23 | history | suggested | Celso Bessa | CC BY-SA 4.0 |
fix some typo
|
Jan 9, 2021 at 14:58 | comment | added | Celso Bessa |
Then, check @Q Studio response, but you might want to adapt it and modify Yoast own functions, which are hooked using add_action( 'wp_head', [ $this, 'call_wpseo_head' ], 1 ); and add_action( 'wpseo_head', [ $this, 'present_head' ], -9999 ); . I won't go deeper on because third party-plugins are off-topic here, but the idea is basically what Q_Studio answered, just adapting for different contexts.
|
|
Jan 9, 2021 at 14:53 | comment | added | joseph | Yes they are. I am using Yoast SEO plugin but the problem is that it inserts the og tags before the closing <head> tag. Which results in not returning any social review for whatsapp and telegram. Also, The tags are shown in the page source but I don't see anything in the header.php. | |
Jan 9, 2021 at 14:48 | review | Suggested edits | |||
S Jan 9, 2021 at 20:23 | |||||
Jan 9, 2021 at 14:46 | comment | added | Celso Bessa | Are the og: tags currently generated by another plugin? | |
Jan 9, 2021 at 10:18 | answer | added | Q Studio | timeline score: 1 | |
Jan 9, 2021 at 9:23 | history | asked | joseph | CC BY-SA 4.0 |