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

learn more… | top users | synonyms

0
votes
2answers
115 views

Where is definied the theme location for the main menu in a WordPress template?

I am pretty new in WordPress (I came from Joomla) and I have the following doubt related the Theme Location of the main menu. For example, using the preinstalled Twenty Twelve theme, if in the ...
0
votes
1answer
49 views

Some doubts about WordPress handle the horizontal main menu visualization

I am pretty new in WP (I came from Joomla) and I have some doubt regarding how WordPress handles the main menu (I mean the horizontal menu in the header). As example I use this online test website: ...
0
votes
2answers
144 views

Editing page content through FTP?

I currently work with a graphic designer and code primarily HTML/CSS for clients looking to develop a web presence. I don't know much about WordPress. I have a client who wants some minimal changes ...
0
votes
1answer
107 views

How to create a WP theme that use BootStrap? [closed]

I am pretty new in WordPress and totally new in BootStrap development (I have beginning to study BootStrap yesterday) and I have the following doubt about how create a custom WP template that use ...
0
votes
3answers
73 views

Add topbar to static html page

I have a WordPress blog, but I am also hosting a standalone static HTML page on the same domain/server (LaughingSquid, if it makes a difference). I'm very new to WordPress and PHP, so I am wondering ...
0
votes
1answer
70 views

HTML-to-WordPress: Dropdown Navigation Menu [closed]

so I've been searching around in the hope somebody also had this issue.. But I can't find any. I've currently created a Wordpress template out of a hardcoded HTML template for somebody. Now here's ...
0
votes
1answer
124 views

Edit raw HTML of the landing page

I just created and set up a landing page for my blog. I use Weaver theme. I checked every checkbox to remove all the stuff I don't want ( Hide Page Title, Hide Site Title/Description, Hide ...
0
votes
2answers
189 views

Nice scroll to wordpress

I am converting html5 to wordpress Theme. I want to use custom scroll for wordpress. The code DEPENDENCIES It's a plugin for the jquery framework, you need to include jquery in your scripts. I will ...
1
vote
1answer
49 views

New to CMS - WP functionality. overkill or just right?

I am a designer / developer. My experience is in HTML/CSS/JS, some knowledge in PHP, MySQL, and Wordpress one-click-install and pre-made template. I want to program an entire website layout myself, ...
0
votes
1answer
100 views

What doctype is considered best practice to use for Wordpress?

I am finding a lot of validation errors courtesy of http://validator.w3.org/ in a clients website with the following HTML tag: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ...
1
vote
0answers
21 views

invisable position element [closed]

I have a weird ghost like element on my page which blocks other elements. Visually its positions alright, but it is larger then it appears. If did a hour of inspecting and can't find any source that ...
2
votes
1answer
91 views

Why html tags are being appended to my pictures?

I have a WordPress Network installation. In main site, there is no problem (at least related to on I'm talking about it here) but meanwhile in the other site (my subdomain site) pictures appear to be ...
0
votes
2answers
92 views

Issues with the excerpt (wordcount/HTML/images)

Struggling here with the excerpt and options for it. (NOT looking for a plugin and not extracting from the content, we add seperate excerpt content) We want to have an excerpt limited to a max. ...
1
vote
1answer
69 views

PHP mixed with some JS code to update Wordpress theme settings

I am working on my first Wordpress Theme but I am facing a little problem in my code. In fact, I have created a little page in the administration to change some settings on my theme and, for example, ...
0
votes
2answers
60 views

Avoiding stripping of HTML in Custom Taxonomy Meta Field

I'm using a custom form field on a Custom Taxonomy to hold various data. All working well except in one particular case where I'm trying to save an iframe embed code (from Bandcamp) which is to be ...
0
votes
1answer
41 views

add_action insert html

I know I am missing something simple. I am trying to use html to log to footer to learn wp. In theme functions.php: function myLog() { echo 'test'; } In theme footer within the .siteInfo ...
0
votes
0answers
45 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
1answer
63 views

Sort appearence order in the_content()

I have an About the Author plugin, echoing inside the_content(), and a Facebook Like Button, that I hardcoded in the HTML, after the_content(), here's how it is outputting: The Facebook Like button ...
0
votes
1answer
45 views

Widget : html 2 dimensional array doesn't work

I have some strange trouble with my WordPress today : I want to store same multiple values in a widget, so I create something like this : myCollection[id][myField] as input's name for my admin widget ...
0
votes
0answers
6 views

Trying to fix my Contact Form [duplicate]

I have been trying to figure out on what is missing in my codes. Basically whenever i click the submit button to send the data in the contact form, it basically returns me to the home page and ...
0
votes
1answer
199 views

html entities occur in the_excerpt used as meta description

This must be pretty simple, but when I use the function below in header.php to grab the post excerpt to use a meta description for a single post or page setup_postdata($post); $excerpt = ...
0
votes
1answer
38 views

Arrange Category post manually when displayed

Is there way to display the category post manually or in a specific order. Basically the post are arranged in alphabetical order. It is a clients request Here is the code for category post ...
0
votes
1answer
146 views

Creating multiple category drop down

I'm trying to figure out on how to create a multiple category drop down to filter different types of post Here is an image of my work in progress ...
0
votes
0answers
43 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
167 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
14 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
1answer
74 views

Theme customizer live preview JS- Trying to bind to an html image url without luck

I am having a little trouble binding the theme customizer live preview javascript to an HTML <img src>- more specifically it is my logo. Here how the html looks on the page(which is fine and ...
0
votes
0answers
73 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
2answers
39 views

something strange is happening to my code

This is my index.php (my homepage). It displays two loops. The first one displays the sticky posts and the second displays all of the posts. The <div id="primary"> that is located after the ...
-1
votes
1answer
255 views

Cite-Tag for blockquotes

I want to have a cite underneath my blockquote, that has a certain style. "Blockquotes are an essential part of a fancy website." – Cite The markup ...
1
vote
0answers
61 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 ...
0
votes
1answer
537 views

How do I change the value of lang=en-US

I have noticed that in the <html> tag on my WP site that the language is defined as US English. <html lang="en-US" prefix="og: http://ogp.me/ns#"> I would like to change it to British ...
0
votes
1answer
70 views

Submitting form in wordpress plugin

I am new to wordpress and currently making a plugin. I am getting list of authors using <?php wp_dropdown_users(array('name' => 'author'));?> Now when submitting my form I want to retain ...
0
votes
0answers
28 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
231 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
28 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
1answer
93 views

What is the best way to get the first few post from WordPress in different divs using a loop?

I got the first post using the loop but I can't get the second post. I would like every post to be in a different div but the same style as the first post. To do this, I would probably need to ...
1
vote
3answers
181 views

How can I control the HTML output of my post?

As you already know, WordPress manipulates posts, even if you write everything in Text mode. (replacing line breaks with \r\n 's , converting single quotes into double quotes etc.) I know this is ...
0
votes
0answers
31 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 ...
-1
votes
1answer
154 views

How to edit homepage in Wordpress?

I'm gonna add a bit of code/edit my homepage in Wordpress, but I can't find the page's main file to edit. Take a look at this: http://uaral.tk This is my homepage. Now look at the page source in ...
0
votes
1answer
111 views

get_post_meta is always empty when I use wp_mail

I made this action hook which will send an email to the users every time a new post in the custom post type "events" is made. function email_members($post_id) { global $wpdb; $usersarray = ...
0
votes
1answer
46 views

how to manipulate HTML parameters using PHP conditions

hi im using my own customize stylesheet using twitter bootstrap in wp-admin. i have created my own navigation bar like below. add_action('admin_head', 'myNavbar'); function myNavbar(){ echo " ...
0
votes
1answer
122 views

Add HTML input tag to to site navigation

I'm building a site using the twentytwelve theme. I need to add an input text box situation on the far left of the menu navigation bar. Here is the HTML from Header.php and the css from style.css. ...
0
votes
0answers
187 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
109 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
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
46 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
29 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' ...