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

learn more… | top users | synonyms

0
votes
1answer
642 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
355 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
111 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
159 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
2k 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
769 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
112 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 ...
1
vote
5answers
914 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
91 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
231 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
116 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
243 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
532 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
302 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 ...
0
votes
1answer
257 views

Category Descriptions - HTML?

Is it possible to allow HTML to be rendered in Category descriptions? My theme uses them quite a lot, and I'd like to style them better with images and links. This seems to be do-able from what I ...
0
votes
0answers
68 views

Does wordpress add their own classes into nav menus?

I am building a theme and have noticed that when I create a menu with just html or have it dynamically add menu items based on pages it looks how it was meant to be. Although when I change the code to ...
0
votes
1answer
60 views

Imagem resolution responsive

I have a add_image_size to resize an image, but when i have 980px of resolution, the image still the same size. I would like the image be 100% when the resolution is lower than 980px, but I need to ...
0
votes
0answers
87 views

Configuration Options for embedded YouTube Videos

I have some embedded You tube videos on my blog and I have a question about configuration as they are on static pages. Is there code or a WP plugin solution to make an embedded You Tube video to ...
0
votes
0answers
153 views

Cant get theme to change footer color through theme customizer

I am having an issue trying to configure the theme I am working on to allow the footer color to be changed. So far all of my other options work so I am geussing it is an issue with the way I am ...
0
votes
0answers
37 views

Images inserted with HTML

I coded some images each image tag with a new line, so visualy you would have a row of images. When I previewed the page instead of showing me a row of images it showed me a column of images. It seems ...
1
vote
2answers
828 views

Custom image upload

I'm trying to setup upload for for attachments for my custom post form. At first I add to my form tag enctype="multipart/form-data" For testing purposes I have two upload forms, but in future I'm ...
0
votes
1answer
33 views

Outputting the blogposts or the_content()

On the dashboard under add pages, I have 3 section of blockquotes, under text <blockquote id="section1">first</blockquote> <blockquote id="section2">second</blockquote> ...
0
votes
1answer
80 views

Converting Static HTML pages to Wordpress

I have copied the HTML page content to the pages of the WordPress. The words have shown up under Preview but all the CSS and styling are gone. I have also imported the style.css into the Theme ...
0
votes
2answers
203 views

Two columns in homepage each with one category

I modifying a wordpress template to be left with two columns on the main page with the following structure: The first 4 are of a category and the last 4 of another The index code is: ...
0
votes
1answer
169 views

Display wordpress post to static website in the footer

I am a totally fresh with wordpress I have this website : http://www.raminusa.com/ in footer there is a column name "Popular Link" and I want to replace it with Recent News that I will do but below ...
2
votes
3answers
769 views

Preserve white-space in Page

I frequently post pages with code examples. However, Wordpress strips out whitespace, thus ruining the indentation and formatting of my code. So this: <pre> selector { property: ...
5
votes
1answer
247 views

Why doesn't default Wordpress page view use force_balance_tags?

I noticed that the default WP theme uses force_balance_tags for listing posts' excerpts. This way, it doesn't cause major html breakage whenever someone writes a post like <div><b>This is ...
-3
votes
1answer
207 views

html blog template to wordpress template

i bought a new template from themeforest and it has a blog template named as blog (the main blog template), blog2 (alternative main blog template) and post which shows the inside of a post. i just ...
0
votes
1answer
46 views

page wordpress add extra unwanted stuff

i want to add this part to wordpress page but every time i add it wordpress add extra stuff that stop it from working properly this is my code <li data-hovercolor="#e859c5"> ...
0
votes
2answers
113 views

wordpress css file

i made a website by wordpress and i uploaded it to ftp file public html my problem is that i made a css file that include all the other css files but when i tested the website i found that the ...
0
votes
1answer
312 views

change the icon of a custom post type in WordPress to use twitter boostrap

Using jquery, the icons of WordPress admin menu have been changed to use the twitter boostrap icons, done such as: jQuery('#icon-themes.icon32').replaceWith('<div style="font-size:22px;" ...
1
vote
1answer
400 views

Using the echo command adds unwanted br tags to source

I am making a simple HTML form in a plugin I am writing. I was thinking of using echo for all output, but I can't seem to control the formatting of the HTML outputted (for debugging, neat looking ...
1
vote
1answer
332 views

Add a css class to a taxonomy permalink

I need to add a css class to every <a> element retrieved by the_terms() (or similar function) in order to open the taxonomy permalink in a fancybox modal window. I've been searching this whole ...
0
votes
2answers
127 views

render html no formatting

How can I get WordPress to render a page without it adding any addtional html? I'm trying to build a dialog that will work on mobile devices and I only want to show that dialog and not have any of the ...
0
votes
1answer
110 views

Shortcode displaying at the top of the page [duplicate]

Possible Duplicate: The result of a shortcode appear BEFORE page content short code output too early I got this shortcode for display my blog posts on my page, but the EXCERPT and the ...
-2
votes
1answer
127 views

Header location [closed]

I am editing a plugin, and I need to make it so that this line <h4><span><strong>100%</strong></span> which ends up making a circle with a number in it, show up in the ...
0
votes
2answers
55 views

Shortcode of a function

I got this function and i want to make the contents divs of "foreach" as return. How can i do that? <?php $args = array( 'numberposts' => 6, ...
-1
votes
1answer
170 views

Hover images and Videos

I got this code to show video loops on my blog. It's working nicely. Function.php function catch_video() { global $post, $posts; $first_vid = ''; ob_start(); ob_end_clean(); $output = ...
0
votes
1answer
77 views

Insert a Featured Video

I'm trying to put a video as featured in my theme, i mean, to be shown by the tag "the_post_thumbnail ('')", without using any plugin. Is this possible? Thank you!
-1
votes
2answers
411 views

How to create an Single-Portfolio page?

I created a portfolio page to show my works for my theme Everything is ok on my portfolio page, but when I click on an link to go to the portfolio object page, it uses the template's single.php page. ...
-2
votes
1answer
389 views

wordpress illegal string offset 'parameter' error

I am getting the error illegal string offset when creating a checkbox in the admin. my code look like this. <input type="checkbox" id="slideThre" name="custom_settings[checked]" value="1" ...
0
votes
2answers
84 views

Some images on Wordpress site are suddenly gone

I am not sure when this started happening as I have not been paying close attention. I've tried disabling recent plugins to no avail. Some of my images are just gone and there doesn't seem to be a ...
0
votes
1answer
114 views

Strange problem with HIdden Input field and WPAlchemy

I've been going Bananas with this problem for hours trying to figure out what is wrong. I have this code, simple enough and used in a similar manner many times before: <?php // Get the ...
1
vote
1answer
136 views

Add code just after Post content

I am in a bit of dilemma here so bare with me. I want to add something like this code just after the content in a post: <p>Please let me know what you think by <a href="#comment">leaving ...
1
vote
1answer
175 views

Modifying the HTML Output of Inserted Images

I've used Wordpress for years. Whenever I would add an image to an article, I manually would write out all of the HTML for every image. I also used an image lightbox plugin called Highslide for people ...
0
votes
2answers
52 views

Standard Way To Do Custom Work Within A Page?

First post here, looking forward to using this community more. I'm trying to figure out the "standard" way or "proper" way of doing custom HTML work within a particular page. For example, I'm ...
4
votes
1answer
173 views

Allowing more elements in comments via functions.php

I would like to allow certain HTML elements in my comments and have edited kses.php directly in the past. However, I have been hacked recently and replaced all the core Wordpress files and feel I ...
4
votes
1answer
91 views

Output in XHTML or HTML 5 for plugins?

I'm currently writing a plugin that displays some images - possibly with captions. So, I was wondering whether to use XHTML (<div>s and <span>s) or HTML 5 (<figure> and ...
0
votes
1answer
433 views

What file is the </body> tag located in Genesis default theme?

I need to add some tracking code for Aweber and they said to add it before the </body> tag. I've looked through all the Genesis files and cannot find it!