Questions tagged [html]

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

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

Is It Possible to Block Redirect Checker Tools from Knowing Where URLs are Redirected?

I want to block URL Redirect Chain Checker tools such as wheregoes(.)com. Is it possible to do it? For example: wheregoes com/trace/20234194180/ this url can easily tell people where my affiliate link ...
Stephen Hawk's user avatar
0 votes
0 answers
12 views

Update HTML text automatically from file

I run a Wordpress website for a restaurant, where I manually get to update some of the text (the week's menu) which I receive from the chef by mail in a Word file every monday morning. I have been ...
Bob's user avatar
  • 1
0 votes
0 answers
9 views

Not sure why inspecting element on windows is different that what im seeing on mobile?

I just started learning Html/CSS two months ago and im having a really hard time trying to make my projects responsive. When im viewing the project on my mobile phone it looks how i want it to look, ...
Jesse's user avatar
  • 1
-1 votes
0 answers
17 views

Rest API working in Postman but not on React Native android

My WordPress REST API returns HTML, that has been working perfectly fine on Postman but in React Native mobile app, PHP variables are empty (the variable that contains value from Database), even ...
Syed Muhammad Usman's user avatar
0 votes
0 answers
14 views

Identify and style the paragraph beginning w/o a class: based on a combination of common characters (CSS, JS)

There are html-constructions: <p>— Some random text.</p>. Without class. According to the specified attribute "dash, space, some random text.", I need to catch this condition and ...
milcheloveck's user avatar
0 votes
0 answers
6 views

separating column the variations from the add to cart button woocommerce

I'm using the "Worldmart" theme and I'm trying to separate the variations of the "Add to Cart" button. I'd like to have the variations displayed in column 1 and the "Add to ...
Eduardo's user avatar
0 votes
1 answer
33 views

Giving each loop post unique numbers so that Wordpress would treat separately

So I got this code right now. The problem I get is that it executes only for the first video. I know I need to give each loop post a unique number in order for WordPress to treat them separately. Same ...
RaymondM's user avatar
0 votes
1 answer
17 views

How can we upload custom page files?

By making our own .html, .css and .js pages, how can we upload them in WordPress directory correctly? And then, how can we insert, for example, our Elementor's header (which is being used in all ...
Maria's user avatar
  • 3
0 votes
1 answer
46 views

Favicon not showing in Google search results

My website's favicon is not showing up in Google's search results. I have tried several things without success, but I think I understand what goes wrong now. On the Wordpress dashboard, I clicked into ...
Juan's user avatar
  • 1
0 votes
1 answer
24 views

How to show correct td of table tags in wp_query loop

I Have this loop: <?php $post_ids_fetched = array(347, 258); $editor = new WP_Query( array( 'posts_per_page'=>4, 'post_type'=> 'earth', 'post__in' =&...
och's user avatar
  • 25
0 votes
0 answers
18 views

HTML content to align vertical and convbert to PDF

I am requireing PHP library of HTML to PDF, which supports external JS/CSS. What I excatly needed is HTML to PDF content with vertical align with auto page break. In Vertical align should support ...
Yagnesh's user avatar
0 votes
0 answers
19 views

Strange issue where <p> tags are not visible in the HTML (trying to problem solve this)

Odd situation here...if I look at a Blog Post I see that there are no paragraph tags in the code (when looked at from the View Source Code) in the browser. However, when I go to the post as an admin, ...
Henry's user avatar
  • 983
0 votes
0 answers
41 views

hamburger menu is not showing in mobile view

I run a website using WordPress. The hello elementor theme was utilised. My header desktop view header menu is displaying appropriately, which is my concern.but the hamburger menu in mobile view does ...
Thoubik's user avatar
0 votes
0 answers
22 views

How to remove h3 tag from the reply-title

I would like to remove the h3 tag on "reply-title" I tried the following code : ob_start(); } add_action( 'comment_form_before', 'my_comment_form_before' ); function ...
Olivier Pallme's user avatar
0 votes
1 answer
19 views

Extra HTML code added to my <table> (on Chrome DevTools) but not on source code

As I'm working on a <table> displayed on a page (still in Draft) on WordPress, something weird happened : While I've written this very simple code on my editor : <table> <tr scope=&...
PhpDoe's user avatar
  • 180
0 votes
1 answer
19 views

Elementor Contact Form Submit button has empty class

I have a contact form here: https://www.vztplzen.cz/kontaktni-formular/ It is built using Elementor’s Contact Form widget. The submit button has empty class: <button type="submit" name=&...
Petr Břeň's user avatar
0 votes
1 answer
291 views

How to modify default <meta> tags in wp_head()

I am looking to do some on-page SEO, wherein I want to limit the length of Title, Description, and more in my HTML meta tags. Is there anyway I can access metatags already present in wp_head, and ...
Amit Bajar's user avatar
0 votes
2 answers
351 views

Virus injected to my wordpress site

Recently my wordpress site has been injected with some sort of virus, and all the other non-wordpress sites too have been affected. Mainly in every folder either a .php, .txt and .htaccess is created ...
Nikhil k's user avatar
0 votes
0 answers
29 views

meta refresh html tag accessibility error

I'm running accessibility tests on my site with mauve wcag2.1 AAA and am getting this error: SC 3.2.5 - Tech H76 [WCAG 2.1 (AAA)]Using meta refresh to create an instant client-side redirect reference ...
LesCa's user avatar
  • 21
0 votes
0 answers
21 views

How to create different templates for woocommerce single-product.php?

I am learning Wordpress development. I have 3 products that I want to add to my woocommerce store. By default woocommerce store comes with a basic template for all products. But I want to make every ...
Frankie's user avatar
  • 11
0 votes
0 answers
256 views

IOS Ventura Safari 16.3 position fixed elements goes above scroll bar

IOS Ventura Safari 16.3 whenever I create a position fixed element with 100% width, It goes above or bellow the scroll bar as well. this is easy to recreate. .anyelement { position: fixed; height:...
Tharaka Nuwan's user avatar
0 votes
1 answer
23 views

How can we get Buddypress to interpret HTML entities correctly?

Buddypress messages - specifically the preview page - does not interpret HTML entities correctly. Instead, they display as literal strings. Does anybody know how to get Buddypress to recognize and ...
uranoz's user avatar
  • 1
0 votes
1 answer
17 views

Posts Page in WordPress loading bare HTML of my homepage

On my WordPress site, I have an HTML page template serving as the home page and the posts page is a generic WP posts page. However, whichever page I set as the Posts Page in the Reading section of WP ...
Harsha Baskaran's user avatar
0 votes
0 answers
31 views

How do I load a HTML page as WordPress Homepage without adding it in the 'Pages' section

So I understand that it is possible to load a HTML page on WordPress by adding a folder with the HTML, CSS and js in the root directory. However, the HTML page only loads on domain.com/foldername, if ...
Harsha Baskaran's user avatar
0 votes
0 answers
22 views

Minify HTML on specific page

im trying to (at first) use PHPWEE's HtmlMin.php minifier to minify the html of a specific page and output it to browser. bellows my code; function minify_html_output(){ // Get page html $page = ...
user21300793's user avatar
0 votes
0 answers
7 views

Grid problem on privew mode

I have a grid in edit mode(picture 1), but when I click on preview it looks like a list (picture 2). Where is the problem?
Miroslav Dukadinovic's user avatar
0 votes
1 answer
166 views

Saving meta box data from selected option's value in database is not working

I have added a organizer input filed using "select and option" tag, screenshot - https://prnt.sc/DtiJr5W178_g Here is my full code - // Callback function for Metabox <?php function ...
Moon Akondo's user avatar
0 votes
0 answers
345 views

Word press - JSPDF - Sending PDF as attachment from wp_mail - Special characters

This is my very first post. Thanks to all your answers on other posts. Am using JSPDF to send an attachment through AJAX call to PHP server- A mail is sent from here with the generated PDF as ...
Sam's user avatar
  • 1
0 votes
0 answers
20 views

I have custom html mixed with inline javascript that I want added to my WordPress site, how do I achieve this?

I have the following HTML/JS code: <div style="position:relative; transition: all 0.3s cubic-bezier(0.65,0.05,0.36,1); height: 0px;"> <iframe width="100%" ...
David's user avatar
  • 1
0 votes
1 answer
32 views

Editing size of h3 tag in wordpress on a one-off basis

I have a post on my WordPress site (I'm admin) that has H1, H2, and H3 tags. I want my H3 tags for this post to more resemble my h4 tags in size. However, I don't want to break the hierarchy and just ...
Melanie Palen's user avatar
0 votes
2 answers
224 views

Font Awesome Icons as squares [closed]

I have been trying to migrate my html css and javascript static website to a wordpress dynamic theme. Everything worked fine and looks perfect but for some reason my font awesome icons appear as ...
Anas Dah's user avatar
0 votes
2 answers
27 views

How to link and display an "example.php"?

I have created an example.php: <?php get_header(); get_template_part('template-parts/banner','title'); ?> <div class="container"> <p>HERE GOES THE TEXT</p>...
Hubert Kubasiewicz's user avatar
0 votes
0 answers
63 views

Use Base-URL with Query-Loop

I've set the Base-URL for my WordPress page with <base href="https://www.example.com/" /> function custom_header_metadata() { ?> <base href="<?php echo ...
Marzii's user avatar
  • 1
0 votes
1 answer
24 views

Modal pop-up HTML code works on other sites or HTML viewers but not in the custom HTML block within a wordpress page?

I'm not the best at coding, but I've managed to create this html code of a modal pop-up which includes CSS, Javascript, and html... it works in an html viewer or anywhere else except the wordpress ...
spencerm269's user avatar
0 votes
0 answers
22 views

Sending GravityForms to custom HTML

I am in need of some way to get a standard WordPress page/form to send some data to a custom page that has been created from raw html/JavaScript. The custom page works great within WordPress right now ...
Jeremy Long's user avatar
1 vote
1 answer
17 views

Limit total tags in the_content

I am using the_content to display content in a custom theme, but I am running into an issue. Right now, I have some JS code that removes the <br> tags and replaces them with </p><p> ...
Josh Rodgers's user avatar
  • 1,143
0 votes
1 answer
60 views

Why do I get a 404 error on my custom post type archive pagination?

When I try to set up pagination on my custom post type archive page I get a 404 if I click on the next page. The first page works fine. Any idea what I'm doing wrong? <?php get_header(); ?> &...
Lisa's user avatar
  • 3
0 votes
2 answers
171 views

change div text and link for logged in users

this question was already similar asked but I don't find a way to get it working without using a plugin. So basically I got a text on my homepage which says login, so it's a normal text which i want ...
Alex K's user avatar
  • 1
0 votes
0 answers
302 views

Gutenberg block HTML image rendering override

Hello fellow developers, I am currently working on a side project using WP as my headless CMS which I consume via the REST API. When I retrieve the post's rendered content (post.content.rendered) my ...
Riccardo's user avatar
0 votes
0 answers
11 views

Limit entry to a WordPress page

How can I make a page so that only some body that bout a certain product can enter the page in WordPress ? I tried to find a plugin but I couldn't find one
Yitchak B's user avatar
0 votes
0 answers
18 views

How to create A - Z List with pictures?

I need to create an A to Z list with pictures of the players profile pictures I know there is A to Z plugins, I did do some research and the A to Z list, created links. I need something like this I ...
CandyShop's user avatar
1 vote
0 answers
14 views

How to create a "Most Popular" & "Latest" TAB in Wordpress

On my gaming website, I upload videos to the website, which is on the homepage of the website. The problem is, that I need to add a "Most Popular" tab & "Latest Videos" tab, ...
CandyShop's user avatar
0 votes
0 answers
155 views

Slick slider not working on wordpress

I added all slick files and enequed them in my fuctions.php- console is clean there are no error messages for that now. I initialized slick in my custom js file and called the class slider from my ...
Dora's user avatar
  • 3
0 votes
0 answers
26 views

Wordpress site suddenly not showing some DOM elements but mobile is fine

So today I discovered that my website's homepage https://olgupsikoloji.com is missing body elements. It is a WP site running on AWS Ubuntu and LiteSpeed with LSCache and Memcached. The issue is: Some ...
Iman B. Rad's user avatar
-1 votes
1 answer
125 views

Option value not getting updated until page refresh in WordPress

I am building my WordPress plugin. There, at first I am using a checkbox, and then updating the value from the checkbox (yes or no) in the Database. Then, from later on I am fetching the value form ...
Rajin Sharwar's user avatar
0 votes
0 answers
19 views

How to create a container in php then customise it in CSS

I am a newbie so I think i have worded this right. I am using wordpress and have an if clause to echo something about returns policy for certain items. function christmas_returns() { global $...
Otis Gazzard's user avatar
0 votes
1 answer
63 views

Wordpress adds 'noindex' tag to search results. Anything I can do about it?

Google Search Console has just reported me that my page is not being indexed, because noindex tag has been found. Upon closer investigation I found it in the search results page: <title>Search ...
trejder's user avatar
  • 322
0 votes
0 answers
24 views

How to play a video after the end of another one via link?

I wish someone could help me complete this code in "What you want to do after the event", it's pretty basic but I don't understand much, I wanted it to go to a link, and I need another ...
Miguel Andrade's user avatar
1 vote
0 answers
26 views

Sorting Problem

I tried to change the Functions.php to this code add_filter( 'terms_clauses', 'wpse247680_terms_clauses', 10, 3 ); function wpse247680_terms_clauses( $pieces, $taxonomies, $args ) { // ...
Miguel Andrade's user avatar
0 votes
1 answer
37 views

How do I cycle a JS function in Wordpress? [closed]

I have a title on my website and I want to change a word in the title every 2 seconds. I did this by putting an html element in Elementor with the following code: <script src="http://code....
eligolf's user avatar
  • 123

1
2 3 4 5
25