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

learn more… | top users | synonyms

2
votes
0answers
240 views

Removing the title attribute from links in the post content

When using the WYSIWYG editor to create links, and selecting an existing page or post from the selection list, those links will have a title attribute by default. Is there a simple way of turning off ...
1
vote
0answers
69 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
39 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
64 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
200 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
8 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? ...
0
votes
0answers
35 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
0answers
29 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
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 ...
0
votes
0answers
48 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
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
0answers
65 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 ...
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) ...
0
votes
0answers
41 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
121 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
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
0answers
19 views

Modify images when inserted in to WYSWYG Editor

When an image get added it currently adds <a href="www.domain.com/image.jpg"><img src="www.domain.com/image.jpg" /></a> I am aware that user can directly add the link. However the ...
0
votes
0answers
42 views

wp_kses enable HTML comment code.filter

Is there a way to enable the category description to allow HTML comment EX: <!-- example of the HTML comment --> How it looks in the category description. <!-- This story is about the ...
0
votes
0answers
152 views

Add the “.current-menu-item” class to <a> tag?

I am changing wp_nav_menu() to make it a listless navigation menu (i.e., no unordered list or list item tags) Normally the menu <li> has the .current-menu-item class attached to it when active. ...
0
votes
0answers
80 views

Grabbing image attachments for Flexslider

I'm trying create a function that will load image attachments of a post into a list for FlexSlider to use. To specify, I want an image slider that is specific to a certain post. There may be many ...
0
votes
0answers
82 views

PHP random number in email

I have a Wordpress website where i am making a form so that when a user fills out that form he gets a confirmation email and receives a random order number. I have this PHP function which creates that ...
0
votes
0answers
98 views

I can't style my customized navigation menu in my wordpress website!

I am having this problem where I created my website first, with a menu in my header.php page. And then I wanted to transform my website into a wordpress website, so I did what I had to do, but the ...
0
votes
0answers
103 views

Why this BootStrap main menu appear twice in my theme?

I am going crazy with the following WordPress custom theme that use BootStrap CSS framework: http://onofri.org/WP_BootStrap/ As you can see I have a problem with the horizontal main menu in my ...
0
votes
0answers
48 views

Why the slideshow is not shown in my theme?

I am pretty new in WordPress theme developing and I have the following problem. I am trying to create a WordPress theme that used BootStrap CSS framework based on this BootStrap demo static website ...
0
votes
0answers
49 views

Passing two values wordpress dropdown category

I have been following this guide on how i can pass two values to filter the post instead of one in wordpress category drop-down. The objective here is once the user selects a location and then selects ...
0
votes
0answers
46 views

Trying to customize wordpress drop down categories

I'm having some problems on how to display the categories that i want in wp_dropdown_categories. Here is an image of the drop down - Here is the code for the dropdown - HTML: <?php ...
0
votes
0answers
187 views

Altering images inserted into Posts for lazyloading with PHP Simple HTML DOM Parser

I want to find a robust solution to make lazyloading possible for images inserted into a post. There are many lazyload solutions out there. I'm not looking to cater any one of them specifically, but ...
0
votes
0answers
15 views

apply_filter('{$field_no_prefix}_save_pre', $value) function clipping HTML

In wp-include/post.php there is a function named sanitize_post_field($field, $value, $post_id, $context). In this, the apply_filter('{$field_no_prefix}_save_pre', $value) function clips the form type ...
0
votes
0answers
76 views

Wordpress putting “rn” in every line break?

I am using a Wordpress plugin called "WP Checkout" and there is a custom post field that allows you to enter additional product information which is tabulated on the product page. I am able to enter ...
0
votes
0answers
33 views

form to generate url

i have a form on my site to generate url and it works good but the user should wait until the whole page is loaded to be able to use it properly , i think that happens because i use window.onload and ...
0
votes
0answers
242 views

Insert & Upload image into data base in wordpress without using media library & plugin?

Here i am trying to insert image into WordPress database with custom code but i am not able to insert and uplode i am very new to wordpress any body have any idea how to do it?Bellow is my code with ...
0
votes
0answers
29 views

wordpress is adding tags and messing with layout

i've searched and not found an answer specific to what i'm doing i'm hand coding a page of thumbnails with simple html and css. i'm writing it in a text editor so it's easier on my eyes and then ...
0
votes
0answers
32 views

Add html plugin into wordpress

I purchased an HTML5 Video & Youtube background plugin, I want to use it with WordPress. http://codecanyon.net/item/html5-video-youtube-background/1555660 Any Suggestions? Maybe create a ...
0
votes
0answers
207 views

Run php function after html click after page refresh

I'm trying to create a table of custom type posts in the admin section, in my plugin's settings page. The part I'm having trouble with is allowing user's to delete a custom post through my table. ...
0
votes
0answers
116 views

How to get list of custom taxonomy terms and display count?

This is actually a three-part question. 1.) How do I get list all terms of my custom taxonomy (in this case, 'audiocat')? 2.) How do I display the count of each term? Example: Rock (5) Pop (3) ...
0
votes
0answers
14 views

Add html gadget

How do I add an html gadget in Wordpress? I have a newsletter gadget that I would like to add. I tried their Arbitrary text or HTML gadget, but that did not help. What is Arbitrary text anyway. ...
0
votes
0answers
31 views

Get all the contents of taxonomy and sort by term

I'm doing this in a page template. So far, I can query all the contents under my taxonomy. But I need to sort them in terms of their term. Any idea on how to do this? Providing an example would be ...
0
votes
0answers
15 views

How do I display the contents of each custom taxonomy term and segregate them?

I currently have a page which display all the terms and their contents. <?php?> $audio = get_posts( array ( 'paged' => get_query_var('paged'), 'post_type' ...
0
votes
0answers
183 views

condition for searching multiple inputs in wordpress

I am trying to create a custom search box and would like to know how to check multiple condition based on different inputs.There are 2 inputs. a normal search code (which searches for inputs which we ...
0
votes
0answers
168 views

Help with implementing qTip2, with html map in wordpress

I am trying to create an HTML map with qTip2 in my WordPress page, but can't get it work- so I'd really appreciate your help. My aim is to have something very similar to this StackOverflow thread. ...
0
votes
0answers
52 views

Gallery requires a featured image but does not show it in posts/pages

I've encountered a weird bug with my theme's gallery. If I add a gallery, and do not specify a featured image, it will not show in the post/page. If I add a featured image, it will show the gallery ...
0
votes
0answers
37 views

Add HTML to a specific navigation menu

add_filter('wp_nav_menu_items', 'add_line', 10, 2); function add_line($items, $args) { if ($args->theme_location == 'primary') { // my code here } return $items; } Instead of the above, ...
0
votes
0answers
52 views

Create HTML newsletter source from Wordpress

Is there a way to export certain posts into an HTML newsletter format that is suitable to email to subscribers? I am thinking of something that allows me to select a certain amount of posts, etc and ...
0
votes
0answers
237 views

Responsive Directory Press Theme Listing shortcode/html customizations

I am currently using the Responsive Directory Theme. Under the Theme Options > Display Setup > Content Layouts > Listing Page Display > Customize it allows me to enter a combination of html and ...
0
votes
0answers
68 views

“Display as dropdown” option in Categories Widget hides the dropdown

I've never used this option, and I was testing it on my theme but when I clicked the "Display as dropdown" checkbox and went to see what the widget looks like - it was hidden. The HTML code looked ...
0
votes
0answers
42 views

Wordpress links/site title won't work

I have one Wordpress installation at www.website.com, and a test site at www.website.com/test. The standard site works fine, but the links on my test site act weird. I use post title as permalink ...
0
votes
0answers
190 views

Download html textarea content as a file

I am working on a project where the requirement is to download a textarea content as a .txt file on a wordpress site. <html> <body> <form action="#" method="post"> <textarea ...
0
votes
0answers
48 views

how to prevent words inside image tags from being update in a sql query via php

I need to update certain words inside wp_posts table (1032 posts in a specific time range) but I would like to exclude some words when they are inside tags like so: <img ...
0
votes
0answers
256 views

Customized theme Custom Header HTML

I have upgraded from 3.5.1 to 3.5.2 and the problem I am facing is with my header that I am using customized theme and Custom Header HTML that when I was using 3.5.1 it was working fine and I could ...