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

learn more… | top users | synonyms

10
votes
1answer
764 views

How do I make an HTML table from a database table?

is there a built-in wordpress function to make the HTML or should I use plain-old PHP?
0
votes
1answer
315 views

is ther a plugin that will hide/show content for a scheduled period of time? [closed]

We would like to post some html during a specific time on a given day of the week. For instance: Imagine a website for a TV station that wants to show what is on the air right now. I am looking for a ...
-4
votes
2answers
829 views

can't make jQuery work (change image on time interval) [closed]

I don't get it why jQuery function is not working. I read on the interned how to load jQuery in wordpress, but with no success. Can anyone help me? What I did so far: I've put this in header.php ...
-2
votes
1answer
190 views

How can I stop WordPress from catching URL's for static pages that I save on my server

I posted a question about whether it's possible to add a Page in WordPress without headers and footers. Here's that question: Add a Page without header and menus? So how can I create a static page ...
0
votes
1answer
730 views

Unfiltered html in widget title not working

function update( $new_instance, $old_instance ) { if( current_user_can( 'unfiltered_html' ) ) { $new_instance['title'] = strip_tags( $new_instance['title'], ...
1
vote
4answers
2k views

HTML / Javascript in custom field textarea?

Is there a filter for allowing HTML / Javascript into a custom field textarea? I'm using get_post_meta. On the frontpage I want the HTML / Javascript to run, not to be displayed.
0
votes
1answer
1k views

Lightbox type effect to support a HTML/jQuery image map

I haven't used WP extensively before but I'm more experienced in HTML/jQuery and I'm helping a friend with their existing WP blog. I have designed an interactive map menu using the technique ...
0
votes
1answer
560 views

Programming Wordpress to send a custom-built form to specified email address

I have built a custom html/javascript form that I would like to incorporate into my blog. I would like the submit button of the form to send the information to a specific email address. Is there a way ...
2
votes
2answers
126 views

How do I remove generated HTML around images in posts?

When I insert images into a blog post, wp is automatically inserted markup around the img element: specifically a div and a p (for the caption).....where is that markup being generated in wp ...
3
votes
4answers
126 views

How do I make my wordpress page more friendly for mobile viewers?

My basic question is How do I make my wordpress page more friendly for mobile viewers? I have seen some answers such as wptouch, wordpress mobile pack, and mobilepress http ...
1
vote
2answers
3k views

How do I make wordpress comment fields required?

Here is my form: <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform" class="validate"> <?php if($user_ID) : ?> <?php ...
0
votes
1answer
108 views

Language selection for blog doesn't exist?

I've been installing and developing on Wordpress for a while with a focus on sites in Hebrew. Recently I moved a site from a multi-site installation I have for development to it's own hosting and ...
0
votes
1answer
202 views

Apply a Meta tag to one page only

I'm working on a IP Locator Service, and I want to display a Customized Google Map which shows the visitor's location. It works fine here, but I don't know how to incorporate it into my Blog. I've ...
1
vote
1answer
734 views

Change Default Image HTML

I am making a Wordpress theme and want to change the default image html. For example if you upload an image using Wordpress uploader it generates the following html for your images <a ...
1
vote
1answer
2k views

How to prevent pages from automatically adding line breaks?

I'm trying to style a form on a website, but I'm hitting a snag. Wordpress is automatically generating <br> tags when I directly edit the HTML for pages. What I've got is this: ...
0
votes
1answer
333 views

Removing Line Break Tags from a Page

I am running the latest version of Wordpress on the Genesis Framework with the AgentPress theme. There is an annoying four line gap between the page title and the Wordpress Post Tab widget that I ...
-1
votes
1answer
85 views

theme or plugin or server is outputting html before the init hook fires, how is it possible to prevent this

I have a plugin that detects the useragent of a request made during the init hook and if it matches my desired value, I set a flag so that my own xml content is sent during the found_posts filter ...
2
votes
1answer
604 views

Wordpress Wysiwyg Content not being displayed

My Wordpress website really isn't working to how I want?! It was working fine, with nothing being touched, Then lately I find every-page is displaying the same content on each page. Not the ...
-1
votes
1answer
88 views

Have an html site but want to add an existing WordPress site to the back end.

I have an html site and an existing WP site with lot's of content. What I would like to do is tie the two together with the blog on back end. So in essence I would have the .html and then on the menu ...
0
votes
1answer
1k views

Save Option on Database

Sorry for the question but can you help me? I have this form in a widget: <form> <fieldset> <legend>Counter Position:</legend> </br> <p> Right ...
2
votes
2answers
1k views

Add .html extension to only one page in my Wordpress site

We had an old site that had html pages in it. One of the pages in that site was linked to from many other sites. Now we moved to a WordPress site, and we created a page with that name, but of course ...
0
votes
1answer
691 views

Allowing users to add HTML to BP Groups Description how can I error check html of users? [closed]

I am trying to modify the Group Description field on Buddypress Groups so that they can take HTML but Buddypress has filters to prevent this. I used this; remove_filter( 'bp_get_group_description', ...
-1
votes
2answers
84 views

HTML in PHP problem [closed]

I have the following code but I always get an error, it's the first time I've tried to merge HTML with PHP: <?php if(get_field('post_image')) { echo '<img src="'. get_field('post_image') ...
0
votes
2answers
149 views

Is it possible to isolate and use Wordpress functions outside of wordpress

I'm seeing a lot of jobs on elance and vWorker for converting html to wordpress? what's the general process for doiing this? hunting and pecking through the codex? what happens when you get to some ...
0
votes
1answer
909 views

Wordpress automatically adding <!— --> html tag around PHP code

I was managing a site, taking over from a previous administrator. With his last breath, he changed something on the site, precisely on the login section: http://www.spiritualresponse.com/login/ I ...
0
votes
2answers
496 views

Editor html formatting is different from view source

Here's what I see when I click on the HTML tab in the editor... <div style="margin: 10px 0;"><a href="test.jpg" rel="nofollow" target="_blank"> <img style="float: left; margin: 10px; ...
2
votes
2answers
985 views

Why is WordPress changing my HTML code

I've been playing around with CSS and HTML code and I finally got to the point where the section I was working on works. I saved my CSS, and updated my post, and everything looked great, but when I ...
0
votes
1answer
1k views

How to use JQuery Marquee in Wordpress?

I'm using <marquee> in my homepage , I want to use jquery marquee instead , I've added script in my header , in usage it says i have to use "$('marquee').marquee(optionalClass);" , how and ...
0
votes
2answers
598 views

How to include this jQuery File in wordpress?

Ok I have this jQuery that I have tested in a static html page and it works fine. How would I include jQuery to work on wordpress in a plugin? So this is the html page. <head> <title> ...
0
votes
1answer
140 views

Custom forms with HTML

Will there be any issues with creating a custom form in the index page? Will I be able to get and post requests? It's a simple email validation form and once validated, the user will be able to ...
0
votes
1answer
273 views

html to wordpress plugin [closed]

I'm looking for a plugin, or other stuff to convert (import) my html/css/javascript into wordpress quickly. I've made some research about this but I've found a lot of solutions(tools,plugins) and I'm ...
0
votes
1answer
160 views

Insert data through a script directly in the db

is it possible to insert data through a script or HTML site into the wpdb and this will show up as normal article in the, the same as when I use the 'create new post' page? Which tables are affected ...
4
votes
3answers
449 views

WordPress function that makes HTML safe to be sent via AJAX request

What is correct way to send HTML back to an AJAX request in WordPress? I currently have this: add_action( 'wp_ajax_nopriv_get-location-info', 'sc_locations_get_location_info' ); add_action( ...
0
votes
2answers
2k views

How to allow YouTube object embed in Wordpress 3+?

I admin a Wordpress blog with a few dozens of users. Since we upgraded to version 3.1+ my users can't insert the YouTube embed tags into a post ( wordpress or TinyMCE removes them ). When I'm ...
0
votes
1answer
235 views

Is there a syntax highlighting plugin for HTML View? [duplicate]

Possible Duplicate: Syntax highlighting for post/page editor I've googled this already to no avail, all I'm finding are syntax highlighting plugins to post actual code to the front-end of ...
0
votes
1answer
203 views

Missing sidebar parameter “fix” - before_content

as you know the sidebar parameters from register_sidebar() that control the widget layout are - before_widget - after_widget - before_title - after_title the problem is that you cannot implement ...
0
votes
1answer
184 views

allow html characters on eshop data entry boxes

I'm trying to make a change on the core eshop plugins, since on their forum they don't support core changes I'm posting my question in here. Maybe is kind of simple however I cannot find the ...
0
votes
1answer
156 views

Wordpress custom post type and taxonomy

So I have a custom post type called Video and a taxonomy called category that I use to group videos togheter, so I want to list them like this: Taxonomy NAME 1 VIDEO 1 VODEO 2 Taxonomy NAME 2 Video ...
0
votes
2answers
80 views

HTML tables in content areas

Is there a plugin that would allow me to create and edit tables within the content block in posts and pages? I suppose a bit like the 'insert table' command in MS Word.
0
votes
1answer
533 views

how to insert a HTML form into a javascript popup?

I'm working on a plugin that generates a list of candidates as output. For each candidate there is a link (View Details) that once is clicked, a popup appears. I need to put a simple contact form into ...
0
votes
2answers
7k views

how to hide submenus for the not active pages

I would like to expand only the active part of the sidebar menu and hide the parts which have nothing to do with the actual selection. Just like how its done on every Explorer like file manager, or ...
0
votes
1answer
112 views

Locally change the font family [closed]

I'm using the standard Wordpress theme (WordPress Default 1.6 by Michael Heilemann). The standard font for my articles is a sans-serif font. I'd like to display, for a sentence only, a serif font ...
1
vote
1answer
69 views

Protect HTML in Comment

In wordpress comments system, it work HTML. I want to protect inserting HTML in wordpress comment system.
0
votes
1answer
3k views

How to display recent posts on home page with custom HTML

I am looking to display x (undecided) number of recent posts (no more than 10) on my home page. For each post, I would like to display the title and a snippet of the content. I can whip up a SQL query ...
0
votes
1answer
479 views

Better way to display multiple plugin output on the same page?

Using two plugins on one page; promoslider & events list. Tried to produce desired output. +-----------------+ | slider output | +-----------------+ Text related to events list ...
6
votes
2answers
642 views

Style reply form different than comment form

Is there a way to display (css and html) in a different way the "reply" form and the main "comment" form?
0
votes
2answers
256 views

How to make modifications only to certain elements of an HTML string on the server-side?

Is there a similar way to select / perform DOM manipulation on the server-side (PHP) like the way jQuery works? For example, if I wanted to modify content of each <pre ...
0
votes
1answer
614 views

How can I wrap html around the output of the_time function?

My current code in functions.php: echo '<div class="post_date">'.the_time('d', '<div class="month">', '</div>').the_time('F', '<div class="day">', ...
0
votes
3answers
994 views

How to get the second slug of a page url?

I have posts with a custom field called year. The year ranges from 1900 to 2011. I want to create an individual page for each year which will displays the posts with that year. So I will be creating a ...
-1
votes
1answer
170 views

Implement “No related posts for this entry” into the loop?

For my related posts I have set up a scrollable container. I need the HTML to be outside of the loop or otherwise the layout will be a mess if there are no related posts to display (missing divs that ...