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

learn more… | top users | synonyms

0
votes
1answer
36 views

Initial offset of number of posts in home page on the posts page

I've got a problem. Im using WP_query on my static home page, and i've set up an 'archive' page (not like archives/tags etc) as my 'page 2' which has all my other posts on it. My home page is a ...
0
votes
1answer
21 views

WP theme update causes child theme CSS problems

I have WP website with a child theme installed which I use for css editing. But, after the last update of the WP theme, I noticed little (but annoying) changes in the appearance of my site (for ...
0
votes
1answer
59 views

I need help implement a Javascript code into the PHP file

I need help implementing a Javascript code into my PHP file that would replace the default search box with a new one. Do I have to use echo? How would it look like? Thanks in advance or your help, I'...
1
vote
1answer
43 views

Show post in slider

I am working on wordpress project .I want to show the post details in such away that the first four post thumbnail would show on the top and show the content of first post below, after clicking on ...
1
vote
0answers
25 views

Dot is not added at the end of href

My Key is $P$BeVBjO.GF/Ngju8PCjKJgjV68buIgo. so you can see a dot at the end of my key Input: esc_url( add_query_arg( array( 'loginName' => $requestedUserLogin, 'key' => **$key** ), ...
1
vote
1answer
72 views

Prevent WordPress from messing my HTML

Is there a way to prevent WP from modifying my perfectly fine HTML? When writing content of a page, I'm writing a list as <ol> <li>Paragraph 1 : text Some more text</li> <...
1
vote
0answers
17 views

A form that can save/edit after first input

I need a form on my WordPress website that users can input information into through dropdown fields.But i just dont want the information to go away after sending.I need them to still be able to come ...
1
vote
2answers
34 views

Wordpress Multiple Navigation bars

This is more of a 'Is it possible question" I have a home page which has a full width header and a transparent Navbar, when you scroll this Navbar changes to white. On all my other pages I want this ...
1
vote
0answers
38 views

Position banner to right of logo in header - messed up my header file

Hi I made a mistake by editing my header.php file before backing it up and now having trouble getting it right. There's just a <div> tag missing or something but I am spinning my wheels so maybe ...
1
vote
0answers
23 views

Cannot add a class to h2 tag

I'm creating a page on my Wordpress website with a series of headings and images on alternating sides of the page for each heading so I need to add clear: left and clear:right to the h2 tags on the ...
0
votes
2answers
52 views

Wierd site output [closed]

I'm quite new to Wordpress, I've build a website and found out in the Google WebMaster tool that one of the most present keyword was [%%LINKS%%]... I've found this code: <div style="display:none"&...
1
vote
1answer
27 views

Articles are text-only in any “Category” instead of HTML

I run a Wordpress blog at http://toile.reinom.com/ and a lot of articles are using HTML codes (mainly <h*>, <p>, <a> and <figure>). Those tags are correctly displayed on the ...
2
votes
1answer
44 views

htmll lang=“de” but admin page in English

I've set up a multisite Wordpress installation, because I want to work with multipul languages. Everything work except the lang attribute. I want the admin panel to be English, but I want to give lang ...
0
votes
1answer
29 views

Add the title attribute to links

I want to add a title attribute to my link like this: <a href="#" title="here is the title">LINK</a> I know how to do this in html but I can't expect this from my users. I can't find ...
-4
votes
1answer
39 views

How do I link the side images?

This is my site: http://classichits.ie/ I want to link the background image to another page. This is the code I have so far: body.boxed-layout { background-image:url(<?php echo get_site_url();...
1
vote
2answers
54 views

Commenting out unwated CSS/scripts in HTML with PHP

I am trying to comment out unwanted CSS and JS files to prevent them from firing in the HTML by creating a simple function in my functions.php. So far I have: function commentStuff() { $stylesheet = "...
0
votes
0answers
218 views

How can I use ajax in WordPress to refresh the page without reloading the Page?

How can I use Ajax in WordPress to refresh my div content after certain intervals without actually reloading the page. I am struggling with the code. My Ajax code. <html> <head></...
0
votes
1answer
67 views

how to do open a link in a open window from menu bar? [closed]

I am working on a word press site. When I click on a entry in menu bar, it should open that link in a new window. I know how to do this for a button but not sure for a list item. This is the code ...
2
votes
1answer
61 views

Do you need to escape hard coded plain text?

I started playing with the Underscores starter theme and noticed it uses esc_html_e() even on plain text: <a class="skip-link" href="#content"><?php esc_html_e( 'Skip to content', '_s' ); ?&...
4
votes
1answer
116 views

Correct regex for wp_embed_register_handler

THE GOAL I'm trying to parse a url and convert it to an embedded video player in my post's content but I think my regEx is off or I'm not creating a provider correctly. THE CODE Here is what I have ...
0
votes
0answers
21 views

How would I create custom pages???

I'm a beginner at wordpress themes... and I used http://www.themplio.com/themes/creative-studios/preview to turn it into a wordpress theme for my selfstudy... the picture above is the result after ...
1
vote
1answer
69 views

My form action url is being prepended with a directory that does not exists

I'm trying to allow users to upload audio via form and HTTP POST request. Here is the relevant form code, from my page-profile.php : <form method="post" action="wp-content/themes/freelanceengine-...
1
vote
1answer
28 views

Publishing html directly from ftp to wordpress

I have a program for a booking programme and within that is an "Update Website" button which originally would ftp the html created straight in place of the old one meaning once you click update ...
-1
votes
1answer
31 views

How can i get tag without />?

I see that wordpress make tag meta, link, style, img, ecc.ecc. like theese: <img /> <meta /> <link /> <style /> with the /> at the end of the tag. How can i get tags like ...
0
votes
0answers
16 views

Redirect Page Directly to Category without showing empty page?

(showing navigation menu on top) to open up a blog within my site without the user even knowing he went to a page.Normally I would just create a page with a link in it, but I think an entire page is a ...
1
vote
1answer
72 views

Placing raw HTML inside a WordPress shortcode

My shortcode: function fullwidthFunc($atts, $content = null) { $atts = shortcode_atts(array( "backcolor" => 'transparent', "backimgurl" => '', "color" => 'black', ...
0
votes
1answer
41 views

Adding html banner to posts

I'm writing a plugin that adds a banner to the top of all blog posts. I'm using the_content filter and just pre-pending some html to it. When doing this, the html isn't shown in the excerpt, but I ...
1
vote
3answers
247 views

How to only show page id as body class?

Some call it light OCD, some might call it security risk. I just don't like how it throws it all in there, especially template names. How to only assign page id or even better - slug? Note that ...
0
votes
0answers
12 views

Trouble figuring out slider for post containers

There is a section on the site I'm working on that loads 4 containers that are links to posts. I need to add functionality that allows you to scroll through more containers in the section by clicking ...
-1
votes
1answer
51 views

How do I hide a specific div class inside <style>? [closed]

I'm working on this web page: http://www.teamlally.com/test.php and I'm trying to hide the island chain you see on the right. "class="hawaii-map" <style> #feature { display:none; } .copyright { ...
0
votes
1answer
24 views

Adding link on title its in description but not in title see screenshots attached

This should be simple fix. I am learning php so am not that good to spot the obvious. Here's the website http://goo.gl/tE4OSO. here's what I want http://imgur.com/qZXPPYu . Here the code I believe ...
1
vote
1answer
27 views

Add Adsense to a website but the server responds with error 510 [closed]

I'm trying to add Ads to my website. The website is made with Wordpress. I'm going to Options < Adsense < Ad Manager Then I click manage Ads. After that, google starts to analyze my page. ...
0
votes
0answers
20 views

How to make an item appear in page 2?

I will keep it short. I created this menu under shop page to sort my product by popularity, price..... not the primary navigation, Just something I made through CSS Well since I created it inside the ...
0
votes
1answer
14 views

Link to page with posts of specific type

This might be a stupid question, but I am having difficulty finding an answer on google. I have a section of my site that loads 4 divs with a post title, excerpt and 'read more' link to the full post. ...
1
vote
3answers
80 views

Custom Login form from Wordpress site to non-Wordpress site

I'm building a new site for client based on Wordpress.They already have a non-Wordpress site that logged in visitors can access (on a different domain). I've searched a solution for this all over for ...
0
votes
1answer
50 views

Accept HTML in custom function

I have a custom field for a WordPress page to display a subtitle. How do I get the following function to accept HTML code such as elements? function cms_page_sub_title(){ global $cms_meta, $post;...
0
votes
0answers
108 views

Remove Special Characters from Wordpress Media File Names in HTML

I've removed all the special characters from media filenames in the database (meta_key - _wp_attached_file - filename), I've renamed the files in the FTP and rebuilt the thumbnails a few times. ...
0
votes
1answer
79 views

Add data-id attribute to child page links

The should be simple but I just can't figure it out nor find an answer. I need to add a data-id attribute to the <li> parent container of the respective child page <a> links. The HTML is ...
0
votes
1answer
28 views

How to edit plugin's html? [closed]

Hello Dear Wordpress Developers, I'm using Awesome Sticky Header by DevCanyon plugin on my website. I want to edit this plugin's html. Because with plugin's settings only thing that I can add is menu'...
0
votes
1answer
28 views

how to stop the shaking effect on my homepage [closed]

This is my http://iradionortheast.com/ Password: ireland Please check the attachment for better understanding. http://uploadpie.com/ASgk7 This part of my website on my homepage, is giving a shaking ...
7
votes
2answers
274 views

Why do templates contain so many PHP tag pairs?

I have some PHP experience, but hardly any WP theme writing experience...I'm just starting the journey. All of the themes I have looked at so far in the .org repository have code that looks like this:...
0
votes
1answer
159 views

WooCommerce - Print Processing orders [closed]

On our WooCommerce webshop we have an PHP page that generates the processing orders. Now I need to show the SKU in the table, but I don't know how to do that :) Below is an example of the page as it ...
0
votes
1answer
146 views

Why exactly does Wordpress use p tags, not divs?

Something I find somewhat odd is that by default, Wordpress always seems to make paragraphs, not divs when you press enter. At first this may seem like the common way to make paragraphs, but it's ...
0
votes
1answer
53 views

RegExp to EXCLUDE strip HTML (FOR SOMME) comments

I'm using this function to remove HTML comments from my code to save loading time: // Remove unwanted HTML comments function remove_html_comments($content = '') { return preg_replace('/<!--(.|\s)*?...
0
votes
1answer
71 views

contact form 7 submit message not displaying on mobile

contact form 7 submit message not displaying on mobile Please help me. password for the site: MediaCentralPassword http://mylittlewhitelies.com/
0
votes
1answer
26 views

My contact form is not being responsive

The contact form on my site is not being responsive. This is what is I have tried to make it responsive. But, its not working. @media only screen and (min-width : 767px) { .wpcf7-...
0
votes
0answers
16 views

display two foreach

how can I display the quantity and name when I check the checkbox and input number on quantity? this the code: input type="checkbox" id="m1" name="prod[]" value="Pork" label for="m1" Pork (100) ...
0
votes
0answers
38 views

What are the WordPress' pre-formatted html components?

There are html components or template parts (I don't know what's the most appropriate term) that WordPress preformatted, like comments, comment-form, pagination, widgets, and navigation. Is there ...
0
votes
1answer
28 views

Include Information Text within Registration Page

I'm running WordPress with BuddyPress. So I noticed a lot of AdBlocker are causing bugs on my site like to remove the Google reCAPTCHA and people aren't able to register to the page without notice. To ...
0
votes
0answers
74 views

Buddypress verified user icon

I am trying to make a buddypress website, I wanted to add a "verified" icon after the username. I found a plugin that adds the icon to your profile picture but I was wondering how I can add it ...