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

learn more… | top users | synonyms

-1
votes
0answers
14 views

Resize an iframe dynamically with Wordpress resources

I have an iframe added by an Adsense custom search engine whose height is hard coded (inline) to 1860px and I can't change this, but the content height changes dynamically. This is how this iframe ...
0
votes
3answers
29 views

Dealing with html forms

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 ...
-2
votes
0answers
21 views

full width row with two column - how to have content center for each ? Visual Composer [closed]

I'm trying to have this specific layout using the Visual Composer ( see image below) the aim is to have a full width row with two columns. Each columns has a background-color different. and the ...
0
votes
1answer
27 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
39 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
24 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
38 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
24 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
46 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
44 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
12 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
50 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
38 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
39 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
37 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
51 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
24 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
30 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 ...
0
votes
0answers
19 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
44 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
60 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
39 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
67 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
53 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
43 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
70 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
56 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
323 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
209 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
25 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
270 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
158 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
45 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
114 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
664 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
41 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
68 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
54 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
34 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
91 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 ...
0
votes
0answers
48 views

WordPress Permalink Problem

I have a blog with 3,000 post permalink using the "% postname%" now I want to change it and make it into html "% postname% .html". Everything works except for the old link on facebook and in the ...
0
votes
1answer
34 views

Add shortcode in my div

I want to add a shortcode in a div created by me in my theme This is the div: <?php if(!is_home()): ?> <div id="cristi"><?php echo get_the_content(1); ?></div> ...
0
votes
1answer
35 views

Function Display article [closed]

I am new in Wordpress ... I developed a theme and I want to display the contents of a specific item ID in a div. For example...I create this div. <div id="myarticle"> //function php WORDPRESS ...
0
votes
0answers
36 views

Inserting jQuery in a WordPress Code Block

I have a theme that already uses jQuery, so I thought I could use some of it by inserting <script type="text/javascript"> jQuery(window).load(function() { jQuery('form').css( ...