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

learn more… | top users | synonyms

0
votes
2answers
259 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
160 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
1k 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
53 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
65 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
29 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
41 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
144 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
576 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
46 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
104 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
1answer
840 views

Script help for a Preloader (hide page until all elements load)

I tried Ultimate Preloader (Wordpress plugin) and it flashes parts of the page before hiding with an overlay div. I think this is because the PHP is rendering the page before the plugin's javascript ...
0
votes
0answers
153 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
123 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
170 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
662 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
29 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
497 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
204 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
275 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
497 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
76 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
290 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
18 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
38 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
215 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
57 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
331 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' ...
0
votes
2answers
135 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
0answers
18 views

Custom Div (googlemap) in wordpress page

I'm using a theme called Energy that I purchased on themeforest last week. I have created a nice homepage using the wordpress backend thanks to the nice features and methods that came with the theme. ...
0
votes
1answer
193 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
68 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
0answers
79 views

featured post show in category base

i have 2 featured post in 1 div id, 1 big class and 1 small class . i want big featured div are post in category base.. big featured post code show in below. <div class="main_feat"> ...
0
votes
1answer
404 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
258 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
77 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
97 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 ...
0
votes
1answer
1k views

How To: Simple domPDF Example

Not quite sure if anyone here has used dompdf, but I'm in need of assistance. There's a plugin (post-pdf-export) that exports posts to PDF using dompdf. All I need to do is generate some html ...
0
votes
2answers
552 views

Multiple pages on one with different HTML

I am a bit confused on how this may be achieved. I have a website that I have coded already with static HTML/CSS and I am trying to incorporate it into wordpress. The challenge though is that the ...
0
votes
1answer
105 views

Replacing WordPress Icons (menu,icons32, etc)?

I want to replace wordpress admin sprites. I recreated the images and looked answrs for icon replacement using jquery and simply with CSS BUT what about ones link icons32-2x.png where I can't find the ...
0
votes
0answers
36 views

Using arrays in $_REQUEST

I am setting up a form that will be populated with arrays of information, e.g. <input name="model[]"><input name="make[]"> and those two inputs would be repeated n times. I would expect ...
0
votes
5answers
501 views

How to trigger $_GET request within admin plugin page?

I have this form in my plugin function: <form method="get" action="" enctype="multipart/form-data"> <p class="submit"> <input type="hidden" name="do_it_hidden" value="run"> ...
-1
votes
1answer
77 views

Rollover button doesn't appear in sidebar [closed]

For some reason, I can't add a PayPal donate button to the sidebar of my website. I've been using CSS to create a rollover effect, and while it's worked on a static page of my site: ...
0
votes
1answer
45 views

Is there a common structure for a wordpress formular?

I am working on a plugin for wordpress and was wondering if there is any common standard for the html and css structure and naming which I should use if I create a html form? so is there a definition ...
0
votes
1answer
188 views

How can I insert a dynamic URL in my email template?

I'm not sure if that's even possible, but I thought I should give it a try. I'm using WP Better Emails plugin in order to create HTML emails for my buddypress website. I want to add to the footer an ...
0
votes
1answer
102 views

WordpressUser Submission Form

I have a User Post Submission form, and it has three issues, as well as one potential issue. Here is the code that processes the form. <?php if(isset($_POST['user_submission_form'])) { ...
0
votes
1answer
149 views

how i can hide some category from author admin panel?

i want author can not see some category from author admin panel but administrator can see that.how i can hide some category?my site http://techjagot.com .. here show some function.php code <?php ...
0
votes
1answer
317 views

How can I set full width page layout in a default post page?

I want to set up my site so that when I go to any post then it should show full width page. This theme already has a full width page but I wanted it to show in the default width page. How can I ...
0
votes
0answers
197 views

how i can change wordpress post views?

i use a post view counter code in my website. here show like( 2 views ). i want it show like( 2 বার দেখা হয়েছে ) like bangla language . how i cant do it. i use this code . function.php function ...