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

learn more… | top users | synonyms

-3
votes
1answer
19 views

dropdown does not work [on hold]

I have the page http://www.supersprox.eu/invoicewithtabs/. When I click "Show filter" button an area with several dropdowns appear. The problem is I can not select values of the first row of ...
2
votes
2answers
209 views

How do we remove mystical [X] from text? Image included

Wordpress has placed an uncalled for character on one of our page's text. We have a few hundred pages, and this only occurs on one. In the paragraph's text, between the words 'Music' and 'Students', ...
0
votes
0answers
10 views

Replace a plugin's HTML output in function.php [on hold]

I'm trying to make a custom HTML layout from a plugin's output. It's Post Views Count plugin. the resulted output is pretty simple, HTML looks like this: Screenshot: I want to change that ...
0
votes
0answers
5 views

How to create a Hyper Jump in a Single post from one title to another [on hold]

My problem is that I want to create an hyper Jump in my WordPress website; i.e. In the Beginning of the article there are 5 categories : Category A Category B Category C Category 5 Uncategorized ...
0
votes
1answer
6 views

Floats not working in custom plugin [on hold]

I have a list of posts that are being displayed floated. To the left. The page can be found here.http://mielleorganics.com/testimonials/page/2/ I've run into this issue a couple of times where the ...
0
votes
0answers
17 views

Custom CSS Class Not Being Applied [migrated]

I have some custom CSS being applied to a list of posts. The site is here If you are to check the css classes of the posts, you'll see that the last two css classes are .floats and .colThree. ...
0
votes
0answers
22 views

Shortcode in HTML not working [closed]

I'm having a lot of trouble with something that seems simple. I'm trying to get a form to appear inside a lightbox (using the Easy Fancybox plugin – feel free to recommend an alternative since it ...
0
votes
2answers
20 views

Syntax error when I try to insert my loop into an unordered list? [closed]

I am very new in PHP and WordPress development and I have the following problem trying to insert some HTML code into the posts loop. I tried something like it: <?php if (have_posts()) : ...
1
vote
1answer
17 views

Editor stripping out data attribute when saving

I am on the Text version of the page editor on the backend and whenever I try to use something like <div data-100="1500"></div> and click the update button the data section is stripped out ...
1
vote
1answer
24 views

HTML generated by WP

For example, when using wp_nav_menu function, WP automatically generates menus with the following structure of elements and classes <ul> <li class="menu-item current-item"><a ...
-1
votes
0answers
16 views

Fill Input Fields with URL Contents

I have a web page that has a set of input fields, created with the Form Maker plugin. I would like to be able to auto-fill one of the fields based on the url value that's entered, similar to this. ...
0
votes
0answers
9 views

Change HTML Output of Wordpress RTE

after I selected some text and clicked the "list"-Button in the RTE, wordpress wraps it with <ul></ul> and <li>'s of course. Now I need to add a class to the UL. How to do that? ...
1
vote
1answer
34 views

I wrote my plugin. How to display the result of the plugin's function to sidebar (widget?)?

I wrote my plugin. How to display the result of the plugin's function to sidebar (widget?)? <? function register_form () { global $post; $test = "testesttest"; var_dump("testtest"); ...
0
votes
0answers
39 views

Strip <p> and <br> tags from a specific div

I don't know if its WordPress or TinyMCE but something always puts a crap load of paragraph and break tags everywhere which is incredibly annoying. I have a div with an ID of "hover" and I want to ...
0
votes
1answer
28 views

prevent HTML output if custom field is empty [closed]

I am using the ACF plugin for custom fields. I am using this to add a second content area to my website. I have a peice of JS that says if this div is present then add a class to the page-content ...
0
votes
0answers
30 views

Current state to a button when on a single page

I am having trouble figuring out how to keep the current state active once on a single page of the post. For example: Recipes displays a list of all my post that are under a specific category. Once ...
0
votes
1answer
36 views

Automatically create a loop for post ID

I am having trouble generating a loop for my post. The JS calls the slide_ID which then needs to display each slide-ID in numeric order for it to work. Example for slide-1 to scroll to its next slide ...
0
votes
0answers
14 views

Wordpress/Server outputting strange result

I've got a custom wordpress site that locally is working fine. However on the staging server, on random occasions it outputs just the html, partially incomplete. The output always seems to be missing ...
3
votes
1answer
101 views

How to get the custom header image's alt text?

I'm using a custom header in my theme. My aim is to add an alt attribute to my custom header img element. My img element so far looks like this: <img src="<?php header_image(); ?>" ...
0
votes
1answer
33 views

WP_Query create html structure

I have a page here to illustrate my question http://www.ttmt.org.uk. The first grid is hard coded using the html structure I want - div's to contain each row and then div's inside that to contain ...
0
votes
0answers
50 views

Adding Radio Options or Select Options to Meta Box Title

I am adding Radio Options and Select Options to miscellaneous Meta Box titles. The HTML is rendering just fine in the title of each appropriate Meta Box title. There seems to be a bit of ...
0
votes
0answers
13 views

Add hyperlinks in media description

I want to add hyperlinks in the description box of a media file in the library but it won't display hyperlinks for some reason. It displays text but as soon as i put a href it hides it. i'm using ...
0
votes
2answers
53 views

Why isn't WordPress respecting my HTML?

I have a page in WordPress which includes the following valid HTML5: <div id="bookLesson"> <a href="lessons.php"><h1>Book your first lesson today</h1></a> ...
1
vote
1answer
123 views

Multiple options not staying selected after saving

Problems: The save works, but is only storing one of the options in the database after save. Options not showing as selected after save. The select fields: <select ...
0
votes
1answer
80 views

html mail sended with wp_mail shows plain

I have a invoice.html that i want to send i use the following function to replace some things in the html foreach($variables as $key => $value){ $template = str_replace('{{ '.$key.' }}', ...
0
votes
1answer
103 views

Adding div after every two post on main loop! Why will first post not get counted?

So I am trying to add a div after every two posts in home.php and I almost followed the answer found here but changed it a bit to function with the rest of the theme. Now the problem is that in the ...
0
votes
2answers
30 views

How to edit a HTML list in WordPress?

I'm new to WordPress and what I want to do is to edit the HTML of a specific page in WordPress. For example, a page in my website shows in the source code (in Chrome) a list, that I can see in the ...
0
votes
0answers
27 views

<a>tag in register_sidebar

I use this sidebar widget between thumbnail posts. When I insert <a href="example"><img src="example2"></a> tag in widget, its size and position show post`s size and position ...
0
votes
1answer
41 views

Possible jquery / library conflict in plugin usage

I am using the free version of the plugin: WP Feedback & Survey Manager but for some reasons the tab style is not rendered, and I guess it's for a javascript/jquery problem, eventhough I don't ...
0
votes
1answer
52 views

echo variable containing html and the_permalink();

I'am trying to echo a vriable, but the permalink does not work as clickable button. The permalink just displayed outside the button. Here is my code: $perma = the_permalink(); $valid = '<button ...
0
votes
0answers
68 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
70 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
40 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: ...
0
votes
4answers
81 views

Finding and disabling 'rogue' stylesheet from header: Source Sans Pro

I just recently set up a local WordPress development environment and imported the content from the live site into it using WordPress' built-in export and import functionality. Unfortunately, this ...
0
votes
0answers
37 views

Custom class on Media image inserted in the editor

I would like to have different classes added regarding the options selected during the media insertion. When inserting a media, there are 3 options (media file, attachement page and custom URL) ...
-2
votes
1answer
36 views

HTML to WORDPRESS [closed]

I am very very new at this but would like to expand my creativity. I would like to design/build my own wordpress. Because this is a huge task I have read that first designing the page with just html ...
0
votes
0answers
43 views

How to Display HTML Site Images in Directory Above WordPress Installation

I have WP in a subdirectory of its own. I have two .htaccess files. The first is in the domain root: RewriteEngine on RewriteCond %{HTTP_HOST} ^automaticallynow\.com$ [OR] RewriteCond %{HTTP_HOST} ...
0
votes
0answers
122 views

using hyperlink in wordpress plugin

Im developing wordpress plugin . I added a plugin to the admin menu . After clicking on the plugin is displayed user login. (I used parameter-magic func from the wrapper function ...
0
votes
2answers
100 views

Using php inside javascript [closed]

I have got the following code in a javascript(jquery) file called custom.js: var gapinvite = new Date(); gapinvite = new Date(2014, 06 - 1, 2); $('.days').countdown({ until: ...
0
votes
1answer
320 views

Show contact 7 form in popup

I am creating map link on a image and it has two links to open video and contact form. I am making popup with lightbox but its not working. here is my code.. HTML <div class="map"> <img ...
0
votes
1answer
137 views

Loading custom jQuery and HTML in a WordPress page

I have a simple application I have worked on and would like to load it into my WordPress theme. This app has a /js folder with myscript.js, a /css folder with mystyle.css and an HTML file index.html. ...
0
votes
1answer
278 views

Custom title widget / HTML encoding

I'm not the first person who has battled the matter of WordPress stripping HTML from widget titles. There are a number of custom widgets out there that allow you to add e.g. links to titles, but I ...
1
vote
4answers
107 views

Localizing a string with html tag with word inside that tag

I have translated many string successfully previously, but this one gives me a headache. This part is used inside my content-related.php file which I use to display related posts Here is the current ...
0
votes
2answers
30 views

Can I add a widget to the <head> of my site?

I need to add a small bit of JavaScript to the <head> section of my site (on every page). I thought Widgets would cover this but I am only able to add widgets to the sidebar and nowhere else. ...
0
votes
0answers
6 views

Comment box html [duplicate]

I want to allow users to be able to use the codes <ol>, <ul> & <li> in the comment section, but my google-foo is weak (100% chance I'm using the wrong keywords), mind helping me ...
0
votes
0answers
22 views

How can I make this WordPress site actually record the edits I make in the HTML editor?

For a WordPress site I'm editing, the HTML editor will not transfer any of the updates I save in the HTML code to the actual website. All of the pages are left completely blank when I check them ...
0
votes
1answer
57 views

Thumbnail + Excerpt = loss in word count

My excerpts are shown using this function <?php function get_the_content_limit_custom_allowedtags() { // Add custom tags to this string return ...
0
votes
1answer
147 views

Excerpt keep stripping <a> tags

I have the following function to display my excerpt <?php function pietergoosen_custom_wp_trim_excerpt($text) { global $post; $raw_excerpt = $text; if ( '' == $text ) { $text = ...
0
votes
1answer
83 views

Wordpress - Image href for home menu nav not working

I have an image linked to a li element from a navbar in wordpress. All is working fine but when i hover mouse on image, it also shows a menu element hover in the list. How can i hide that when it is ...
1
vote
1answer
21 views

Embed tag length issues

I have a pdf in my media library that I am trying to embed on a page. The width works fine but the length does not. I am trying to basically represent 8.5 x 11 on the screen. As it is only about 3-4 ...