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
- Undefined offset: 0 in > […] /wp-includes/capabilities.php on line 1067
- How to change the markup WordPress inserts for post images
- Genesis – Customize search form
- HTML5 theme support for comments + form ‘novalidate’ – how to handle it properly?
- Adding a search form inside a div
- Genesis Child and Custom Post Type
- How to retain HTML5 Attributes on Markup
- How to make WordPress and TinyMCE accept tags wrapping block-level elements as allowed in HTML5?
- How to Remove novalidate attribute from comment form
- Remove frameborder attribute from iframes
- how to change WordPress menu markup/classes
- Displaying Custom Fields on Post with Genesis Child Theme
- Remove Archive Headline and Archive Intro Text fields on category and tag archive pages in WordPress Admin with Genesis framework
- Custom Blog Post Listing in Genesis Sample Child Theme
- Integrating Html5Boilerplate’s Builder into a WP Theme
- How to add attributes to the comment form tag?
- Custom Fields Code not echoing whats in the value field
- Log in link not showing, Comment Issue
- WordPress Genesis custom taxonomy archive shows 3 repeats of each post
- Genesis: How to add content after aside and before the content-sidebar wrap
- Problem with WordPress query on page using custom fields
- WordPress Genesis not excluding category from blog
- ACF Wysiwyg Editor Image srcset for responsive images [closed]
- wordpress 4.4 self hosted video (html5) doesn’t show
- Add ALT attribute to Pin It Button image to pass HTML5 validation
- Using _e() on text inside video tags prints that text, instead of only showing when html5 element is not supported
- Can a shortcode included in post content add styles to the ?
- Derive child theme from separate theme
- if statement for wordpress default featured image on single post
- Move Genesis Single Page/Single Post Title
- Add an Outside Wrapper to my Header and Make it Full Width
- Show specific category posts on Genesis framework home page
- Convert HTML to HTML 5? [closed]
- How to add the sidebar to all the pages except the home page? [closed]
- Adding to the WYSIWYG
- display text on the same line
- Soundcloud Smart Player
- Genesis / custom template page / setting the page title and meta desc
- Randomize Color Scheme Selection in Theme
- Embed HTML5 files/subfolders in post?
- Stylesheet being loaded outside of
- Plugins not showing up for custom template
- Excluded category from loop
- Posts limit on homepage (genesis framework)
- how to check if an element in an html file exists in another html file? [closed]
- I have a background-image in css file but don’t show in site.how to fix this prblm. i sent screenshot. thx
- Using Shortcode Result In Custom HTML Block (Using Google Sheet JQuery Result As NumScroller data-max)
- Modify [caption] shortcode so and are not used?
- Is_single not working properly in genesis
- From php web to wordpress conversion, href changes only in URL
- Preserve indentation, HTML5 shorthand in editor
- WP Query works outside a function, not inside a function
- New theme HTML5 Support for Search in WordPress 4.4
- HTML5/CSS3 Polyfill for wp-login.php
- Menu disappears with custom post type link
- using theme check plugin to remove waring and errors from my theme
- Need help setting up a search form for wordpress [duplicate]
- Syling Custom Fields echo’s from from functions.php
- Add html plugin into wordpress
- how to use the_excerpt for two post queries?
- Want to display page content after password prompt without page reload
- What to do when child theme is out of date with parent theme
- How can i get tag without />?
- $do_not_duplicate is not working in genesis theme
- display last post modified date in genesis child themes
- Custom Post Type Pagination For Genesis Child Theme [closed]
- How do i add logo in wordpress studiopress (glam theme)?