Open dtronvig opened 10 years ago
I'm not sure whether your question is right…
but where do I get the value of og:description
I think that you want to find value for og:description in K2 item. The open graph works in this way that the website should set this all tags based on current data source like K2 or Joomla! article so it is necessary to include additional meta tags.
In K2 item view you can access to this details but $this object which keep all article information details for example introtext :
$this->item->introtext;
Excellent. Thanks.
On Sat, May 17, 2014 at 9:43 AM, Bartłomiej Krztuk <notifications@github.com
wrote:
I'm not sure whether your question is right…
but where do I get the value of og:description
I think that you want to find value for og:description in K2 item. The open graph works in this way that the website should set this all tags based on current data source like K2 or Joomla! article so it is necessary to include additional meta tags.
In K2 item view you can access to this details but $this object which keep all article information details for example introtext :
$this->item->introtext;
— Reply to this email directly or view it on GitHubhttps://github.com/GavickPro/Music-Free-Responsive-Joomla-Template/issues/188#issuecomment-43414023 .
I think I get how to set Open Graph tags for a K2 item, but where do I get the value of og:description when I'm in item.php? I'd like to pick up the og:title as well, which I guess just comes from the general item title. I haven't looked very hard for that one, but it would help get me oriented in general to know how to refer to regular K2 attributes. This all seems a little more straightforward for articles.
Thanks, Drew