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

learn more… | top users | synonyms

0
votes
0answers
32 views

How to separate HTML and Wordpress files

I want to separate the HTML and PHP code so that the HTML guys can easily work on their files without disturbing the PHP code, but couldn't find any proper solution or Start point to begin. Please ...
-2
votes
0answers
32 views

PHP code inside a WP page echo<html code> problem [closed]

I've activated a plugin to use php inside a wp page. It'works but if I need to use html code within a php block, that statement is not considered. I need it to fill a listbox from database. e.g. ...
1
vote
0answers
34 views

Add .htm extention to a custom taxonomy

I need to add '.htm' to all my urls on a new site - client requires that, as I am converting a old static site into WP. (I use Remove Taxonomy Base Slug to hide the slug of my custom taxonomy "topic" ...
1
vote
0answers
16 views

How to remove default style of header in wordpress metabox

I have the problem which when I create a header in my wordpress plugin metabox, it always apply the default style on my header: even when I apply, my own style, <h3 style="background-color: ...
0
votes
4answers
34 views

Finding and disabling 'rogue' stylesheet from header: Source Sans Pro

I just recently set up a local WordPress development environment and imported the content from the live site into it using WordPress' built-in export and import functionality. Unfortunately, this ...
-1
votes
0answers
20 views

How can I manipulate the HTML of the_content in a specific way?

I know the basics of how to add a filter to modify the_content, but I want to modify the HTML in detail. Specifically, I want to find any <blockquote> elements and add some HTML within them. ...
0
votes
0answers
22 views

Custom class on Media image inserted in the editor

I would like to have different classes added regarding the options selected during the media insertion. When inserting a media, there are 3 options (media file, attachement page and custom URL) ...
-2
votes
1answer
27 views

HTML to WORDPRESS [closed]

I am very very new at this but would like to expand my creativity. I would like to design/build my own wordpress. Because this is a huge task I have read that first designing the page with just html ...
0
votes
0answers
16 views

How to Display HTML Site Images in Directory Above WordPress Installation

I have WP in a subdirectory of its own. I have two .htaccess files. The first is in the domain root: RewriteEngine on RewriteCond %{HTTP_HOST} ^automaticallynow\.com$ [OR] RewriteCond %{HTTP_HOST} ...
0
votes
0answers
92 views

using hyperlink in wordpress plugin

Im developing wordpress plugin . I added a plugin to the admin menu . After clicking on the plugin is displayed user login. (I used parameter-magic func from the wrapper function ...
0
votes
0answers
23 views

WooCommerce - group downloads by product [closed]

In Woocommerce(*My Account page) I can see now an unordered list with all the downloads available, like: <ul class="digital-downloads"> <li><a href="#">Product 1 - ...
0
votes
2answers
83 views

Using php inside javascript [closed]

I have got the following code in a javascript(jquery) file called custom.js: var gapinvite = new Date(); gapinvite = new Date(2014, 06 - 1, 2); $('.days').countdown({ until: ...
0
votes
1answer
115 views

Show contact 7 form in popup

I am creating map link on a image and it has two links to open video and contact form. I am making popup with lightbox but its not working. here is my code.. HTML <div class="map"> <img ...
0
votes
1answer
55 views

Loading custom jQuery and HTML in a WordPress page

I have a simple application I have worked on and would like to load it into my WordPress theme. This app has a /js folder with myscript.js, a /css folder with mystyle.css and an HTML file index.html. ...
0
votes
1answer
45 views

Custom title widget / HTML encoding

I'm not the first person who has battled the matter of WordPress stripping HTML from widget titles. There are a number of custom widgets out there that allow you to add e.g. links to titles, but I ...
1
vote
4answers
63 views

Localizing a string with html tag with word inside that tag

I have translated many string successfully previously, but this one gives me a headache. This part is used inside my content-related.php file which I use to display related posts Here is the current ...
0
votes
2answers
24 views

Can I add a widget to the <head> of my site?

I need to add a small bit of JavaScript to the <head> section of my site (on every page). I thought Widgets would cover this but I am only able to add widgets to the sidebar and nowhere else. ...
0
votes
0answers
6 views

Comment box html [duplicate]

I want to allow users to be able to use the codes <ol>, <ul> & <li> in the comment section, but my google-foo is weak (100% chance I'm using the wrong keywords), mind helping me ...
0
votes
0answers
21 views

How can I make this WordPress site actually record the edits I make in the HTML editor?

For a WordPress site I'm editing, the HTML editor will not transfer any of the updates I save in the HTML code to the actual website. All of the pages are left completely blank when I check them ...
0
votes
1answer
36 views

Thumbnail + Excerpt = loss in word count

My excerpts are shown using this function <?php function get_the_content_limit_custom_allowedtags() { // Add custom tags to this string return ...
0
votes
1answer
59 views

Excerpt keep stripping <a> tags

I have the following function to display my excerpt <?php function pietergoosen_custom_wp_trim_excerpt($text) { global $post; $raw_excerpt = $text; if ( '' == $text ) { $text = ...
0
votes
1answer
40 views

Wordpress - Image href for home menu nav not working

I have an image linked to a li element from a navbar in wordpress. All is working fine but when i hover mouse on image, it also shows a menu element hover in the list. How can i hide that when it is ...
1
vote
1answer
16 views

Embed tag length issues

I have a pdf in my media library that I am trying to embed on a page. The width works fine but the length does not. I am trying to basically represent 8.5 x 11 on the screen. As it is only about 3-4 ...
0
votes
2answers
73 views

How Can I Center the Logo in the Navigation Menu? [closed]

I'd like to center the logo in the navigation menu. I understand how to do it if it were not PHP based. Does anyone have any insight on this? You can view the test site here Any help is greatly ...
0
votes
2answers
235 views

How do I change/modify the_post_thumbnail(); html output?

I'm working on building out a custom theme and have been struggling with this one for a bit. I am trying to modify the HTML output of the_post_thumbnail(); function. I need to do this because I am ...
0
votes
0answers
12 views

Modify images when inserted in to WYSWYG Editor

When an image get added it currently adds <a href="www.domain.com/image.jpg"><img src="www.domain.com/image.jpg" /></a> I am aware that user can directly add the link. However the ...
0
votes
0answers
16 views

wp_kses enable HTML comment code.filter

Is there a way to enable the category description to allow HTML comment EX: <!-- example of the HTML comment --> How it looks in the category description. <!-- This story is about the ...
1
vote
1answer
29 views

Why write markup for index.php?

As I understand, index.php (a required template) is used when a more specific template is unavailable---according to the template hierarchy. My question is, if I create all the specific templates ...
0
votes
1answer
62 views

Add scripts on custom post add/edit pages Not Working

im Trying to Add scripts on custom post add/edit pages but Not Working PHP Code ,(it's working and Get Js Code) if(strstr($_SERVER['REQUEST_URI'], 'wp-admin/post-new.php') || ...
0
votes
1answer
45 views

nested divs, classes for a grid in loop [duplicate]

php rookie here. as grids are popular right now, I wonder if this is even possible. I have three posts and have no idea how to get this working; this is my basic loop // WP_Query ...
0
votes
0answers
80 views

Add the “.current-menu-item” class to <a> tag?

I am changing wp_nav_menu() to make it a listless navigation menu (i.e., no unordered list or list item tags) Normally the menu <li> has the .current-menu-item class attached to it when active. ...
0
votes
0answers
40 views

Grabbing image attachments for Flexslider

I'm trying create a function that will load image attachments of a post into a list for FlexSlider to use. To specify, I want an image slider that is specific to a certain post. There may be many ...
0
votes
0answers
58 views

PHP random number in email

I have a Wordpress website where i am making a form so that when a user fills out that form he gets a confirmation email and receives a random order number. I have this PHP function which creates that ...
0
votes
0answers
54 views

I can't style my customized navigation menu in my wordpress website!

I am having this problem where I created my website first, with a menu in my header.php page. And then I wanted to transform my website into a wordpress website, so I did what I had to do, but the ...
0
votes
1answer
26 views

Why I obtain different visualization when I run the website on my local machine and on remote server?

I am finding a very strange behavior with a WordPress main menu into this custom theme that use BootStrap: http://onofri.org/WP_BootStrap/ As you can see in the horizontal main menu the background of ...
0
votes
0answers
65 views

Why this BootStrap main menu appear twice in my theme?

I am going crazy with the following WordPress custom theme that use BootStrap CSS framework: http://onofri.org/WP_BootStrap/ As you can see I have a problem with the horizontal main menu in my ...
2
votes
1answer
34 views

Remove tags from the kses filter

I know one can modify the kses filter to add new allowed tags to it, but is there a way to remove some of them? I can't find how. I need to disallow DIV tags. Any ideas? Thanks
0
votes
0answers
31 views

Why the slideshow is not shown in my theme?

I am pretty new in WordPress theme developing and I have the following problem. I am trying to create a WordPress theme that used BootStrap CSS framework based on this BootStrap demo static website ...
0
votes
1answer
31 views

featured post as div background

Ok I didn't find an answer yet.. because my code is different.. I want to set the featured image as the div's background but I don't know how to do that.. html, php and css collide in one line.. This ...
0
votes
2answers
54 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
33 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
58 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
69 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
55 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
61 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
78 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
130 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
70 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
19 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 ...