According to Microsoft’s docs, the syntax for revealing and hiding content using conditional comments are different, so since you’re trying to only use (reveal) the script for IE8 and below (vs. hiding it), the echo
statement should change to:
echo '<![if lt IE 9]><script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]>' . "\n";
Support for conditional comments ended with IE10, so it may also be that the IE8 Compatibility View doesn’t actually render the page with the old engine that supports CCs.
Related Posts:
- How to add code just below opening body tag in Genesis framework
- Adding ads after a certain number of paragraphs within Genesis themework
- How do I turn a 404 page into an automatic search with the info from the url?
- WordPress Genesis Child Theme Filter divs
- WordPress Hide Show Content script and activate/deactivate script on screensize
- Genesis menu position change
- Is it possible to roll back to a previous customization of Genesis?
- How can I eliminate the inline styles included by default with the Genesis framewrok?
- Portfolio-template won’t show items
- Move Archive Title to Entry Title – Genesis
- Modify Genesis Custom Header CSS
- How to remove the Navigation Bar (prim. and sec.) from the Homepage for the Genesis Framework?
- Notice: Undefined variable: thumbnail [closed]
- Issue echoing the site’s title in Genesis child theme
- Passing a Variable to a Function Hooked to Genesis Entry Content
- Multiple loops in Genesis
- How to enable full column width in Genesis layout options
- Genesis framework : how to display the primary sidebar manually?
- How to create and set a separate template file for articles in Genesis framework? (WordPress)
- genesis grid loop only showing one column
- Plugin for user comments, star ratings, badge, activity
- Insert custom metatag in all the internal pages of the site, less in the homepage
- Cropping a thumbnail with a Genesis child theme
- Genesis themes: how do alter the markup of post meta on archive pages? [closed]
- Getting Genesis Entry Headers Back on Post Tiltes
- Genesis page template with Powerpress
- New Genesis child theme or revise current Genesis child theme [closed]
- How to change title “Search Results for:….” in search results page of genesis?
- How to display post title on top of image with Genesis Featured Posts
- How to create a page template that display posts with a certain category in the Genesis Framework?
- Genesis Style Selector causes PHP warning [closed]
- Can WordPress be made to support websockets?
- wp.media.view.ImageDetails – Save settings as HTML5 data-* attributes for image
- How do I turn off self-closing tags for markup in WordPress (for HTML5, or HTML4, for example)?
- Display current category title on category page
- TinyMCE editor is breaking my beautiful HTML
- Undefined offset: 0 in > […] /wp-includes/capabilities.php on line 1067
- Any advantage of using wp_scripts and is_IE when enqueuing scripts
- How to change the markup WordPress inserts for post images
- Genesis – Customize search form
- Why does `add_theme_support( ‘html5’, array( ‘comment-form’ )` disable client side validation?
- Output in XHTML or HTML 5 for plugins?
- HTML5, WordPress and Tiny MCE issue – wrapping anchor tag around div results in funky output
- HTML5 theme support for comments + form ‘novalidate’ – how to handle it properly?
- Display message once per session to users with a specific role
- Adding a search form inside a div
- Modify the post/entry wrapper markup in genesis childtheme [closed]
- How do I use element instead of tags in WordPress post content having webP support?
- Genesis Child and Custom Post Type
- Create a Widget Area in the Navigation Bar for the Genesis Theme Framework?
- How to retain HTML5 Attributes on Markup
- Change Genesis Tag from Page Template [closed]
- Writing a cache manifest file for a WordPress blog (app cache, offline web applications)
- Using Custom Templates for Custom Post Types for the Genesis Theme Framework?
- Uncaught TypeError: Cannot read property ‘replace’ of undefined
- Get menu links only
- How to make WordPress and TinyMCE accept tags wrapping block-level elements as allowed in HTML5?
- Protecting HTML5 video [closed]
- How to remove an action added by a child theme of Genesis
- How to Remove novalidate attribute from comment form
- Exclude a category from the filed under list
- Remove frameborder attribute from iframes
- How do I enable HTML5 prefetching on this page?
- Display a default image for custom-logo
- Editing or filtering the output of the Genesis navigation
- StudioPress: add meta tag to every page [closed]
- How to add specific menu on a specific page or pages
- htaccess: Remove trailing slash from URL ending with .xml/ only
- how to change WordPress menu markup/classes
- Displaying Custom Fields on Post with Genesis Child Theme
- get_post_meta not working inside loop
- How to keep my custom theme changes after updating genesis child theme
- Remove Archive Headline and Archive Intro Text fields on category and tag archive pages in WordPress Admin with Genesis framework
- Removing http:// from esc url() for wordpress customizer code
- Edit/Customize the Single Page of a Genesis Sample Child Theme
- Comment form problem with comment_author_url and HTML5 input placeholders
- Second nav is merged with the first in mobile
- Unable to show ACF’s Image Custom Field properly in Genesis Framework [closed]
- Pagination difficulty using custom query in genesis-based custom theme
- Including Custom Post Type posts in a page template contextually (or should I widget?)
- Custom Blog Post Listing in Genesis Sample Child Theme
- Integrating Html5Boilerplate’s Builder into a WP Theme
- Is there a filter for enqueue script to strip the type=”text/javascript” property
- How to add attributes to the comment form tag?
- How to modify a title tag in genesis?
- Multiple social buttons with a fast loading? [closed]
- How to allow html5 tag in WordPress
- Custom Fields Code not echoing whats in the value field
- Save re-arranged draggable post items to wordpress database
- Add htmlentities and/or shortcode into data-attributes
- Log in link not showing, Comment Issue
- Layer post title on top of image WordPress featured thumbnail image
- Show featured image next to post-teasers in Genesis Framework?
- PHP loop that selects posts with a particular in-post option
- Using HTML 5 Details/Summary Tag
- WordPress Genesis custom taxonomy archive shows 3 repeats of each post
- Custom Post Type Loop throws 500 error when used in widget
- Received nothing after executing AJAX post function
- Genesis: How to add content after aside and before the content-sidebar wrap
- How to output images as figure/figcaption