Okay
  Public Ticket #868019
Kalium Open Graph
Closed

Comments

  • Shane started the conversation

    This issue was noted in the following ticket which seems to be closed with no apparent resolution:

    https://laborator.ticksy.com/ticket/825601

    The native Open Graph description from Kalium shows html in the og:description when linked to Facebook for example. I am using Yoast SEO, while the user noted above is using AIO SEO, both of which provide robust FB Open Graph tags. It seems that Kalium is overriding data from these plugins. The function in /inc/laborator_actions.php under // Open Graph Meta is the culprit. I have removed this code and everything now works fine. How can I control this via theme options or my child theme, though? I would rather not be making this modification to the primary theme file. 

    Thanks,

    Shane

  • [deleted] replied

    Hi Shane,

    Sorry about that, apparently our team member thought its fixed so I took time to read and realized it is not solved yet.

    Can you please add the following code in functions.php (end of file):

    add_filter( 'kalium_open_graph_meta', '__return_false', 100 );

    This will disable the OG meta generator implemented in our theme. We will include theme options feature to disable OG meta to show by the theme.

    Hopefully this will work for you.

  • Shane replied

    Thanks. It seems to work fine.