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

learn more… | top users | synonyms

-1
votes
1answer
30 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
14 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
0answers
10 views

Modify “gifts” and “discounts” html on woocommerce [closed]

I need to change code html of gifts and discounts (summary) part on single-product. Thank you
1
vote
1answer
47 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
40 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
133 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
31 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
23 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
24 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
19 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 ...
1
vote
0answers
21 views

Trouble making searchbar responsive [closed]

I have a searchbar in my header, which I need centered horizontally and just a little bit above the bottom of the header. I was able to achieve this by using display: flex; justify-content: ...
0
votes
1answer
13 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
72 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
43 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, ...
0
votes
0answers
81 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
66 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
26 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 ...
0
votes
1answer
26 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
270 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 ...
0
votes
1answer
110 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
120 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
47 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 ...
0
votes
1answer
56 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
23 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) { ...
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
34 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
68 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 ...
0
votes
2answers
131 views

Allow HTML in Settings API input field

I want to allow HTML into a plugin input field via a user, I am using the Settings API, but it strips everything HTML out. - Code below -any pointers? function plugin_settings(){ register_Setting( ...
0
votes
1answer
50 views

Pagination for div's

It is possible to have pagination for div's? Those div's are manually inputted thru text editor. I want to limit in 5 div's only and if its beyond the pagination will be displayed.
0
votes
1answer
50 views

How do you render posts from outside wordpress?

I'm trying to display posts outside of the wordpress system (another system is pulling from the mysql database). However, the posts stored in the database seem to be void of <p> tags and ...
0
votes
0answers
22 views

is there any way I can hide auto generated hidden br tags

I am working on form but after submit button there are some auto generated hidden tags that result in lots of space after submit button that looks ugly ,is there any way I can hide this Regards
0
votes
0answers
26 views

custom widget plugin work but will not ouput html code on frontend

this custom widget plugin works but on the frontend if i input html codes in the form it will not show on frontend meaning on the frontend none of the html code will work nor show but the text will ...
0
votes
0answers
28 views

Is there a way to export text from Word to Wordpress with HTML tags but without attributes?

I developed a Wordpress blog which has it’s own CSS styles. For each blog post I import text from Word 2010 to the blog editor, but this imports Word styles and forces me to spend a lot of time on ...
0
votes
2answers
34 views

Is it safe to use WordPress generated classes?

I'm currently customizing a theme in WordPress and was wondering if it's safe to use the WordPress generated classes in my CSS. For example, is it okay to use .page-id-105? Is there any chance that ...
0
votes
0answers
32 views

How to link images to a certain property type

I've build a web page, in which an user certain data; the user can add also images, and once everything is done, he/she clicks submit and a Property post type is added. The problem is that the images ...
0
votes
0answers
110 views

Add HTML wrapper around widget content

I'm using genesis as my framework but i need help to to add some html markup on my register widget. I know by default its add html mark up but I want to add more inside of it how would I do that? ...
1
vote
1answer
18 views

Custom posts with certain html [closed]

I'm not sure how to explain this, take this site for example http://www.collective.townofsilenthill.com/ say I wanted to create a page similar using wordpress. Instead of using code every time have a ...
0
votes
2answers
712 views

How to add page using HTML, CSS and JS?

So I have a client who wants a little extra that is beyond capabilities of my wordpress theme that I have purchased. I know through html, css and js I can create it from scratch (they want animations ...
1
vote
2answers
399 views

To echo or not to echo?

Searching the code for related posts I found two almost identical code snippets, the only difference being that one uses echo: echo '<li><a href="' . get_permalink() . '" title="' . ...
0
votes
0answers
84 views

Best practice for writing backend forms to interact with database

I am responsible for a Wordpress site where ingredients, recipes, allergens and similar data is inserted into the database. All the columns in the database are separate from the Wordpress database, ...
0
votes
0answers
38 views

Display: inline-block removed

display: inline-block is removed in my wordpress page once I publish the page, which breaks the styling. It is also removed from the text editor on the admin page. It only happens to me and not any ...
1
vote
4answers
189 views

Is it ok to replace php code with html?

My question is: Is it ok, or even preferable, to use html instead of php when possible? Why I ask: Wordpress seems to use php even for simple tasks, where old good html would do the job. Php code is ...
0
votes
0answers
80 views

Call function from WordPress function.php to page-home.php

I'm stuck at this. Please help. Basically, I'm trying to create a hover on image to reveal social icons effect. Clicking the social icon will take you to the relevant page of the social website in a ...
0
votes
0answers
411 views

How to display post content with some html tags?

Trying to output an xml file for single posts. In such file I need to display the content of each post in a way that can be accepted in xml format. After reading on the internet (for five days) I ...
2
votes
1answer
548 views

Adding HTML within an image title attribute

I am using some jquery which applies an overlay on an image on hover. The script uses content from the image's title attribute to display over the image. When I tested this locally, it seemed to work, ...
0
votes
1answer
52 views

I cannot make this position properly in Wordpress [closed]

I am trying to write in Wordpress with text and next image and then next paragraph is text and next paragraph is image and in next text. However the second image and text is mixing beside the first ...
0
votes
0answers
122 views

openbtn.addEventListener is not a function?

Someone has helped me with this script in Codepen where it worked fine, until i tried to implement it into my Wordpress website. The two sets of grey dots are buttons. Each button will open it's own ...
0
votes
3answers
40 views

Dealing with html forms [closed]

I want to work with html form but i cant understand the Action method and when we need to use it. For example found this code on w3schools: <form action="action_page.php"> First ...