Questions tagged [html5]
For some functions WordPress needs to be specifically told to conform to the html5 markup. This is done with `add_theme_support`.
92 questions
0
votes
0
answers
97
views
How to ajaxify all pages of my Wp Site
I want to ajaxify all my wordpress site pages, how to do that. Is there a plugin for that? Please guide. thank you
0
votes
0
answers
51
views
How to add user images on a world globe?
I need a user images on world globe like this design.
I already use this code but can't able to add user images here. Is there any way to add images on this globe or any one have code similar to my ...
0
votes
1
answer
407
views
How to add the sidebar to all the pages except the home page? [closed]
I am creating a theme and I need some idea to create a below structure on my all the page
except on the home page.
I know how to create a menu, sidebar, footer, and call dynamically on the page.
My ...
0
votes
1
answer
305
views
how to check if an element in an html file exists in another html file? [closed]
Imagine that I have an HTML file as one of my WordPress blog pages (let's call it page B). I want to write an if condition inside a tag on page B to check if a specific element exists on another web ...
0
votes
1
answer
3k
views
I have a background-image in css file but don't show in site.how to fix this prblm. i sent screenshot. thx
lock at the pic dont show the background-image.
i try this but not working.... background-image: url("/assets/Logo.png");
how can i fix this prblm. plz give me the solution. Thx.
0
votes
1
answer
7k
views
Adding custom attributes to input fields in Contact Form 7 tags
I want to open camera and save the picture taken. I don't want to upload saved picture. This can be done using the HTML5 capture attribute:
<input type="file" id="avatar" name=&...
0
votes
0
answers
137
views
Modify [caption] shortcode so <figure> and <figcaption> are not used?
I would like to use the original (non-html5) version of the [caption] shortcode. That is, I would like to edit the output so that figure and figcaption are not used as they are causing problems.
How ...
3
votes
1
answer
5k
views
How do I use <picture> element instead of <img> tags in WordPress post content having webP support?
I am developing my custom theme and trying to figure out how to modify the default code for WordPress image inserted into the post content, so I could add support for webP format and have it within &...
1
vote
2
answers
2k
views
wp_nav_menu returns menu list in ascending order. How can I arrange the menu same as dashboard menu
<?php
wp_nav_menu(array(
'theme_location' => 'primary',
'container' => 'ul',
'menu_class'=> 'top-menu'
...
1
vote
0
answers
948
views
ACF Wysiwyg Editor Image srcset for responsive images [closed]
I cannot find a way to generate srcset for images added inside Wysiwyg Editor field of Advanced Custom Field (ACF) plugin. Obviously, i know how to generate WordPress image srcset using:
...
2
votes
1
answer
638
views
Using HTML 5 Details/Summary Tag
I just wanted to use the details/summary tag on my webpage. Using the summary tag, I'm able to define what my caption looks like.
BUT, as soon as I want to edit the page in the visual editor, ...
2
votes
1
answer
3k
views
Remove frameborder attribute from iframes
The W3C Validator outputs an error because Wordpress adds frameborder="0" to iframes. Also the Validator does not like the allow attribute.
I found a similar question for Vimeo Videos: WordPress ...
0
votes
1
answer
302
views
Adding <aside> to the WYSIWYG
I'm trying to add the <aside> tag to the WYSIWYG, just like you can add a blockquote. (Basically have a button to wrap the element in an <aside> tag)
I can't seem to find out how to add ...
0
votes
0
answers
157
views
From php web to wordpress conversion, href changes only in URL
I have converted my PHP dynamic website into WordPress. Whole design is perfect. But unfortunately, when I click on any href link. it just changes in URL but not displaying the related linked page. ...
0
votes
1
answer
237
views
Preserve indentation, HTML5 shorthand in editor
I know there are other questions about tinyMCE, but this one is a little different. Let's say I create an unordered list that drops the closing li tags. I also have class attributes that I don't want ...