[resolved] OGP and Ignite (5 posts)

  1. Chris Gurley
    Posted 2 years ago #

    Hey Ben,

    Have you had any issues with OGP and the Ignite theme? I routinely share post links on social media sites, and since adopting Ignite, LinkedIn doesn't render my links. Facebook displays previews properly, so it isn't a global issue (I had a past plugin--ContentShare, I think--that conflicted and removed OGP tags, but I pulled that before Ignite). I just really need to have my links preview properly in LinkedIn shares.

    Requirements from LinkedIn: http://help.linkedin.com/app/answers/detail/a_id/46687/ft/eng

    Example URL:


  2. Ben Sibley
    Theme Author

    Posted 2 years ago #


    Hmm it looks like Linkedin is really finicky with the HTML. I'll look into any validation errors I can clean up.

    The problem might be specifically with the way the <html> tag is included.

    Are you comfortable making some edits to the header.php file?

    If so, change this section here:

    <!--[if lt IE 7 ]> <html class="ie6" <?php language_attributes(); ?>> <![endif]-->
        <!--[if IE 7 ]>    <html class="ie7" <?php language_attributes(); ?>> <![endif]-->
        <!--[if IE 8 ]>    <html class="ie8" <?php language_attributes(); ?>> <![endif]-->
        <!--[if lt IE 9]>
        <script src="<?php echo get_template_directory_uri(); ?>/js/html5shiv/html5shiv.js"></script>
        <!--[if IE 9 ]><html class="ie9" <?php language_attributes(); ?>> <![endif]-->
        <!--[if (gt IE 9)|!(IE)]><!--> <html <?php language_attributes(); ?>> <!--<![endif]-->

    To just this:

    <html <?php language_attributes(); ?>>

  3. Ben Sibley
    Theme Author

    Posted 2 years ago #


    Problem solved, don't worry about trying the code above. The fix is in the queue and the next version of Ignite will be available in your dashboard in about 48 hours.

  4. Chris Gurley
    Posted 2 years ago #

    Awesome! Thanks, Ben. I really appreciate it.

  5. Ben Sibley
    Theme Author

    Posted 2 years ago #

    You're welcome! Thanks for notifying me about the issue.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.