The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
2answers
32 views

What is the correct syntax to append a URL using a shortcode for an iframe?

I need to iframe a series of content on our site. I need to pass on the the user information via a URL - vendor request. I have tons of shortcodes that display the username. It works fine. But ...
2
votes
3answers
426 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 ...
5
votes
2answers
1k views

prevent wordpress from rendering line breaks as br tags

I am tired of WordPress's horrible HTML editor and have decided to write all my html in Notepad++ and then just copy it over. However, simple line breaks "\n" that would be normally ignored in html ...
3
votes
1answer
28 views

Where can I find the code how wordpress parses a post?

When you write a post in text section instead of visual WordPress will work with HTML. But when you save the post and preview it, it will transform your HTML-like text into real HTML with proper ...
0
votes
0answers
24 views

My Wordpress editor deletes all characters after emoji - how can I fix this?

Here's my issue: I have an Instagram post that I want to embed. I go to Instagram, I get the embed code, which includes emoji, I paste it into the WP editor on a new post (note that I am on the "text" ...
0
votes
0answers
10 views

Custom tinyMCE control wrapping wrong

I'm adding a custom button to my visual editor, so that the client doesn't have to manually input shortcode. It's a simple column one. So when you select your text, and click on it, it wraps the ...
0
votes
2answers
53 views

Prevent Wordpress from adding linebreaks to javascript embedded in a page

On a page in Wordpress, If I enter the following code: var r='<li><a href="#"><img src="' + slide.src + '" width="50" height="50" /></a></li>'; it is rendered in the ...
-1
votes
1answer
32 views

wordpress not saving form code in code editor

I'm sure this question has been asked a thousand times, but when I search, or post a question with the above title, no answer is presented. A few weeks ago, I was able to save Paypal form code into ...
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
107 views

Visual/Text tabs in wp editor Not Showing

I have a wordpress website that i have added custom meta boxes to the post. Custom meta boxes have an editor using wp_editor(), but the editor is refusing to show the visual/text tabs on the editor ...
0
votes
0answers
394 views

unwanted <br> and <p> tags in text editor

I'm very surprised that an answer to this isn't easy to find. I've been searching for a solution to this problem for some time now. Google has a few sketchy answers, but they're old. My question is ...
0
votes
0answers
63 views

Textarea is not working for html content in backend theme option

I have used vafpress framework for manage theme option and metaboxes all had gone well but now i have an issue on textarea option. I have used textarea type for booking section and it is not ...
0
votes
0answers
40 views

Selectively remove empty line after line change

In WP post editor, how can I change lines without adding an empty line? I try to post this One line Second line third line But it always shows like this One line Second line Third line PS: I ...
0
votes
1answer
147 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 ...
4
votes
7answers
10k views

Add quicktag buttons to the HTML editor

I am trying to figure out how to modify the HTML editor in wordpress; on the image below you can see a screenshot of the editor and the buttons on the top. Is it possible to add new buttons? I would ...
0
votes
0answers
42 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 ...
2
votes
1answer
42 views

Exclude file from theme editor

Is possible to exclude some files from being viewed and modified in the theme editor?
0
votes
1answer
434 views

Visual composer causing conflict with TinyMCE [closed]

My Tinymce is not showing up by default. All out of the sudden, without any new plugin installation or what so ever, VC plugin started to force my text editor (when creating a new entry) to switch ...
0
votes
3answers
909 views

Wordpress tinymce prints empty P tag and break html format

I'm raising this problem because I don't find a latest answer and the problem still exist to me. I'm running wordpress 4.2.2 with x theme when I'm editing the content via WP default editor (tinymce). ...
0
votes
2answers
103 views

Recommended tools for Theme Development with SASS [closed]

My question is - what are other people's processes in most efficiently developing WordPress themes that utilize SASS and what tools are you using? I also develop from multiple locations/machines (both ...
0
votes
1answer
264 views

data-accordion removed in Visual Editor

Using Foundation 5's accordion, and the data-accordion html data attribute in: <dl class="accordion" data-accordion> gets removed when a user only edits a page with the Visual Editor. Does ...
2
votes
2answers
1k views

Removing buttons from the html editor

I've been searching the codex, and I'm probably overlooking something somewhere, but could someone tell if it would be possible to remove a button/quicktag from the WordPress html editor?
2
votes
2answers
579 views

How To Hide The Visual And Html Editor Completely?

I have some clients that are going to be using wordpress for their sites. I created custom fields for them to input data in so they don't have to use the editor. How do I hide the page editor ...
3
votes
4answers
1k 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: ...
0
votes
0answers
421 views

Custom settings page TinyMce: no formatting when echoing value of editor

I have created a custom settings page with a couple of wp_editor() calls on it. When I enter some text in the editor, and format it (e.g. make it bold), and then save it, the value is saved in the ...
0
votes
1answer
228 views

How to show the contants in front end same as visual editor with space / linebreak?

My visual editor looks like this: My text editor looks like this: But my front end looks like this: I know that the wordpress automatically removes linebreaks. So I installed tineMCE advace ...
1
vote
0answers
22 views

In context click and edit: is it feasible?

I would like the following feature, and I'm willing to put my hands on it, but I'd like that developers more in touch with WP codebase give me some feedback. I want to have some sort of in-context ...
-3
votes
1answer
334 views

Can you not edit the HTML and PHP of your WordPress without paying?

Sorry for the noob question. I'm new to WP. I'm not seeing where I can edit the HTML and PHP of my blog. I see a bunch of GUI options to change colors, etc. but nothing to change my blog's source ...
4
votes
1answer
199 views

Can I force WordPress to use <i> instead of <em>?

For example, Did you know that <em>hot</em> was used to mean "<a title="What is the origin of “hot” as “good-looking” or “attractive”?" href="http://english.stackexchange.com/a/84227/...
0
votes
1answer
421 views

How-to stop wordpress from saving utf8 non-breaking space characters

Anyone have a tip on how to prevent Wordpress from saving utf8 space characters (= hex C2 A0) in DB by replacing with space \x20 ? Is there a hook that can be used to do a replace before saving to ...
0
votes
1answer
315 views

add_meta_box Callback not being called

I created my first plugin last week that makes a custom post type. As this worked, I copy pasted the code I already had and modified it to be a different post type. For whatever reason however, the ...
0
votes
1answer
34 views

Custom code in all text between <>?

I have a html tutorial based (like w3schools.com) Wordpress site which have around 200+ pages ans posts. Our writer wrote all article in simple text format, but now we are making our post interesting ...
1
vote
0answers
860 views

How to make Wordpress and TinyMCE accept <a> tags wrapping block-level elements as allowed in HTML5?

Starting with version 5 the HTML standard allows <a> tags wrap block-level elements. On a specific page I need to wrap a heading and an image with an <a> tag: Some intro text. <div>...
6
votes
1answer
2k views

Wordpress Visual Editor Stripping HTML Changes

When I use the WordPress HTML editor to add icomoon icons like this: <span class="icon-shield"></span> and then switch to the visual editor and then back to the HTML editor, the icons ...
10
votes
1answer
1k views

How to use “Add link” pop up for a WordPress widget

In the WYSIWYG editor of WordPress you get pop up if you want to add a link for a text. Is there a possibility to access this functionality? Because I want to use this pop up for a WordPress widget ...
0
votes
1answer
62 views

How can you change the non-visual editor's background color?

I am using Wordpress with theme 2011 and the "Jetpack Markdown" extension. When you are using the "Jetpack Markdown" extension, you cannot use the visual editor, so I am using the non-visual pure ...
0
votes
1answer
50 views

Edit box scrolls back to the top after updating post

I've been quite annoyed by this. On post edit page, once I edited something in the middle of the page and hit Update, the whole page reloads and the edit box starts from the top again and I have to ...
0
votes
1answer
74 views

How to disable style filtering in post?

I need to put HTML code directly in post. It works, except for some css attributes : background-image position Every time a "editor" or "admin" user try to type those attributes in a style ...
0
votes
1answer
390 views

Disable html in custom post types

My webstie have custom post type created, and now I want to disable usage of any html tag in content editor, so only plain text is saved in database (and to remove content editor and html editor if ...
1
vote
3answers
3k views

Preserving tabs and line breaks in <pre><code> when switching from HTML to Visual Editor

Tabs placed in a <pre><code></code></pre> block are stripped and line breaks are removed leaving a single continuous line of text. This occurs when switching from html to ...
0
votes
2answers
276 views

How can I make the page editor trust me?

I want two images to appear side-by-side. However, WordPress inserts a line-break between the elements, even if I use the HTML editor rather than the Visual editor. How can I make the editor trust ...
0
votes
1answer
26 views

I have a question in Basic HTML [closed]

What does it mean to edit a website directly? My professor tells us not to use an editor. I'm not sure how to do so either.
1
vote
1answer
224 views

Prevent the Editor From Moving My &nbsp;

I know variations on this have been asked all over the WordPress world, but I can't seem to find what I'm looking for. I have HTML that looks like this: <a name="title-slug">&nbsp;</a>...
1
vote
2answers
796 views

How to display php source code inside a post using visual editor?

NOTE I don't want the php code to be executed, only displayed. I want to display this php code <?php wp_enqueue_script( $handle, $src, $deps, $ver, $in_footer ); ?> inside a post. I cannot make ...
0
votes
2answers
421 views

WYSIWYG with HTML source?

I'm trying to switch from Drupal to WordPress, and I have lots of articles written in Drupal's WYSIWYG Editors, and stored like <p>Hi, this is an article</p><p><img bla='bla'>&...
1
vote
0answers
204 views

pop-up options for custom quicktags

I always use HTML editor when writing an entry in my wordpress blog, I'm not sure why I can't bring myself to like the TinyMCE editor. After a while, I started to think about creating my own quicktags ...
0
votes
1answer
372 views

Wordpress <!--more--> adding a <br> to my anchor for Read More

When creating a post within my wordpress site (using the editor) I want to add the short code, or even use the link at the top of the editor to do so. The end result is (it does create the excerpt ...
0
votes
1answer
69 views

Why does WordPress change a file's permissions?

If I set the permissions to the CSS file in my theme to 444 and then attempt to edit it in the Appearance Editor, WordPress is not prevented from editing the file and in fact change the permissions to ...
1
vote
0answers
822 views

Strange problems when I try to insert HTML\XML code snippet in my posts

I am experiencing some problems while trying to insert XML code snippet into my WordPress articles. I have just read this tutorial: http://codex.wordpress.org/Writing_Code_in_Your_Posts I am using ...
3
votes
2answers
4k views

how to make stylesheet appear in theme editor?

I have a stylesheet in my theme in the css subdir of the theme dir (css/style.css). The question is how to make this .css file appear in the theme editor of the WordPress admin. (I know using the web ...