• Resolved morespinach

    (@morespinach)


    Hello. No search on Yoast website yields any insight. I’m trying to get the meta description I write per article in the “snippet” into my theme’s header. I won’t be using wp_head() which contains all sorts of gunk and removing it is more painful than any value it provides.

    For the description fields in the header including OG, Twitter, FB, etc, I’d like to use current page’s “meta desc” instead of creating yet another custom field just to replicate this.

    Is there any way to reference what I’ve already specified in Yoast? I know Yoast relies on wp_head() to do its insertions, but I need the opposite: something like get_yoast_meta_desc() for example to put into my own theme.

    Many thanks for any pointers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    We can’t offer support on custom code (needed to change (core) features of our plugin). Since we don’t want to take the risk that we break your website by suggesting incorrect or incomplete code, we cannot advise you on how to make such changes. Maybe someone watching these forums can assist you further, but if your topic is inactive for 7 days, we’ll mark it as resolved to keep the overview.

    Thank you for your understanding.

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting meta_desc in my own theme?’ is closed to new replies.