Questions tagged [html]

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

0
votes
0answers
24 views

Migrate a normal website to Wordpress

recently I decided that I want to move my website with custom CMS to WordPress. I was wondering if there is an automation tool to help me with that process. I have already made the design and I just ...
0
votes
0answers
4 views

Scroll animation doesnt work [migrated]

i want to use this animation but i couldnt do it.here explains that how to use. <!-- third section - Services --> <div id="services" class="pad-section"> <div class="container"...
-1
votes
0answers
21 views

Using functions.php to hide the `From Our Blog` in WordPress menu page

I'd like to remove the from our blog on the WordPress menu page using php. Is there any way of doing it in functions.php? Tried. add_action( 'wp_dashboard_setup', 'bt_remove_dashboard_widgets' ); /*...
0
votes
1answer
13 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
0answers
11 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
36 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
40 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 ...
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
12 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
17 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
49 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
0answers
27 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
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
0answers
28 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
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
29 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
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
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
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
1answer
32 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. ...
0
votes
1answer
36 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 ...
1
vote
2answers
86 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 ...
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 ...
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
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
61 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
16 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 ...
-1
votes
1answer
27 views

Nav menu custom html:

I've been looking to the answers on this site, but they lack information on what files to edit and/or the path to them, and where or how you activate and can see the changes. For example, this ...
0
votes
1answer
11 views

How do I show the HTML descrption in wordpress photo gallery for my individual gallery pages?

Using the wordpress gallery below, I want to show the html content of an anchor tag so that when I click on a link to get to a specific gallery I will navigate to the anchor tag in the description ...
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
1answer
16 views

HTML tags in bloginfo description

I'm trying to set some <span> tags in the bloginfo description. So I put this in the blog description field: <span class="name">Archive | Navarro Vives</span> <span>is a point ...
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
2answers
20 views

Path for php file for inserting data through html form

I have a HTML form which inserts data into a custom table. The code for inserting the data is in a PHP file . My question is where do I place the PHP file in the WordPress filesystem? I have tried ...
0
votes
2answers
42 views

How can I add a <br> so i can show sale price under normal price

I need to show sale price under normal price, not on the same line
0
votes
1answer
50 views

sessionStorage saves input value in browser but it is not loaded in the form field

I am trying to save the input value of form fields but only one of the fields returns the value on page refresh. I can see the input value of the second field in sessionStorage in chrome but it is not ...
-1
votes
1answer
48 views

ACF repeater image in video poster with jquery

I'm having problems for jquery to send a url from an image to an html tag. I explain; I have an ACF repeater with 5 variables, including an image intended to be a poster of a video and what I'm trying ...
0
votes
1answer
181 views

<!doctype html> : Failed to load resource

I am using the code below: <!doctype html> <html lang="<?php language_attributes(); ?>" dir="ltr"> <head> <meta charset="<?php bloginfo('charset') ?>"> &...
0
votes
0answers
18 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 ...
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, ...
0
votes
1answer
18 views

Images with overlay

I have some images in a container that I would like to add an overlay and an icon. This doesn't work out of the box, but I found some code that helped: HTML: <div class="main"> <span ...
0
votes
1answer
28 views

jQuery for Fade Preload Causes My Site Favicon to Disappear from Tab of Browser

My website's favicon that is seen in tabs of chrome disappears when i use the following jQuery. Removing this script from head makes the icon visible. But why a seemingly simple and unrelated code ...
-1
votes
1answer
19 views

How to Know If I've Correctly Inserted Alt Attributes Into HTML

Apologies in advance - HTML isn't really my language and I'm new to Stack. Hope this is in the right place! I'm working on inserting alt attributes for all the images on this WordPress website, but I'...