Questions tagged [html]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Show 2 li in one loop php

Example First Loop // content goees here // content goees here 2nd Loop // content goees here // content goees here
0
votes
0answers
8 views

Is there a way to use an html/php form to dynamically set the parameters for a woocommerce product?

I am currently doing a website for a courier company that has a very complicated form for processing orders. I was previously using eForms, but it couldn't do what I needed it to do. At the end point ...
0
votes
1answer
11 views

How to Schedule Cronjobs for start of every month and year

I have been trying to run a function at first of every month, and first of every year. And i wanted to run at 12am exact. Below I have shown the function. When is schedule it for daily it works ...
0
votes
1answer
27 views

how to add custom html and css to wordpress

for eg if i want to add this code from this site https://codepen.io/tamak/pen/ApLcq html Tutorial Animated rollOut bounce flash pulse rubberBand swing shake tada wobble bounceIn ...
1
vote
1answer
21 views

Get a blank line after div by simply leaving an empty line in the editor

I'm styling a div object so that its content behaves like a normal text. As first thing I set its line height as the default line-height of a line in a paragraph. I got this by adding the following ...
0
votes
0answers
17 views

How to Add Order Confirmation Popup in WooCommerce Site

I am looking out for some way that helps me create a pop up window that shows up on order confirmation page. I tried some plugins but none of them let me add the person's name who ordered and what ...
0
votes
0answers
12 views

How to update user_meta_data from frontend

I want my user to be able to choose if they are a company or individual I've made a user_meta_field in database and it works fine, but how do i make some sort of option on my page-profile.php template,...
0
votes
1answer
18 views

WP2Static Failed during “Crawling initial file list”

While using WP2Static it gave the error - Failed during "Crawling initial file list" Kindly suggest. Need to convert wordpress into static HTML site
0
votes
1answer
42 views

the_content() printing DOCTYPE, <html> and <body> tags in the middle of page

I'm building a custom Wordpress theme and I've just come across a bizarre issue where the_content() seems to be printing out the page content wrapped in the following: <!DOCTYPE html PUBLIC "-//...
0
votes
1answer
22 views

How to change the settings of a video? [closed]

I'm having real trouble with a video I have placed on my wordpress site. It's a one page site with the divi theme, and I currently don't have any type of video plugin activated. The video is an ...
0
votes
0answers
18 views

how to output HTML tags in post_content and not as plain text

Currently I have a post with <strong> and <em> tags, and <p> tags. But they all seem to be being outputted as plain text, and not formatted HTML I am using laravel blade as my ...
2
votes
3answers
88 views

In which directory do I find a specific HTML code of my wordpress page? Some of it seems to be missing after checking all pages [closed]

So I would like to access this part of the HTML and be able to edit it (see image below) However when I access my ftp server and navigate to the Footer.php section, this part of the HTML is not to be ...
1
vote
1answer
13 views

Hook into and send mail using WP Mail SMTP type plugin from HTML static front page?

I am reusing an HTML Bootstrap page as a static front page on a WordPress site. The front page has a form in it which I want to use as a Contact Me form. I've installed the widely used WP Mail SMTP ...
1
vote
1answer
19 views

Trying to create a mouseover effect in html using Gutenberg editor

I am trying to create a mouseover effect in html on a content block in the Wordpress code editor. I want an icon to change color on mouseover and change back on mouseout so I'm referencing two ...
0
votes
1answer
20 views

Where can I find the inline-css of my theme header?

I struggle to find some specific inline-css of my theme header. I tried to edit the style.css of my child theme, what doesn't work. (in the developer tool from chrome it works!). I installed some ...
0
votes
1answer
19 views

How to display post meta bellow every posts

How to display post meta bellow every posts? I want to add categories underneath my posts. Just like this one Thanks in advance!
0
votes
1answer
16 views

HTML Formatting “single_term_title()”?

I've been messing around with my Woocommerce shop pages and am now just trying to get the category titles to appear at the top of the edited pages again. I've succeeded so far, using the following ...
0
votes
0answers
22 views

how to convert wordpress posts to simple html pages?

The wp2static plugin doesn't work properly. I could always save each post as a html page, but how to search within those pages?. will moving from wordpress to html hurt my SEO?
1
vote
1answer
28 views

Firefox CSS Animations Broke [closed]

After updating to the most recent version of Firefox I am having issues with my CSS Animations. On my website of camerabeanbags.co.uk I have animated buttons where the gradient is animated across the ...
0
votes
1answer
24 views

how to add functions to my function.php using a child theme?

I am trying to add functions to my child theme function.php file but each time i try the site crashes. I dont know how to add the functions the right way. <?php add_action( '...
0
votes
0answers
26 views

The REQUEST_URI is modified randomly — probably an exploit

We recently started to have a problem on the website: sometimes, corrupted HTML would be served from the backend looking like this: <p class="login-submit"> <input type="submit" name="wp-...
0
votes
0answers
11 views

How do I make my embedded Mailchimp text box in white colour?

Hi Wordpress Support, I have embedded a mailchimp sign up form in my homepage but the email text box is transparent very hard to see. How do I change it to white background for the text box? Here ...
0
votes
0answers
30 views

Custom dropdown menu AJAX (using HTML and PHP) not working on Wordpress site

I am trying to make a dropdown menu using AJAX on my wordpress site. When it is not integrated with wordpress files, it works fine, but then does not work once I put the code into my functions.php ...
0
votes
0answers
15 views

.Html 404 redirection error with Nginx

I run into problems with my wordpress installation. I try to redirect some older pages with .html ending to the root, but my nginx keeps to show up an 404 error. I guess I need to configure ...
0
votes
1answer
26 views

Getting click on item to open closest relevant element (popup) with jQuery

Using the Alerts extension for the WP Job Manager plugin. A list of user-created alerts is presented with some info on each alert. I want to show the info in a popup instead of on the list. Created a ...
0
votes
1answer
17 views

How do I make a custom “Read More Blogs” button for my blog page

I'm actually working on my custom wordpress theme. And, when I tried to develop a "Read More Blogs" button, I was unable. Because, all the examples I saw on internet was for pagination. I need a ...
0
votes
0answers
20 views

Mix static and dynamic wordpress sites?

it might seem to easy but is there a good way to mix static generated wordpress pages through wp2static with the dynamic wordpress pages which can not me functionally converted? For example: ...
0
votes
0answers
14 views

How to Protect a private folder inside uploads folder, if User is not Logged In?

I am learning php but i am still quite a noob so please excuse my limitations. I have a html file that is linked to many PDF files inside a folder called "Clients" I have placed this folder inside "...
2
votes
1answer
30 views

Suspicious google tag manager

I'm trying to integrate some analytics into my site and whilst debugging why mine wasn't working, I found this line being put in the head of my document: <script async="" src="https://www....
0
votes
0answers
18 views

wp_editor in Frontend Form Not Working With Autosave JS for Form

I have a Site For Frontend Publishing. As it is obvious i use a form with various fields like tags and categories. I took a autosave code snippet from another answer Stack Exchange. setInterval(...
0
votes
2answers
86 views

Calling a method from functions.php on a click of a button

I have been working on a project where I will have to call a method(that accepts user id as an input) from a click of a submit button(Accept button). I have been trying all the ways but the real ...
0
votes
0answers
89 views

Insert “javascript:void(0);” into URL

I am no beginner Wordpress developer by any means but I am completely stuck with this. I have tried an array of alternatives without any result (href="#", href="#void", etc.). I need "javascript:void(...
0
votes
0answers
46 views

HTML block code breaking

Has anyone found a way around the Gutenberg HTML block changing HTML code when saved? I the following AMP code that I need to insert: <amp-iframe sandbox='allow-scripts allow-same-origin' layout=...
-1
votes
1answer
20 views

How to create a shortcode with HTML code in it and custom parameters/

I want to create a shortcode for putting newsletter opt-in boxes in my posts and pages. But depending on the page or post, I want to have different headline and description for the opt-in box. I ...
0
votes
2answers
20 views

Can't access 3rd party API, code works on local server but not on wordpress

I've been working on a project and I just cant pull the data from this API. I'm developing a plugin that's supposed to pull data from an API and then use that data. I developed this project offline ...
0
votes
0answers
49 views

Get related products based on subcategory from specific category

Hi I want to display related product in single product page, at the moment it show products that categories selected in current product. I just want related product have related based on "subcategory" ...
0
votes
1answer
17 views

HTML not resizing

I am currently working on my business website. I am using ready made HTML code provided from a 3rd party for the front page. The output is small and can not be resized. On the 3rd party sites it ...
0
votes
1answer
15 views

How can publish my bootstrap created table ( huge amount of data) on my word-press theme?

I created a bootstrap table which is interactive with data-tables also.I use jquery too.How can i publish this table on my word-press table (code is working ).Thank you... I just want to publish ...
0
votes
1answer
42 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 ...
0
votes
1answer
16 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
38 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
31 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 ...
1
vote
1answer
87 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
17 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
37 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
2answers
30 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
0answers
146 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
26 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
33 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?