The tag has no wiki summary.

learn more… | top users | synonyms

12
votes
6answers
2k views

How do I turn off self-closing tags for markup in WordPress (for HTML5, or HTML4, for example)?

I want to use HTML5 in my WordPress theme, how do I turn off wptexturize? I don't mind WP adding breaks, but I want them to be <br> and not <br />. How do I get control over how those ...
10
votes
5answers
2k views

Can WordPress be made to support websockets?

Websockets are a cool, cutting-edge technology wrapped into HTML5. Basically, you can open a websocket to enable persistent, 2-way communication with a web server. The client (user interface) can ...
4
votes
1answer
80 views

Output in XHTML or HTML 5 for plugins?

I'm currently writing a plugin that displays some images - possibly with captions. So, I was wondering whether to use XHTML (<div>s and <span>s) or HTML 5 (<figure> and ...
3
votes
1answer
1k views

Writing a cache manifest file for a WordPress blog (app cache, offline web applications)

I'm wondering if anyone has implemented Offline Web Applications from HTML5 in a WordPress blog? When you write a manifest file, all files must be accounted for, thought you can specify the wildcard ...
2
votes
1answer
169 views

How do I enable HTML5 prefetching on this page?

Site example: http://www.ianstuart-bride.com I currently have this bit of code in header.php, but it does not work as desired: <?php if (is_archive() && ($paged > 1) && ...
2
votes
2answers
358 views

Comment form problem with comment_author_url and HTML5 input placeholders

I'm using HTML5 on two sites running two different versions of WordPress. They both exhibit the same behaviour and I would like some help with fixing this please. <label ...
2
votes
1answer
334 views

Wordpress Genesis Child Theme Filter divs

I'm trying to html5ize a Genesis child theme. So far I've figured out how to replace the Doctype via hook but am having trouble figuring out how i can change the divs to sections and articles without ...
1
vote
2answers
294 views

Integrating Html5Boilerplate's Builder into a WP Theme

So Im planning to use Html5Boilerplate as a base to build a new WP Theme on. The Boilerplate comes with the Builder, a handy Tool for minifiying, concatenating and compressing ones Website for obvious ...
1
vote
3answers
681 views

Multiple social buttons with a fast loading? [closed]

I have pages like this with a lot of social buttons. A lot means more than 50 buttons because each posts on that page has its own buttons. So maybe I'll make the page smaller, with less posts but ...
1
vote
3answers
604 views

How to allow <video> html5 tag in Wordpress

Currently I am running a Wordpress MU blog using the Unfiltered MU plugin. However, when I try to insert an HTML5 tag, it gets stripped away. I believe it may be the WYSIWYG editor cleaning the ...
1
vote
1answer
630 views

Add htmlentities and/or shortcode into data-attributes

I realize this is crazy but, I built up a filtered gallery with quicksand and it pulls in a larger image, title and description when you click the smaller image it shows the data-img in a larger form. ...
1
vote
2answers
215 views

Layer post title on top of image Wordpress featured thumbnail image

I'm currently trying to layer a post title on top of the posts featured image but all I see at the moment is ");">" instead of the image. The code I'm using is as follows: <div ...
1
vote
2answers
349 views

Get menu links only

I'm creating a template in HTML5. On navigatiom menu i need to implement something like this <nav> <a href="url1">url1</a> <a href="url1">url2</a> <a ...
1
vote
0answers
127 views

Add ALT attribute to Pin It Button image to pass HTML5 validation

I am using the Pinterest "Pin It" Button plugin so I can add to my posts/images. However, part of the Pin In button uses this code: <img border="0" class="pib-count-img" ...
0
votes
1answer
15 views

Using _e() on text inside video tags prints that text, instead of only showing when html5 <video> element is not supported

I'm creating a wordpress theme in which I'm creating a shortcode for a video. Part of the output of this shortcode is something like this: $result .= '<video class="fullWidth" width="auto" ...
0
votes
3answers
975 views

Can a shortcode included in post content add styles to the <head>?

I have a shortcode that iterates through a list of custom post types and, as part of displaying them, creates a block. In HTML5, it is illegal to have a style block outside the header (maybe in other ...
0
votes
2answers
3k views

Protecting HTML5 video

I shall explain my situation as best I can so you can see where i'm coming from. I'm working on a wordpress site for a sports team, there are loads of teams. We want to put coaching sessions on our ...
0
votes
1answer
597 views

audio link produces black box

In chrome and firefox (and maybe others) the audio link does not render a media controller. E.g. [audio http://example.com/wp/wp-content/uploads/2011/09/file.mp3] In Chrome, view page source show ...
0
votes
1answer
3k views

Convert HTML to HTML 5? [closed]

I have a website which is in XHTML (wordpress coded). I need to convert it into HTML 5. I just started learning about HTML 5 tags like section, nav, footer etc. While finding deep into it, I came ...
0
votes
2answers
1k views

How to allow YouTube object embed in Wordpress 3+?

I admin a Wordpress blog with a few dozens of users. Since we upgraded to version 3.1+ my users can't insert the YouTube embed tags into a post ( wordpress or TinyMCE removes them ). When I'm ...
0
votes
1answer
136 views

Map clashing with WP - suggestions on fix? [closed]

I've followed this tutorial - http://www.netzgesta.de/mapper/ to create a state map of USA which you can see here - http://www.teamworksdesign.com/clients/neurosign/contact/alabama/ I downloaded the ...
0
votes
1answer
576 views

Is there a filter for enqueue script to strip the type=“text/javascript” property

script type="text/javascript" is optional in HTML5 and all browsers (even old ones) recognise JavaScript without it. I am building an HTML5 site and want my script output to be consistent. However, ...
0
votes
1answer
63 views

Drop-Down Menu of Current Child Pages

Sorry if my question title didn't make much sense. I'll try and explain. I am using the 'Contact Form 7' plugin on a WordPress site and would like to display the child pages of the current page in a ...
0
votes
1answer
369 views

Embed HTML5 files/subfolders in post?

I am attempting to publish an Adobe Captivate project to a WordPress blog. The .swf file is easy enough to handle, but the HTML5 version is giving me problems. The way that Captivate outputs HTML5 is ...
0
votes
1answer
106 views

Remove border attribute from Pin It Button image to pass HTML5 validation [closed]

I am using the Pinterest "Pin It" Button plugin http://pinterestplugin.com which uses this code on my blog pages: <img border="0" class="pib-count-img" ...
0
votes
1answer
43 views

Plugins not showing up for custom template

I'm customizing the index.php page. I've customized my header.php and footer.php and created the styles for both things. My main index.php page has: <?php /* Template Name: Main */ ?> ...
0
votes
1answer
619 views

HTML5, WordPress and Tiny MCE issue - wrapping anchor tag around div results in funky output

So I'm using HTML5 on a website and am trying to wrap a div in an anchor tag, which is supposedly acceptable in HTML5 websites. But when I do this... <a href="#mylink"><div ...
0
votes
1answer
309 views

Equal height sections in custom Headway Theme

I have this piece of code: <section class="row row-3"> <section class="column column-1 grid-width-19 grid-left-0"> <section class="column column-2 grid-width-5 ...
0
votes
1answer
136 views

Is there a Image Gallery which will load all my posted Images like twitter's image grid?

Many of my wordpress posts have images in them for my personal blog. I have been searching for a good way to display all of the images from all of the posts in a grid layout on a page. Similar to the ...
0
votes
0answers
15 views

Embed Captivate HTML5 into WP

I would like to embed HTML5 interactions I create in Captivate into my WordPress. I don't need the data to report to an LRS; I just need the learner to be able to interact with it. An iframe is not ...
0
votes
1answer
97 views

Genesis loading of html5shiv for IE8

Genesis Framework 2 has built-in support for loading the html5shiv.js, with the genesis_html5_ie_fix function (/lib/js/load-scripts.php). I post the function below. It supposed to print a conditional ...
0
votes
0answers
25 views

Embed from wordpress to another site (object within post)

So I'm using the built in wordpress player for my podcast within a blog I syndicate through tumblr. I was hoping to have the player display on other sites. Is there a way to embed the player (maybe ...
0
votes
0answers
56 views

Empty paragraphs around figure and figcaption tags when using markdown

I'm using WP 3.8 and Markdown on Save Improved plugin and have following code for outputing HTML5 tags when inserting images via Media Uploader: function html5_insert_image($html, $id, $caption, ...
0
votes
0answers
30 views

Add html plugin into wordpress

I purchased an HTML5 Video & Youtube background plugin, I want to use it with WordPress. http://codecanyon.net/item/html5-video-youtube-background/1555660 Any Suggestions? Maybe create a ...
0
votes
2answers
96 views

Stylesheet being loaded outside of <head>

Wordpress (3.6) is loading two stylesheets (mediaelement-css, .../wp-includes/js/mediaelement/mediaelementplayer.min.css?ver=2.13.0 and wp-mediaelement-css, ...
0
votes
0answers
76 views

Contact form placeholder acting as value

A client of mine is using Contact Form 7 and they have placeholder's in place within each input field. The problem is that these placeholders are acting like values and a user can submit the form ...
0
votes
0answers
32 views

Wordpress blog not loading articles

I have set up a static website with basic information pages such that all of the static pages fall into one level and in that directory there is directory "blog" which contains a Wordpress 3.5.1 ...
0
votes
0answers
157 views

how to retrieve subcategory related to category in edit page from view page by using javascript

I am doing a basic product page by using JavaScript,php and html. I retrieve the category related subcategory drop down list from view page .but my subcategory is not change according my category .I ...
0
votes
1answer
47 views

Does post-meta belong in header?

The template I used as a start for my own design places the metadata inside the header tag of the single-post.php. Is that a correct use of header, or should there only be h-tags in there? What about ...
0
votes
1answer
191 views

Practical Solutions to HTML5 Video on WordPress

I was directed here from Stack Overflow -- We work with clients who have WordPress sites and one thing we keep struggling with is implementing HTML5 video across all browsers and devices in the ...
0
votes
1answer
635 views

Converting HTML5 to XHTML

What do I need to ponder if I want to convert Twenty Eleven theme to XHTML? Is it just the matter of replacing the HTML5 for divs?
0
votes
1answer
317 views

Ajax request with jQuery without WP_ajax

I try to made a website in full ajax (a html5 website). I use jquery and innerShiv (for ie). For exemple I want to load all the content of the "section" tag of a page. When I use that script, it ...
-1
votes
1answer
47 views

Using Schema with `the_excerpt`

I'm currently developing a WordPress site and want to use Schema, I have been some what successful so far but have now hit a stone wall. I want to use: itemprop="description" to the ...
-3
votes
2answers
157 views

Datetime on time tag wordpress puts it outside the tag

I want to use a time tag with the datetime attribute in it... I tried this in functions.php: <time class="time" datetime='. the_date('d-m-Y') . '>%3$s '.get_the_time( $d, $post ...