Keyword

Open graph article author

  • Valentine Solo
  • Valentine Solo's Avatar Topic Author
  • Offline
  • New Member
More
8 years 3 months ago #155032 by Valentine Solo
Open graph article author was created by Valentine Solo
Hello,

K2 has nice open graph meta tags for "og:type" article object. I woundered if I could extend it for facebook and twitter vcard.
What I mean is a certain field for K2 user profile for author FB and Twitter Url, so that Facebook and Twitter could parse it as "article:author" and fb:profile_id from meta tags.

Those fields would be very handy for acticle author og info and follow-buttons.

I guess it would be great improvement. Sorry if you already disqussed it or planned as a new feature in K2 V3. I'd like to know before I start digging the code =]

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 3 months ago #155056 by Krikor Boghossian
Replied by Krikor Boghossian on topic Open graph article author
Hello Valentine,

docs.joomla.org/JDocument/setMetaData
With this function you can pretty much add any metadata you want in your overrides.

Remember to override the item.php file instead of editing it directly.
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum