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

learn more… | top users | synonyms

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
1answer
47 views

Missing HTML comment tags

I've this WP installation that I'm currently modifying. And the craziest thing is that the HTML comments are not displayed anywhere in the source. That is if you right click on the page and "View ...
0
votes
1answer
47 views

Wordpress is not displaying CSS file

I have a crazy problem happening and it is blowing my mind. I installed Wordpress on my Localhost and began developing. I modified the standard twenty twelve theme and add custom HTML and CSS to the ...
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
14 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
176 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
155 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
1answer
63 views

Best Way to Add UnEditable HTML to Posts

I find myself more and more needing to use tables or divs inside my wordpress posts content. The problem I find with this is that one wrong backspace or newline, copy / paste has the possibility to ...
0
votes
1answer
158 views

How can I insert a disclaimer in a Wordpress site?

I am trying to look for a way to enable me to insert a disclaimer into the footer of my website. I am using wordpress to power my website. Is there anyway I can make a page link at the bottom? <a ...
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
35 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
1answer
107 views

Send message to author without showing email address [duplicate]

I'm trying to find a way to send via a simple form a message to an author (from frontend, everyone can message) without having the author email address visible in html. Do you know if there is a ...
0
votes
0answers
49 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
1answer
56 views

How to get all the terms of a post

Here is my code so far: $terms = wp_get_post_terms($event->ID, 'speakers', array("fields" => "all")); print_r($terms); It displays this: Array ( [0] => stdClass Object ( ...
1
vote
1answer
166 views

Stray closing paragraph tag when using shortcodes

I'm using a basic shortcode to wrap some text in an expandable div. What appears to be happening is that the wpautop is inserting a stray closing paragraph tag at the beginning and a stray opening ...
0
votes
2answers
406 views

Two posts in same div - WP loop

I would need the following in Wordpress: <div class="posts-wrapped"> <div id="post-1" class="post"> <h1>Title 1</h1> </div> <div id="post-2" ...
0
votes
0answers
223 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
1answer
2k views

How to Include HTML in Excerpts?

I use the Leaf theme and I can't seem to format the home page excerpts. I tried plugins and fiddling around with the theme-functions.php file but to no avail. I don't need a lot of fancy stuff in ...
0
votes
0answers
66 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
1answer
73 views

my single.php is mixup on some post for no reason

some of my post is shown well(like http://exam.downloadkaran.com/?p=453) but another post is not shown well(like http://exam.downloadkaran.com/?p=258)!!! i don't know exactly what should i have to ...
0
votes
1answer
31 views

How do I apply my CSS to a theme page?

I installed the Mog theme for WordPress and I would like to position some of my pictures on a page using HTML divs and CSS. My question is, do I have to create a child theme of the Mog theme in order ...
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 ...
-1
votes
1answer
178 views

Need to call this php function inside a modal window from text widget

Need to call this php function inside a modal window from sidebar text widget <?php echo get_post_meta( $post->ID, 'link', true ); ?>
0
votes
3answers
849 views

Wordpress Ajax always returns a 404 error

I just got this code from a tutorial. I can't seem to get it to work. HTML (home.php) <form name="myform" id="myform" action="" method="POST"> <!-- The Name form field --> ...
0
votes
1answer
52 views

insert an html tag using php plugin

I wanted to create a new <div> on top of the <div id="wpwrap"> in adminheader.php and a closing tag below the </body> on adminfooter.php should i just go create a new div ...
0
votes
1answer
149 views

Change class names dynamically added to html elements by wordpress

I'm new to wordpress theming and I am working on a theme that uses the newest Twitter Bootstrap. Here is my question: WordPress adds class names to html elements based on whats going on ie: <ul ...
0
votes
0answers
180 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
2answers
158 views

Wordpress stripping out BR tags, need assistance

Im having a problem where WP for some odd reason is stripping out my BR tags. Ive looked online and have read a few solutions that people offered including the installation of TinyMCE advanced plugin ...
0
votes
2answers
189 views

creating a static HTML/JS/PHP page

i need to create a static page that allows me to code HTML/JS/PHP that connects to a separate MYSQL backend. how can i achieve such in wordpress page?
1
vote
1answer
1k views

Removing unneccessary p-tags (Not every p)

I removed wpautop from my theme: function disable_linebreaks($content) { remove_filter ('the_content','wpautop'); return $content; } add_filter('the_content','disable_linebreaks',1); ...
0
votes
1answer
30 views

Incorporate single WordPress page into an existing static website [duplicate]

I have a static website and I recently created one single WordPress page, or template, that I am trying to incorporate into my existing static site. I am having trouble. My single WordPress page looks ...
2
votes
4answers
848 views

Hide a div that is part of all pages on one specific page

How can I hide a div (which contains an image) for a specific WordPress page? I believe my page id is 46: Here is the div I am trying to change: <div id="static-footer-image" ...
-1
votes
2answers
387 views

Submit button returns to index page instead of sending data

Here is the link for the website - http://zigzagadvertising.com.ph/aleemguiapal/97-2/ I have a problem regarding my forms in wordpress. Whenever i click on the submit button it returns to the index ...
1
vote
2answers
391 views

Edit custom HTML page from WP admin dashboard

I needed to make custom HTML page in root which will not use default wordpress theme and show content and I linked it on menu as custom links. So in front end everything perfect. But this page is not ...
0
votes
2answers
728 views

Random white space before doctype

I'm working on a very very simple theme, it's only a one page site. I'm off for holiday tomorrow morning and I've been asked to set this site live last night. Well, everything was going great until I ...
0
votes
2answers
110 views

WYSIWYG with HTML source?

I'm trying to switch from Drupal to WordPress, and I have lots of articles written in Drupal's WYSIWYG Editors, and stored like <p>Hi, this is an article</p><p><img ...
0
votes
1answer
390 views

Add number in increment of one to DIV ID

I'm using a shortcode to display a custom post type. The shortcode contains an attribute to display only posts of a specific category within the custom post type e.g. [faq category="travel"] For each ...
0
votes
1answer
20 views

What exactly is the description field when uploading an image?

This is a really basic question and I am slightly embarrassed I do not know, but what exact purpose does the description field serve, when uploading an image with Wordpress? Typically when uploading ...
0
votes
1answer
42 views

How can I exclude code from picture attachment pages?

I have been searching for the answer on this, and still haven't found something that works. Could someone kindly let me know how to exclude the following code from all the picture attachment pages of ...
0
votes
0answers
47 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
247 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 ...
0
votes
1answer
74 views

Garbled HTML pulled for page description “caption id=attachment…”

Whenever someone links to my wordpress blog, whether it's on Facebook, ScoopIt, or whatever, instead of a description, it automatically pulls information from the image: How do I get this to stop ...
1
vote
1answer
509 views

Conditional statement for parent, child and grandchild pages

I'm trying to figure out how to set up a conditional statement to check if the parent, child or grandchild is being displayed. This is what I've got so far: <?php if ( is_page( 'about' ) || '29' ...
1
vote
2answers
189 views

Ajax Dynamic Archives not showing correct results

Im baffled on why this is not showing the correct results, when selecting the month alone and say 100 posts are on the site, only 3 show up, then if you select the category and month the proper show ...
0
votes
1answer
234 views

How can I exclude a dynamic URL to show a popup created using 'Wordpress Popup' plugin

That might be a long shot, but I though I should give it a chance. I am using WordPress Popup in order to show a popup when a user lands on specific pages on the website. You create a popup and you ...
0
votes
0answers
73 views

How to delete in the pages the pre tag added automatically by Wordpress

i have been looking around but there is not a specific answer to my issue. I have set up a slideshow by Wordpress, then i paste the short code in the page where i want to display. The slideshow is ...
0
votes
1answer
518 views

Automatically Marquee Code scrolling with recent post title?

I want Automatically Marquee Code scrolling with recent post title in Header. any one can tell me. my marquee code <div id="breakingNews1"><img ...
0
votes
1answer
307 views

How to style this wp_list_pages markup

I'm wanting to custom style the output of this wp_list_pages $children echo, here is the code: <?php if($post->post_parent) $children = ...
0
votes
1answer
95 views

<ul> inside <ol> in editor

I want to add <ol> <li>First list</li> <li>Second List <ul> <li>Sub Second List</li> </ul> </li> ...
0
votes
1answer
133 views

WBR tag breaking hyperlinks

I was investigating the cause of hyperlinks breaking on a friend's website. She copies over her content from email and pastes it in the Wordpress editor. In a few articles, the content between the a ...