Questions tagged [html]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
16 views

How to rename woocommerce-billing-fields

I'm interested in how you could rename the "billing & shipping" and "your order" fields marked in the image. Thank you in advance for your help.
-1
votes
1answer
14 views

How to create Custom Theme in Wordpress

I want to create custom theme in word-press from scratch so can you have the idea about custom theme folder structure and development steps so please help me. Thank You in Advance.
3
votes
1answer
3k 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
3answers
1k 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
1answer
700 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
0answers
16 views

Mysterious letters appearing at the top of a few pages

I have just taken over a wordpress site. On most of the pages the letters "de" appear at the very top - totally unrelated to the content of the page. When I look at the source of these different pages ...
0
votes
0answers
14 views

<DIV> being repeated twice - No explanation?

So I have an extremely strange thing happening. I am trying to properly layout my checkout page using Bootstrap's Grid framework. All seems good, except for in the payment method section. When trying ...
0
votes
0answers
33 views

How to change a wordress plugin php code in my child's functions.php file?

I'm trying to edit EmailOctopus plugin, this is part of their "form.php" code: <?php if (!defined('ABSPATH')) { die('No direct access.'); } /** * Filter: emailoctopus_class_names * * Add ...
1
vote
0answers
9 views

How to integrate my HTML and javascript into my child theme

I have a javascript script, html, and css I put together on JSfiddle that I now need to essentially put on a page in wordpress. I'm using a child of the generatePress theme. I'm doing it this way ...
0
votes
0answers
6 views

Modify widget attribute with Javascript

Here´s a tricky one (at least in my eyes ;) ): Is it possible to read data from the user´s current page (like current browser width) using javascript/jQuery and then send it right into a wordpress ...
0
votes
2answers
20 views

Comparison operator != not working in <select> field [closed]

Please i want to ensure only male or female is selected in the dropdown if not fail the form but my validation keeps returning false even if male or female is selected. Html <select name="gender"...
0
votes
1answer
1k 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
1answer
9 views

Current WordPress Page Title as Search Parameter into A Tag <a href=“www.domain.com/s?=currentpagetitle”></a>

i would like to include an affiliate link as a widget which inserts the title of the respective page as search parameter. <a href="www.amazon.com/s?=titleofthepage">Link</a> I have ...
1
vote
1answer
14 views

Can't Listen to KeyDown in TInyMCE Iframe (jQuery) and Pass it to Parent HTML FORM

I am trying to build an HTML form with TinyMCE textarea such that on Clicking Ctrl+S, it submits the form, by clicking the SUBMIT buton of form. I am using jQuery, here is the KeyDown jQuery(...
0
votes
1answer
1k 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 ...
0
votes
1answer
15 views

I'm including a html file in my plugin, but it can't find its css or js files

I'm writing this little plugin and my php file at one point includes a small html file, like this: function draw_editor(){ include HANDLER_INCLUDE_URL.'/draw.html'; } But the problem is, that ...
1
vote
1answer
2k 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
17 views

Paginate links on custom post type using laravel blade

I'm trying to make a news section for my page, and i have no idea how to use paginate_links() to create the prev/next buttons. I tried googling and searching around, but either i didn't understand or ...
0
votes
0answers
27 views

&shy; hyphenation not working in Gutenberg editor

Thanks to the German language, I happen to have some really long words in my WordPress 5.4.1 content. I need to decide where exactly to hyphenate, as the standard hyphenation is dumb. If I enter ...
0
votes
3answers
795 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
26 views

How do I insert a shape onto an image and then play an audio file upon mouse hover or mouse click on that shape in Wordpress

I love the feature MS PowerPoint offers where I can freehand draw a shape onto an image/video, then easily add an Action upon mouse hover or click of said shape. I need the same feature on my ...
0
votes
1answer
20 views

Creating a WordPress Post via REST API - HTML or Markdown?

When creating a post using the WordPress REST API, should the post body content include HTML or should the post body content be written in Markdown language? Or can it be either? I'm looking to ...
0
votes
0answers
17 views

How to find and delete a menu item in php?

I have a menu item that's linked to its children in my html. <div class="collapse navbar- collapse navbar-ex1-collapse"><ul id="menu" class="menu"><li id="menu-item- 3530" class="...
2
votes
4answers
14k views

alt, title tags not showing

I have added alt tags, title and description on all the images on my website but none are showing when I check them in the inspect element tool in chrome or firefox. Here's a screenshot: And here's ...
0
votes
0answers
15 views

What is the best way to add large JSON to cart item / order?

I have a pretty large (up to 3000 key, value pairs) javascript object generated on the product page and I somehow have to add it to the cart item data (or any other way to make it accessible for every ...
0
votes
0answers
29 views

Change rel=“noopener noreferrer” to rel='noopener noreferrer' (single quote)

I am using a carousel plugin to display images, when I click an image it opens a lightbox with the image and the caption (text) underneath it. But when I want to add HTML to the caption it doesn’t ...
0
votes
1answer
21 views

the_content() not showing the content in good order (with a shortcode)

I've added a shortcode [form] inside my wysiwyg the 2 paragraphes before the shortcode. <p>test 1</p> <p>test2</p> [form] but on the frontend, the shortcode is showing at ...
0
votes
0answers
15 views

Suggestions on how to properly code a web form to submit CPTs from the frontend

I am looking for a way to code a secure web form to provide a way for my users to submit custom post types from the frontend on WordPress. Not really interest in using a plugin for this case though. ...
0
votes
0answers
10 views

Is there any easy way to find which piece of PHP generated a piece of HMTL? (Like BrowserLink in ASP.NET)

Developing in Asp.NET on Visual Studio there is a technology called Browser Link which make really easy to find which piece of PHP code is generating a piece of HTML (you can read something about it ...
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 ...
10
votes
6answers
30k views

WordPress Admin Bar Overlapping Twitter Bootstrap Navigation [closed]

I am having an issue with the WordPress admin bar overlapping the Twitter Bootstrap (2.3.0) nav bar. I have tried this fix: body.admin-bar .navbar-fixed-top { top: 28px; } .navbar .brand { ...
0
votes
1answer
2k views

Beautify WordPress HTML output without any plugins

Is there a simple (and without plugin) way to clean up the WordPress output of HTML? With a beautiful indentation of the code? I don't understand why, but my HTML output isn't perfect and it makes me ...
0
votes
0answers
6 views

I would like to add an email confirmation to my user registration page on my website

Here is the code for the registration form. Please show me what to ADD in order for the user to confirm they email before being registered to the website. SitePoint Create An Account ...
0
votes
1answer
33 views

How to remove the specific class

I have removed schema through plugin but few lines of class still appearing on my website header.
0
votes
1answer
11 views

Clickable Text To Replace Radio buttons

Hey guys Im trying to get some assistance brainstorming. I have this Contact form on a site, That has Selectable text in place of something like checkboxes or radio buttons Im using formidable ...
0
votes
0answers
16 views

Having an issue with a php theme and a slider plugin

Good morning, So, I am working on an intranet site, and we've created a couple themes to use. The issue is, when applying a certain theme, the slider that is added via shortcode will not display with ...
0
votes
0answers
11 views

Show click count of a external link

I am a newbie,I would like to have a custom templated pages which has many custom html links.I want to show the click number of those links next to it.After searching a lot I found the solution from ...
1
vote
0answers
13 views

Use DOMDocument with ob_start breaks my HTML code

I'm trying to use a PHP function with DOMDocument for substitute some line in my final HTML code using Wordpress. The function seems to be fine, but it breaks my HTML code in some points. i.e. ...
1
vote
1answer
538 views

How create a Shortcode with hover and complex options

I am wondering how do you do when you have to create a shortcode with multiple hover or complex options ( gradient, boxshadow etc, thing that can't be inline ). How do you generate the css. I don't ...
0
votes
1answer
55 views

Wordpress Recent Post with the badge “New” on the side of the title post

Blog Page: Single Post: I'd like to greet everyone a Happy New Year and Happy Holidays. I have a request on how to put a label "New" beside the title post on my recent post and my single recent post(...
0
votes
0answers
15 views

If user has clicked link add class and store using PHP/Wordpress

I have multiple divs on my website that are clickable. I simply want that when the user clicks this div, a class is then added so they know they have viewed this. For example, we could have a list of ...
0
votes
1answer
22 views

How can I edit the final HTML structure of the whole web page

I am creating an online shop web page and I am using the "Almaira Shop" theme. This theme lets me put a page template that haves a lot of customizable sections that I can edit with the "customize" ...
0
votes
0answers
16 views

make p tag collapsed after 3 rows

I looking for a way to show a read more link underneath my P tag after 3 lines have been displayed so the user can click the read more then it will show the rest of the text (if its paragraphs long) ...
0
votes
0answers
15 views

Wordpress ignoring <br> code in places?

I am using the REST API to update a page using the following html Generic line, we will try and answer it in a series of articles.<br><br> step-by-step approach:<br><br> <...
0
votes
0answers
7 views

How to make popup move when browser is resized?

How can I make a draggable popup with jQuery move with the edge of the browser when it is resized, currently it disappears off the screen.
0
votes
2answers
1k 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
43 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 "...
0
votes
0answers
17 views

Custom Sign up form doesnt work

My custom sign up form works perfectly on wordpress but when I modified it and include to modal it doesnt work. below form works perfecktly: <?php global $wpdb; if ($...
1
vote
1answer
31 views

How to add shortcode to HTML file (not showing on website)

Im trying to add a plugin shortcode into an HTML document so that when you clickthe "Music" icon on the site a popup appears with the plugin widget in it. This is the shortcode in the HTML file (...
1
vote
1answer
553 views

Add a class to the anchor tag on HTML5 gallery

I want to add a class to the anchor tag of the HTML5 gallery, so I can use a lightbox plugin, but I do not know how to do that, i've tried with the code below, but without success. add_filter('...

1
2 3 4 5
21