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

learn more… | top users | synonyms

0
votes
0answers
16 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
17 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 ...
2
votes
1answer
34 views

Adding HTML within an image title attribute

I am using some jquery which applies an overlay on an image on hover. The script uses content from the image's title attribute to display over the image. When I tested this locally, it seemed to work, ...
0
votes
1answer
46 views

I cannot make this position properly in Wordpress [closed]

I am trying to write in Wordpress with text and next image and then next paragraph is text and next paragraph is image and in next text. However the second image and text is mixing beside the first ...
-2
votes
0answers
38 views

I have a problem in check box that could not checked in previous value for post editor panel [closed]

how to give checkbox will checked in previous condition? I need a perfect code pls.
0
votes
0answers
11 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
3answers
35 views

Dealing with html forms [closed]

I want to work with html form but i cant understand the Action method and when we need to use it. For example found this code on w3schools: <form action="action_page.php"> First ...
0
votes
1answer
38 views

multiple html/css files for wordpress theme?

Ok so I am teaching myself how to code wordpress themes from scratch. I am using c9.io as an editor. I had a question. I have been looking at different tutorials at the template files they use, and ...
0
votes
0answers
9 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
33 views

Hide the Wordpress CMS and Integration Plugins from Source [duplicate]

I looked alot on the internet and still not figure out the exact manager of thing I want. First of all sorry if i am going wrong on question but here it is: Websites like www.bewakoof.com and ...
0
votes
3answers
65 views

Import HTML code that loads css and javascript into specific page

How can I add the following HTML code into one of my web pages? It's a web form that relies on css and a few java script. Below is the raw HTML code. <head> <link href="css/style.css" ...
0
votes
1answer
36 views

can't update plugins or wordpress or install new plugins [duplicate]

how to update plugins wordpress how to replace my code in new plugins ?? I have some plugins that need to be updated (as well as WordPress) and I have tried the automatic update button and the update ...
0
votes
1answer
52 views

Appearance -> Menu -> Menu Structure : Add plain HTML code as an element

I have the following Header Menu: When you look on my wp-admin panel: You can see that the last <li> element containing the images of the german and english flag was not inserted to the ...
0
votes
0answers
31 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
2answers
55 views

Remove tags from wordpress head

I don't know when or why but this tags are inserted on my wordpress head automatically and they are adding style that disturb my layout: <meta name="generator" content="WordPress 4.2.2"> ...
0
votes
1answer
56 views

how to see P and BR tags in tinymce?

As a developer, I'd really like to have the ability to see every tag written out on the editor in source mode. Is there a way? Some filter, action, or so?
0
votes
0answers
13 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) ...
1
vote
1answer
69 views

Where in PHP do I move title and meta (date) to bottom of each blog section?

I'm working on a Divi site that has two blog grids on the home page. I need to move the title and the date of each blog section to the bottom (below the blog text). <div ...
0
votes
0answers
58 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
42 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
57 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 ...
0
votes
2answers
79 views

A function that will remove HTML <div> and </div> tags from a string?

I need a function that I can use that will remove <div> and </div> tags from a string. I have tried esc_attr(), and even wp_strip_all_tags() --- none of them work. They all leave the ...
0
votes
0answers
27 views

how to add HTML in wordpress pages?

Sorry for this stupid question, but i am struggling hard to get it done. Its not a repetitive question as whatever links are generating while questioning i have checked. non of them giving me ...
0
votes
0answers
37 views

“meta_value_num” not working when value is wrapped in html tags

I should start by saying I have little to no knowledge of PHP, nut I am responsible for managing a wordpress site for a restaurant. I have the menu items listed in order of price using the following ...
1
vote
0answers
23 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 ...
0
votes
1answer
63 views

Inserting code into a page just shows raw HTML

I'm trying to insert a youtube playlist into a page using the following code <iframe width="853" heigh![t="480" ...
-1
votes
1answer
27 views

Help with responsive theme styling issue

I'm using a template that has been working fine but have discovered that once the screen size goes over 1200 pixels the images fall out of their grid arrangement. I can't see where this issue lies in ...
0
votes
0answers
73 views

Add options to Wordpress backend

I hardcoded a page to use for a Wordpress-Site I'm managing but then my boss decided that said page needs to be editable from the backend for our customers. Long story short: How do I add editablity ...
0
votes
1answer
46 views

How to make shortcode which returns HTML?

I need to make a shortcode button to TinyMCE editor which, in the moment i click it fills up the content part with HTML. When i click on button i need something like: <div> ... </div> ...
0
votes
0answers
83 views

Add extra markup to WP menus

Have been asked to redevelop a HTML website in to a WP theme, it has quite an advanced menu structure and i'm not quite sure how I can replicate it. The second menu item has a sub-menu, but it is not ...
0
votes
0answers
67 views

Create dynamic content in Wordpress Shortcode

can i create content (mean html markup with my data) dynamically, and place this in my shortcode? i have Visual builder where i can add some html elements inside my shortcode, shortcode looks like ...
0
votes
1answer
68 views

How to Output HTML tags in do_shortcode?

i want to output html tags in do_shortcode(); function <?php echo do_shortcode($content); ?> is it possible? thx!
0
votes
1answer
94 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
73 views

How can I organize nav menu lists as columns in WordPress?

Here’s what I am having a hell of a time with. I'm working on a dev site (which is WordPress based) that can be seen here. You see the responsive navigation for the ‘Course Schedule’ section is ...
0
votes
1answer
400 views

Removing Unused WP SEO Codes display on html page [duplicate]

I recently noticed something displaying on my html source. Here are they. <!-- This site is optimized with the Yoast WordPress SEO plugin v2.1.1 - https://yoast.com/wordpress/plugins/seo/ --> ...
0
votes
1answer
227 views

How to insert HTML/CSS/JS into my iframe plugin?

I currently have an iframe plugin that displays on a WordPress page by shortcode. Currently I have been displaying websites in my iframes "src" but I recently came across an issue to display my very ...
-1
votes
1answer
30 views

Wordpress crash when insert long html code

i'm going nut.i wrote some code for a wp page, i inserted it into codepen and it works just fine, but the moment i use visual composer "html" snippet, and i copy it inside... wp crash. why? ...
0
votes
1answer
373 views

click event to unhide something after ajax not firing

I am working in wordpress and my ajax function result showed one button whose html is mentioned below. Now I want to run a click event on that button but when I click it nothing happens. Below is the ...
0
votes
2answers
229 views

Finding and removing unnecessary redirects

I have a bunch of redirects to sites like sharethis, media6, and some random character urls. Most of these are leading to a blank pixel or each other. I know a lot has to do with facebook and needed ...
0
votes
0answers
57 views

Get posts of specific post format, extract youtube link and use ID for image thumbnail

I am looking to query four posts of which I'll display the title and the video thumbnail. Something like this maybe? $args = array( 'tax_query' => array( array( 'taxonomy' ...
0
votes
0answers
125 views

Custom post type as HTML/PHP table

I have a custom page which displays some WP members (students) using $wpdb to query the database and display these members in a HTML table. This table gets generated (populated with records) when the ...
0
votes
3answers
1k views

How can I edit HTML page codes in a theme?

I am using a replete theme for a web using a commercial things. Anyway, I am trying to edit(particularly, remove) some HTML tags on main front page but I cannot find out which php file includes the ...
0
votes
0answers
15 views

simple custom lightbox failing

I've built a simple lightbox, easy enough with organic pages, I have the code working on codepen and a local file, however the second I throw it in wordpress it isn't working, maybe you guys can help ...
0
votes
1answer
46 views

How to get html tag ids from template?

I'm new with WP so I need advice. I'm workig on plugin where is required adding some new atrributes to selected div or paragraph. Is there any way how to get html tag (DOM) IDs from current template? ...
0
votes
1answer
15 views

How to avoid repeating similar properties for all tds of a table in a wordpress post

Consider the following table. <table> <tbody> <tr> <td style="text-align: right; direction: ltr;">1</td> <td style="text-align: right; direction: ...
0
votes
0answers
81 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 ...
0
votes
0answers
60 views

Improve my timetable's code

I'm working on a wordpress theme and creating a time table who will be easy to complete by users. In the back-office, there are a checkbox for each days : <input id="checkbox1" ...
0
votes
0answers
20 views

How to do full width on simple blog

I hear that there isn't, technically, anything call "full width". What, then, are the most common ways to do full width, on a simple blog, in this current time period? I'm very new, and do not know ...
0
votes
2answers
39 views

How to prepare the HTML for Wordpress [closed]

Right now I'm finishing a design in Photoshop and I'm about to turn it to HTML. After that I'm want to turn it into a Wordpress theme using Underscores starter theme. How can I prepare the HTML so the ...
1
vote
1answer
117 views

Altering html structure and creating custom menus

I'm fairly new to Wordpress and am trying to do something very specific. I am currently using the awesome html5blank to create my custom theme. I am using the native menus for my nav tabs. I am ...