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

learn more… | top users | synonyms

0
votes
1answer
19 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?
-2
votes
0answers
9 views

Taking HTML and changeing it to CSS for plugin [on hold]

I am wondering how would I write this code in CSS instead of HTML. I am using WordPress and this plugin I want to change the wording that shows up in the table (unlimited, 365 etc) so I asked the ...
-1
votes
0answers
9 views

Is this website feature avaliable in wordpress? [on hold]

I'm helping a family member design and construct a new website using WordPress. However I'm completely new to this and the person I'm helping has expressed a desire for their site to be similar to ...
0
votes
0answers
9 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
votes
0answers
19 views

How to create a new wordpress plugin [closed]

I want to create a WordPress plugin to save the enquiries from a contact form to a url format. Also I need to send this url to another website.
1
vote
1answer
33 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
25 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
32 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
20 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
35 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
20 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
23 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
25 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
26 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
54 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
36 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
55 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
28 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
31 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
54 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
38 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
221 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
185 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
20 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
157 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
89 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
35 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
91 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
330 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
40 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
13 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
63 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
47 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
19 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
32 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
75 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
44 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
31 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
34 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( ...
0
votes
1answer
22 views

Most valid way for the URL html structure

I'm building my own theme, and trying to create links to articles this way: <a href="URL"><img src="THUMB" /><div>TIME_STAMP</div><h3>THE_TITLE</h3></a> ...
0
votes
1answer
79 views

Blank <title> on static home page?

The <title> of each page on my site shows correctly with the following code: <title><?php wp_title(''); ?></title> But on my home page, which is set to a static page called ...
1
vote
1answer
240 views

Blank space at beginning of <title> tag?

The HTML output of all my WordPress pages has a blank space at the beginning of my <title> tag. You can see the effect here. My header template contains this: <title><?php ...
0
votes
2answers
73 views

Add HTML to single post <head> tag

If I have developed a separate HTML page that I wish to include inside my Wordpress site what is the best way of including it? In this case it requires a javascript library or stylesheet that is not ...
0
votes
1answer
36 views

Main menu effect visited

I want to create an effect that when the user clicks on a menu item hover effect my stay. This is my link: http://avocat.dac-proiect.ro/wp This is the CSS code for the full menu. .menu-item a ...
0
votes
1answer
48 views

WordPress HTML Helper

I've played recently with WordPress Hooks and I've noticed that in order to create layouts based on the hooks the main practice is to use html in functions and combine them with logic. I've searched ...
0
votes
1answer
39 views

Strange iframes added in wordpress 4.1 localhost

I have a strange iframes added in my code, that you can see in the images below. I disabled all the plugins but this iframes still appeared. I tried to track where this code is in the project, but no ...
1
vote
1answer
47 views

How to add a post or page tag to the list of classes appearing in the body tag's class attribute?

Good day, Perhaps you are willing to help out a php-beginner. I'm trying to add a post or page tag to the list of classes appearing in the body tag's class attribute. These classes are printed onto ...