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

learn more… | top users | synonyms

1
vote
0answers
13 views

Can I strip HTML tags in the “Compare Revisions” screen?

I am building a CMS for content editors that have zero tech savvy. They currently use a system called NewsCred that allows them to compare revisions much like how WordPress does when you visit ...
1
vote
0answers
17 views

Adding target and _blank as it's value to the allowedtags

I know that WordPress uses KSES to parse HTML and strip invalid XHTML so I took control of $allowedtags in my themes functions.php file inside a function then added 'target' keyed to an array which ...
1
vote
0answers
25 views

Dot is not added at the end of href

My Key is $P$BeVBjO.GF/Ngju8PCjKJgjV68buIgo. so you can see a dot at the end of my key Input: esc_url( add_query_arg( array( 'loginName' => $requestedUserLogin, 'key' => **$key** ), ...
1
vote
0answers
17 views

A form that can save/edit after first input

I need a form on my WordPress website that users can input information into through dropdown fields.But i just dont want the information to go away after sending.I need them to still be able to come ...
1
vote
0answers
38 views

Position banner to right of logo in header - messed up my header file

Hi I made a mistake by editing my header.php file before backing it up and now having trouble getting it right. There's just a <div> tag missing or something but I am spinning my wheels so maybe ...
1
vote
0answers
23 views

Cannot add a class to h2 tag

I'm creating a page on my Wordpress website with a series of headings and images on alternating sides of the page for each heading so I need to add clear: left and clear:right to the h2 tags on the ...
1
vote
0answers
31 views

Is Hfeed class for all pages needed

Hey there :) I'm trying to fully understand the Hfeed class used in underscores.me themes. I'm developing a site on most of the underscores structure, but I can't figure out if I can remove the hfeed ...
1
vote
0answers
156 views

Theme option not saved if in wp_editor() and html decoded

i'm trying to add wp_editor() to my theme-option page but it is not saved when html is decoded. so this is the issue: in the theme option page i successfully added a new option called ...
1
vote
0answers
222 views

How to separate HTML and Wordpress files

I want to separate the HTML and PHP code so that the HTML guys can easily work on their files without disturbing the PHP code, but couldn't find any proper solution or Start point to begin. Please ...
1
vote
0answers
176 views

Add .htm extention to a custom taxonomy

I need to add '.htm' to all my urls on a new site - client requires that, as I am converting a old static site into WP. (I use Remove Taxonomy Base Slug to hide the slug of my custom taxonomy "topic" ...
1
vote
0answers
71 views

How to remove default style of header in wordpress metabox

I have the problem which when I create a header in my wordpress plugin metabox, it always apply the default style on my header: even when I apply, my own style, <h3 style="background-color: ...
1
vote
0answers
158 views

Login to wordpress by clicking a link and specifying usernaname and password in url

I'm running a php application on an ubuntu server that's completely independent of my wordpress site. I'm using an iFrame of the server inside the wordpress site, but I need to login to Wordpress with ...
1
vote
0answers
248 views

How can I remove <br /> line breaks from manually formatted HTML?

I see a lot of posts here and elsewhere having trouble adding line breaks for some reason, but I'm trying to remove them. I'm new to WP, and I see that when editing in "HTML" mode the text is rendered ...
0
votes
0answers
6 views

Highlighting HTML code entered in the text editor

I have a need to have both "rendered" html in a post and "raw" or highlighted html in a Wordpress 4.5.2 post or page. I have solved the former by simply editing in the text editor, placing my code in ...
0
votes
0answers
7 views

Why are the author and the date not displayed next to the avatar in comment section?

I got the following code: jsfiddle.net/xg0waxL7 In this fiddle it looks good but the problem is that wordpress displays just the bottom comment like I want it: prnt.sc/b7yaq6
0
votes
0answers
34 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
16 views

input type text with metakey

How do you create a custom field box with metakey associated on it? I have this metakey "word_srch" then I wanted to create an input type text that and whatever type in the input put, it will ...
0
votes
0answers
23 views

How can i implement “select from existing tags” for front end posting?

Hy,on the bottom of Tags: I want to add something to be able to select from existing tags. Something like on backend "Select from the most used tags" Here it's html and php code : case ...
0
votes
0answers
10 views

Displaying html table on post content

I generated some content via golang. Than I added to wordpress wp_posts table. The generated content contains html table element. But I can not display properly on frontend area. there is problem at ...
0
votes
0answers
16 views

integrating html section into page with javascript autoloader

I can't seem to load the html section in the correct styling even though the css is correct and the js is loaded which is confirmed by javascript autoloader plugin. the html is here.... <!-- ...
0
votes
0answers
25 views

How can I turn subheading into short description?

Using Magazine lite theme and have commented out the display of the date and comments under each post. However I was wondering if there was a way I can replace those with short descriptions under each ...
0
votes
0answers
27 views

Add tags to kses_post array parameter

I think I butchered the title but (code below) I am trying to wrap some tags around whatever is written in the $message array, is there a way to do that? Also, is there an easy way to change the ...
0
votes
0answers
34 views

How to unwrap/separate Html tags in pages?

I have around 300 pages with some of them having wrong HTML formatting that I have to fix. I want to: Separate the H1 tag from the inner tags. Moving the TITLE (found in span) to H1. Get rid of the ...
0
votes
0answers
23 views

Plain text (HTML) in wordpress admin

I am developing my custom theme and I noticed that some of the links result in showing me plain text HTML instead of normal webpage. I tracked down the issue and found out that this happens when I ...
0
votes
0answers
31 views

Dropdown menu on custom theme not working

I am trying to create a dropdown menu for a theme I am developing but the sub menu items are showing up in the alongside the parent menu items. I have it saved as a submenu item here is what it ...
0
votes
0answers
200 views

How can I use ajax in WordPress to refresh the page without reloading the Page?

How can I use Ajax in WordPress to refresh my div content after certain intervals without actually reloading the page. I am struggling with the code. My Ajax code. <html> ...
0
votes
0answers
21 views

How would I create custom pages???

I'm a beginner at wordpress themes... and I used http://www.themplio.com/themes/creative-studios/preview to turn it into a wordpress theme for my selfstudy... the picture above is the result after ...
0
votes
0answers
15 views

Redirect Page Directly to Category without showing empty page?

(showing navigation menu on top) to open up a blog within my site without the user even knowing he went to a page.Normally I would just create a page with a link in it, but I think an entire page is a ...
0
votes
0answers
12 views

Trouble figuring out slider for post containers

There is a section on the site I'm working on that loads 4 containers that are links to posts. I need to add functionality that allows you to scroll through more containers in the section by clicking ...
0
votes
0answers
19 views

How to make an item appear in page 2?

I will keep it short. I created this menu under shop page to sort my product by popularity, price..... not the primary navigation, Just something I made through CSS Well since I created it inside the ...
0
votes
0answers
94 views

Remove Special Characters from Wordpress Media File Names in HTML

I've removed all the special characters from media filenames in the database (meta_key - _wp_attached_file - filename), I've renamed the files in the FTP and rebuilt the thumbnails a few times. ...
0
votes
0answers
16 views

display two foreach

how can I display the quantity and name when I check the checkbox and input number on quantity? this the code: input type="checkbox" id="m1" name="prod[]" value="Pork" label for="m1" Pork (100) ...
0
votes
0answers
34 views

What are the WordPress' pre-formatted html components?

There are html components or template parts (I don't know what's the most appropriate term) that WordPress preformatted, like comments, comment-form, pagination, widgets, and navigation. Is there ...
0
votes
0answers
71 views

Buddypress verified user icon

I am trying to make a buddypress website, I wanted to add a "verified" icon after the username. I found a plugin that adds the icon to your profile picture but I was wondering how I can add it ...
0
votes
0answers
24 views

is there any way I can hide auto generated hidden br tags

I am working on form but after submit button there are some auto generated hidden tags that result in lots of space after submit button that looks ugly ,is there any way I can hide this Regards
0
votes
0answers
27 views

custom widget plugin work but will not ouput html code on frontend

this custom widget plugin works but on the frontend if i input html codes in the form it will not show on frontend meaning on the frontend none of the html code will work nor show but the text will ...
0
votes
0answers
28 views

Is there a way to export text from Word to Wordpress with HTML tags but without attributes?

I developed a Wordpress blog which has it’s own CSS styles. For each blog post I import text from Word 2010 to the blog editor, but this imports Word styles and forces me to spend a lot of time on ...
0
votes
0answers
34 views

How to link images to a certain property type

I've build a web page, in which an user certain data; the user can add also images, and once everything is done, he/she clicks submit and a Property post type is added. The problem is that the images ...
0
votes
0answers
121 views

Add HTML wrapper around widget content

I'm using genesis as my framework but i need help to to add some html markup on my register widget. I know by default its add html mark up but I want to add more inside of it how would I do that? ...
0
votes
0answers
88 views

Best practice for writing backend forms to interact with database

I am responsible for a Wordpress site where ingredients, recipes, allergens and similar data is inserted into the database. All the columns in the database are separate from the Wordpress database, ...
0
votes
0answers
38 views

Display: inline-block removed

display: inline-block is removed in my wordpress page once I publish the page, which breaks the styling. It is also removed from the text editor on the admin page. It only happens to me and not any ...
0
votes
0answers
84 views

Call function from WordPress function.php to page-home.php

I'm stuck at this. Please help. Basically, I'm trying to create a hover on image to reveal social icons effect. Clicking the social icon will take you to the relevant page of the social website in a ...
0
votes
0answers
430 views

How to display post content with some html tags?

Trying to output an xml file for single posts. In such file I need to display the content of each post in a way that can be accepted in xml format. After reading on the internet (for five days) I ...
0
votes
0answers
130 views

openbtn.addEventListener is not a function?

Someone has helped me with this script in Codepen where it worked fine, until i tried to implement it into my Wordpress website. The two sets of grey dots are buttons. Each button will open it's own ...
0
votes
0answers
20 views

How to add checkbox in navmenu at frontend?

I have a query and want the solution for that. Can I add some checkbox in nav menu in frontend so can I perfome some ajax filter. Like this if yes then please show me the right way to do this.
0
votes
0answers
62 views

Max Height Scroll Issue

I am pretty new to coding in general and have no extensive knowledge in how to correct the problem I am having, if anyone could help that would be greatly appreciated. I am currently finishing off ...
0
votes
0answers
24 views

HTML tags in comments

I'm using latest Wordpress & Thesis theme. I have a technical blog where i want users to be able to put comments in the code. When i try to add a code to the comment (as a non logged in user) ...
0
votes
0answers
199 views

wp nav menu without label

I have a menu on wordpress using this <?php wp_nav_menu( array( 'sort_column' => 'menu_order','menu_class' => 'navlink', 'container' => false, 'theme_location' => 'header-menu') ); ...
0
votes
0answers
72 views

Category - “No content found”

so here is my problem: get_header(); if (have_posts()) : while (have_posts()) : the_post(); ?> <article class="post"> <h2><a href="<?php ...
0
votes
0answers
115 views

WP Auto-p adding unwanted <br> tag before <address> block

This is not a question on how to disable wpautop or remove its <br> insertion; just its behaviour in this specific circumstance. I have a bit of html that displays a fontawesome list with icons ...