Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [html]

Covers all flavors of HTML: HTML5, XHTML and old-school HTML 4.

3
votes
0answers
48 views

Can I strip HTML tags in the “Compare Revisions” screen?

I am building a CMS for content editors that have zero tech savvy. They currently use a system called NewsCred that allows them to compare revisions much like how WordPress does when you visit /wp-...
3
votes
0answers
157 views

Adding target and _blank as it's value to the allowedtags

I know that WordPress uses KSES to parse HTML and strip invalid XHTML so I took control of $allowedtags in my themes functions.php file inside a function then added 'target' keyed to an array which ...
1
vote
0answers
17 views

User-specific access to folders in Wordpress site

I want to use selfhosted Wordpress site to show GIS maps to my clients. I create web maps with gqis2web plugin of QGIS program. It creates folder containing index.html and subfolders with js, css, ...
1
vote
0answers
244 views

Inserting Schema Markup (JSON-LD) Manually with Custom Fields or any Better Ways?

what is a simple and reliable way to insert schema markup (JSON-LD) in my static WP pages manually? My question is not about creating the JSON-LD code, but how to implement it in the WP source code. I ...
1
vote
0answers
89 views

Ajaxify This Code

I have some code here which updates my post query but the problem is that it reloads the page every time which I don't want to happen. Does anyone know how I can turn this piece of code to an ajax ...
1
vote
0answers
20 views

Blog titles from WP blog on plain html site?

My organization has a plain html, actually asp.net website. We recently were required to create a wordpress blog. We host both of these sites ourselves. I have been asked if we could have a dynamic ...
1
vote
0answers
10 views

Showing special sigh (?) in blank space after compress html code

I have run website http://jobsf.in and http://ibpsbi.in I am using intractive theme on my all websites. If I enable html code compress tool through wp-rocket pluging, after that in the double blank ...
1
vote
0answers
26 views

Following Wordpress Markup Is mandatory, got awkward resultyby wordpress standard markup?

I had used the standard wordpress class entry-title, entry-meta etc, First my theme worked well later all at once the width changed vigorously. Do Wordpress generate css properties or can i use my ...
1
vote
0answers
198 views

How to remove ?wp-mce from page source?

After check GT Metrix I found Remove query strings from static resources results is 50% and then found that's because some URL have ?wp-mce-4103-20162941 and no plugin can remove this so can use a ...
1
vote
0answers
53 views

How to remove ?wp-mce-4103-20162941

After check GT Metrix I found Remove query strings from static resources results is 50% and then found that's because some URL have ?wp-mce-4103-20162941 and no plugin can remove this so can use a ...
1
vote
0answers
257 views

How to get the sidebar HTML content?

I'm trying to get the sidebar HTML output to filter the <img> tags and change its src attributes, but I couldn't so far. I tried with this code inside of dynamic_sidebar filter hook, but didn't ...
1
vote
0answers
16 views

Why Won't My Inputs in a form with a Get method work together?

I have two inputs that I'd like to use as a part of the same form. Each one delivers a variable which is used to modify a WP_User_Query to get users based on a large number of search fields. Both of ...
1
vote
0answers
79 views

Can't Display Table Headers in Responsive table layout

Am using below mentioned code to display table in WordPress post. It displayed table correctly, but I want to make to responsive so, I used custom CSS code to make Responsive table layout. It's ...
1
vote
0answers
24 views

Anchor removed from DIV after Quick Edit is used

We have a page we normally edit in basic edit mode. There are a group of DIVs with link tags on them. When a non-technical editor/staffer goes into quick-edit mode for that page, the links are removed ...
1
vote
0answers
255 views

Add Attribute to p Tag of Post Content

I would like the default <p> elements that are added to the (TinyMCE) editor when users post content, to have a dir attribute as well. Reasoning: When the editor is displayed to users, it is ...
1
vote
0answers
49 views

Dot is not added at the end of href

My Key is $P$BeVBjO.GF/Ngju8PCjKJgjV68buIgo. so you can see a dot at the end of my key Input: esc_url( add_query_arg( array( 'loginName' => $requestedUserLogin, 'key' => **$key** ), ...
1
vote
0answers
27 views

A form that can save/edit after first input

I need a form on my WordPress website that users can input information into through dropdown fields.But i just dont want the information to go away after sending.I need them to still be able to come ...
1
vote
0answers
69 views

Position banner to right of logo in header - messed up my header file

Hi I made a mistake by editing my header.php file before backing it up and now having trouble getting it right. There's just a <div> tag missing or something but I am spinning my wheels so maybe ...
1
vote
0answers
43 views

Cannot add a class to h2 tag

I'm creating a page on my Wordpress website with a series of headings and images on alternating sides of the page for each heading so I need to add clear: left and clear:right to the h2 tags on the ...
1
vote
0answers
190 views

Is Hfeed class for all pages needed

Hey there :) I'm trying to fully understand the Hfeed class used in underscores.me themes. I'm developing a site on most of the underscores structure, but I can't figure out if I can remove the hfeed ...
1
vote
0answers
344 views

Theme option not saved if in wp_editor() and html decoded

i'm trying to add wp_editor() to my theme-option page but it is not saved when html is decoded. so this is the issue: in the theme option page i successfully added a new option called ...
1
vote
0answers
373 views

Strip <p> and <br> tags from a specific div

I don't know if its WordPress or TinyMCE but something always puts a crap load of paragraph and break tags everywhere which is incredibly annoying. I have a div with an ID of "hover" and I want to ...
1
vote
0answers
535 views

How to separate HTML and Wordpress files

I want to separate the HTML and PHP code so that the HTML guys can easily work on their files without disturbing the PHP code, but couldn't find any proper solution or Start point to begin. Please ...
1
vote
0answers
344 views

Add .htm extention to a custom taxonomy

I need to add '.htm' to all my urls on a new site - client requires that, as I am converting a old static site into WP. (I use Remove Taxonomy Base Slug to hide the slug of my custom taxonomy "topic" ...
1
vote
0answers
105 views

How to remove default style of header in wordpress metabox

I have the problem which when I create a header in my wordpress plugin metabox, it always apply the default style on my header: even when I apply, my own style, <h3 style="background-color: black;...
1
vote
0answers
1k views

Wordpress putting “rn” in every line break?

I am using a Wordpress plugin called "WP Checkout" and there is a custom post field that allows you to enter additional product information which is tabulated on the product page. I am able to enter ...
1
vote
0answers
207 views

Login to wordpress by clicking a link and specifying usernaname and password in url

I'm running a php application on an ubuntu server that's completely independent of my wordpress site. I'm using an iFrame of the server inside the wordpress site, but I need to login to Wordpress with ...
1
vote
0answers
506 views

How can I remove <br /> line breaks from manually formatted HTML?

I see a lot of posts here and elsewhere having trouble adding line breaks for some reason, but I'm trying to remove them. I'm new to WP, and I see that when editing in "HTML" mode the text is rendered ...
0
votes
0answers
4 views

How can display image on woocommerce product page?

i already have code written but didn't know how can link my image with this function listify_cover( $class, $args = array() ) { $defaults = apply_filters( 'listify_cover_defaults', array( ...
0
votes
0answers
11 views

overflow hidden not work in safari with pseudo element

hello everyone I'm trying to create an animation with elements in css with simple cubes in tresparenza. Everything works perfectly if it weren't for Safari giving me display problems. Can you help me? ...
0
votes
0answers
15 views

beaver builder or any page builder not works with my template

I have a template that I convert it from HTML to Wordpress. so when I install any page builder plugins like beaver builder it's not working. What could I do? should I add code to function.php or ...
0
votes
0answers
25 views

Remove <figure> HTML tags from all posts

How can I remove tags from all posts on WordPress? I want to remove that tag from my WP feed: mkt-d.hospedagemdesites.ws/wp/feed. I'm using that feed to output posts in an external blog and the ...
0
votes
0answers
13 views

Is there a way to transfer all quotaions that are made on my blog posts on a new post automatically?

Basically, I want all highlights/quotes as they are being highlighted on my blog posts to be pasted or transferred to another post. Is there a code that can be made for this?
0
votes
0answers
27 views

Gtmetrix: avoid bad requests

Gtmetrix is showing avoid bad requests, and saying The following requests are returning 404/410 responses. Either fix the broken links or remove the references to the non-existent resources. The ...
0
votes
0answers
12 views

Fixed widgets in reduced navigator

I have a problem in my web page,when the navigator is full screen every thing is clear and in place but when i reduce the window of the navigator for multi task the widgets on my website (charts and ...
0
votes
0answers
17 views

How can I create a shortcode from an html and php code written together

How can I create a shortcode from an html and php code like below: function hire_feedback_surveyyy() { $product_id = 21876; // We get all the Orders for the given product ID in an arrray $...
0
votes
0answers
25 views

Change layout of product attributes for variations in WooCommerce single product pages

I have this layout in Woocommerce single product pages for product attributes for variations (on variable products): <div class="custom__radio-btn"> <input type="radio" name="lines" value=...
0
votes
0answers
14 views

Unable to autoplay and loop a cinemagraph from Imgur

I've tried a number of different codes but they don't seem to work. This is my current one, and although it loads fine, it doesn't autoplay or loop, and if I hit play, it would either not loop, or ...
0
votes
0answers
53 views

GravityForm HTML field turn operators into entities

I'm trying to add JS script into HTML field inside Gravity form editor. It works fine on my site but the client who is using Mac had two problems. The first one was that when he saved changes script ...
0
votes
0answers
11 views

gallery with post category and custom fields

I'm trying to create a YouTube gallery where i use Posts to get info of the iframe and Feature image. I've built the following gallery: <?php global $post; $args = array( 'posts_per_page' => -...
0
votes
0answers
19 views

Upload automatically html files

I have about 1400 html files and I want to upload them in a wordpress site where I am administrator. I want to publish them as blog posts. How can I achieve that automatically? Thank you.
0
votes
0answers
17 views

CSS not working on number input nested in a table - Custom Plugin

I am having trouble getting my css to work for a number input which is nested inside a table on my custom plugin template page. I've used wp_enqueue_style() to load my css file and it has worked well ...
0
votes
0answers
17 views

Collapsible menu on post sidebar only expands and does not collapse

I'm working to improve an existing wordpress theme that was built for my organization. I've run into a problem that I'm not familiar with: the archive menu displayed on each post will only expand, but ...
0
votes
0answers
18 views

Modifying the post pagination next to redirect to another webpage

Heeey everyone I am using a break page on my posts, so that my long posts can be cutted into 3 different sections, each one will be shown after a click on the next button what I want to acheive is ...
0
votes
0answers
20 views

Random newlines inserted when pasting a chunk of HTML code

I have been coding in HTML for years, but I am a bit of a Wordpress virgin. After failing to find an answer to my problem I submit it below. In order to extend a Wordpress page quickly I pasted raw ...
0
votes
0answers
26 views

Using an iframe for a form help

I need to add an html form to my homepage so I have added an iframe using raw html. Everything works correctly on the desktop but when I try to use it on mobile it gets messed up. Instead of our ...
0
votes
0answers
24 views

Allow access to .html extension files in non-word press pages on same domain

My website directory structure looks like: public_html/ public_html/WordPress/ public_html/personal/ "personal" contains various .html (non-Word Press) web pages. I am able to access php ...
0
votes
0answers
16 views

re-shuffle/re-order image after x number or minutes or after refresh

Quite desperate with this one as i don't know how can i accomplish this idea. I'm creating my home page using using my theme (in wordpress) but somehome it lacks functions and i don't see any plugin ...
0
votes
0answers
21 views

PHP Category Filter

I am very very (very) new to all of this and have a project in seminar I'm doing. Now, the task is to add lines of code to .php file to create one more filter field to this site - https://www....
0
votes
0answers
22 views

Valid Wordpress html elements

I'm working a plug-in on the admin side of it. I would like to show a html listbox element on the form. But no matter what I try, it will only show 1 entry. It is scroll-able, which I want when it ...