Keyword

remove og from item

  • daniela de prisco
  • daniela de prisco's Avatar Topic Author
  • Offline
  • New Member
More
9 years 4 months ago #134275 by daniela de prisco
remove og from item was created by daniela de prisco
hi,
I would remove the open graph meta tags generated by k2 from the pages of the individual item and wherever they are.
I would like to do because the data is not correct, and I would use - alternatively - metatags og generated plugin BT Social Share which are fully functional.

What are the files that I need to change and what is the code that I have to eliminate?
tks
Daniela

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 4 months ago #134322 by Krikor Boghossian
Replied by Krikor Boghossian on topic remove og from item
You would need to hack the core K2 files.
This means that you should always keep a backup of these files.

The code is located between the lines 553 - 570 (K2 2.7 DEV version) in the /components/com_k2/views/item/view.html.php

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