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.

0
votes
1answer
12 views

How can I upload and password protect Javadocs in Wordpress?

I'm trying to host our software's Javadocs online behind a paywall. We tried to render the docs in Wordpress, which failed (obviously). My theory is that we could upload a folder directly to our root ...
0
votes
0answers
5 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
1answer
16 views

Show subcategory name selected in specific category woocoommerce

Hi basically I have categori ID number (134) that has 2 child of that (red and blue). I selected the blue one. I want to display only the selected one (blue). But at the moment the show all ...
-1
votes
0answers
36 views

How to stop Wordpress adding HTML tags to content within API responses?

I want to request Posts and Pages from the WordPress API and render them in my own front-end server. However when I receive responses the content is always populated with HTML tags. I know there are ...
2
votes
3answers
14k views

ajax live search for post title

i m creating a AJAX live search to filter posts title in my wordpress theme. As i write something in input it show all the post in result, Not filtering it to get custom post.. How to search live ...
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
1answer
722 views

Menu Custom Data Attributes

I'm trying to add a custom data attribute to the <a> element. What I'm trying to do is integrate the navigation effect in this CodePen I can do all the CSS but I need to add the HTML part such ...
0
votes
1answer
16 views

Changing default img html markup but not in admin back-end?

Based on some posts on Stack and ACF forum I've created code for changing default img html markup for lazyload script lozad.js. It's works great, but works also in admin back-end. I was trying to use ...
0
votes
1answer
46 views

WooCommerce: The model of e-mail is displaying only the html, not css

I'm using the version 3.4.7 of WooCommerce and configuring the e-mails, I stare with a strange thing: the templates didn't appear the css. I experienced this in all of my sites, this is a test site ...
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
1answer
570 views

Adding microdata using Structured Data Markup Helper HTML

I am trying to add schema microdata to a wordpress website. I have tried to insert some microdata directly in the wp editor (text mode) but every time i save the page it does not save the code. I ...
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 ...
3
votes
2answers
12k views

How to Output HTML tags in do_shortcode?

i want to output html tags in do_shortcode(); function <?php echo do_shortcode($content); ?> is it possible? thx!
0
votes
2answers
24 views

Make a full-width wordpress page

Thank you for reading my question. I can't seem to figure out a way to make this page full width (or almost full width). When i am on tablet and mobile phone it does fill the screen almost entirely. ...
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
1answer
595 views

WBR tag breaking hyperlinks

I was investigating the cause of hyperlinks breaking on a friend's website. She copies over her content from email and pastes it in the Wordpress editor. In a few articles, the content between the a ...
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
1answer
27 views

How to center all text body in single.php at once?

I'd like to center all of the text bodies (or content body before "read more") of all posts (in single.php) at once with simple (or advanced) code. How can i do that?
0
votes
1answer
20 views

Remove Line Breaks From Cell Content in WordPress

A line break in a table cell is converted to ⟨br ⁄ ⟩ when it is saved. I must remove all line breaks from the cell content else there is excessive space between paragraphs, list items, etc. It makes a ...
0
votes
1answer
658 views

How to insert html/css/javascript code to wordpress plugin

I'm trying to show a modal dialog when user get registered (action_hook: user_register) using the woocommerce plugin, but without having any result. I would appreciate any help! The code is shown ...
0
votes
2answers
949 views

Inserting code into a page just shows raw HTML

I'm trying to insert a youtube playlist into a page using the following code <iframe width="853" heigh![t="480" src="http://www.youtube.com/embed/videoseries?list=<ID-REMOVED>&amp;hl=...
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
1answer
744 views

How to hide the form after successful php execution

I want to hide the form after someone has entered the input in my plugin form and has hit submit button. However, as I'm using shortcode function in my plugin file I am unable to use simple html to ...
3
votes
1answer
2k views

why does HTML Tag not working in Post and Page

Though this is not a programming related question but I am facing a bitter experience with this WordPress problem. the problem is HTML Tags are not working in my website. See the images
0
votes
1answer
607 views

Add HTML input tag to to site navigation

I'm building a site using the twentytwelve theme. I need to add an input text box situation on the far left of the menu navigation bar. Here is the HTML from Header.php and the css from style.css. ...
0
votes
1answer
2k views

<ul> inside <ol> in editor

I want to add <ol> <li>First list</li> <li>Second List <ul> <li>Sub Second List</li> </ul> </li> <li>...
0
votes
0answers
27 views

How to add IFrame code to a WordPress page? [duplicate]

I'm looking to run a competition on Gleam, and they have given me an IFrame code so that I can mirror that Gleam page on my WordPress site. So the thing is, when I enter the code on my Wordpress page, ...
0
votes
1answer
622 views

Pass the updated value of aid from form using ajax

I am working in wordpress and I want to fetch the updated value of aid field from form each time a submit button is pressed. There are two submit buttons and I want the id as per the clicked row HTML ...
0
votes
3answers
780 views

jQuery function not working in WordPress but works in jsfiddle

EDIT - This is solved thank you for your help after the suggestions below didn't solve the problem I refreshed my browser cashe and now my functions work... However I then realized they only work on ...
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
3answers
645 views

Add topbar to static html page

I have a WordPress blog, but I am also hosting a standalone static HTML page on the same domain/server (LaughingSquid, if it makes a difference). I'm very new to WordPress and PHP, so I am wondering ...
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
1answer
35 views

How to keep HTML form field that is conditional hidden with javasript hidden after page reload?

I have an html form in which I conditionally hide a field with javascript if an option is selected in the dropdown. The javascript condition works fine but when the page is reloaded the condition is ...
0
votes
1answer
31 views

Handling PHP/HTML inside the output of a shortcode function

I'm not sure what I'm doing wrong, but the output of my custom shortcode isn't producing on the front end of the page. I need to load a script from within the output code of a shortcode function. ...
1
vote
2answers
84 views

Wrap gutenberg block ‘div’ in other elements/extra HTML

I’m trying to add HTML wrappers around a block to create a clipping effect, something like the below code. It has been suggested this might be possible with the block save or block edit functions? I ...
1
vote
1answer
7k views

customize comment form

I want to change the titles "Name", "Email", and "Website" in my comment form?. How could I do this? I thought by changing them in this field would work ( 'Website', 'domainreference' ) but it doesn'...
0
votes
1answer
949 views

HTML email sent with wp_mail shows plain text

I have an HTML invoice that I want to send. I use the following function to replace some things in the HTML foreach($variables as $key => $value){ $template = str_replace('{{ '.$key.' }}', $...
0
votes
1answer
50 views

Shortcodes within the sidebar text/html widget: How to preserve the raw HTML output of the shortcode?

WordPress 5.2 destroys structured data by adding rel="noopener noreferrer" to widget output (also to shortcodes): How to display the shortcode output without code change? This feature was added in 5....
1
vote
2answers
44 views

How to change redirection route to a php page for making it only accessible by logged-in members?

Background of my problem: I'd like to mask external download links as internal links and to be only accessible by logged-in wp users at htaccess level or with PHP script but when redirection happens ...
1
vote
1answer
2k views

How to get the value of input hidden html from text editor to custom page template?

I have 10 or more input hidden in 10 or more pages with different values in Wordpress text editor and I want to get the value using $_POST in a custom page template. How to do this? I tried to called ...
1
vote
1answer
1k views

Load a page into a div with Ajax

I'm really a noob when it comes to Wordpress, right now I'm working on a theme that basically is all static, if you want to edit something you'll have to edit the .php file than rather doing it on the ...
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
2answers
18 views

CSS - Initial HTML Margin Issue On WordPress Site

This is a WordPress site and I'm using bootstrap. Site is https://doodle.gatewaywebdesign.com/ Basically I'm just trying to get rid of the initial top margin. So instead of this: It should look ...
0
votes
1answer
19 views

remove string: 'custom content…' from every page

I'm not quite sure how this came about, but every page on my site has the text 'custom content...' appended to the end of the body. The string appears within <p> tags on the frontend. I've ...
0
votes
3answers
267 views

What makes WP so SEO friendly?

I keep hearing that Wordpress is the best SEO solution, better than most static websites because of multiple reasons. I then go on to hear contradicting information elsewhere. So: Is Wordpress ...
0
votes
1answer
15 views

Display child-page links in sidebar on both Parent Pages AND Child Pages

I am currently developing a WordPress website that has a sidebar on most of the pages, this sidebar is supposed to display a small navigation of any child pages that are under the current parent page ...
0
votes
1answer
59 views

Add Codepen animation as Preloader to WordPress

I found a CSS animation snippet on Codepen, and would like to add it in my WordPress site for preloader animation. I have seen similar question being asked on here , but I couldn't resolve this from ...
0
votes
1answer
15 views

How can I make my custom shortcode work in a Custom HTML Widget?

I created a plugin and tried to use its shortcode in a Custom HTML Widget, but for some reason it's outputting [my_shortcode_name] instead of executing the shortcode. The shortcode works fine if I ...
0
votes
1answer
1k views

How to remove coupon dropdown feature

I want to remove the coupon drop down feature and just have the input field and 'add coupon' button on the checkout page. Does anyone know how I can get rid of the dropdown feature? Thank you in ...