• Resolved legion_x

    (@legion_x)


    Hello.

    Well, i would like to display the metadescription of a specific article somewhere on the page by implementing a code snippet in my php code. Is there any solution for that?

    Thank you in advance.

    Later, Chris

Viewing 1 replies (of 1 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hi Chris!

    Yes, that’s possible. You can make a shortcode, like show in this gist.

    If you implement that piece of code, you can any of these to display it:

    [tsf-description] (current query)
    [tsf-description id=42] (for singular ID 42)
    [tsf-description id=42 taxonomy=category] (for category ID 42)

    I hope this is what you were looking for! Cheers ??

Viewing 1 replies (of 1 total)
  • The topic ‘Display meta description within template’ is closed to new replies.