WordPress.org

Ready to get started?Download WordPress

Forums

Ignite
[resolved] OGP and Ignite (5 posts)

  1. Chris Gurley
    Member
    Posted 1 month 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:
    http://www.thegurleyman.com/field-review-xtremio-gen2/

    Thanks!
    Chris

  2. Ben Sibley
    Member
    Theme Author

    Posted 1 month ago #

    Chris,

    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>
        <![endif]-->
        <!--[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
    Member
    Theme Author

    Posted 1 month ago #

    UPDATE:

    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
    Member
    Posted 1 month ago #

    Awesome! Thanks, Ben. I really appreciate it.

  5. Ben Sibley
    Member
    Theme Author

    Posted 1 month ago #

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

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.