The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
16 views

Set tinyMCE content filter to execute before other filters

I am looking for a JavaScript way of filtering the content when switching between the visual editor and the text editor. The filter is used to allow users to write code on both the visual and the html ...
0
votes
0answers
25 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
31 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
votes
0answers
32 views

Add another 'preview changes' button to Edit Page

I have overridden the default edit 'preview changes' button with the following (I do some pre-processing on it): add_filter('preview_post_link', 'custom_preview'); function ...
1
vote
0answers
10 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
56 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
144 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”?" ...
0
votes
1answer
76 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
48 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
31 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 ...
0
votes
0answers
40 views

Custom wp_editor content format missing

I am using this code to render wordpress editor like page body editor. $content = ''; $editor_id = 'mymail_html_template'; wp_editor( $content, $editor_id, $settings = ...
0
votes
0answers
344 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. ...
0
votes
0answers
23 views

Change HTML Output of Wordpress RTE

after I selected some text and clicked the "list"-Button in the RTE, wordpress wraps it with <ul></ul> and <li>'s of course. Now I need to add a class to the UL. How to do that? ...
0
votes
0answers
178 views

How to set ckeditor to VISUAL mode by default instead of HTML mode in bbpress

I've just installed bbpress and ckeditor. I have only these plugins activated and my theme is twenty twelve. So when in the blog part, I mean the main page and such, ckeditor works perfectly. This in ...
5
votes
1answer
989 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 ...
7
votes
1answer
884 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
54 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 ...
2
votes
1answer
964 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? ...
0
votes
1answer
31 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
45 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 ...
1
vote
3answers
240 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
1answer
225 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
2k 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
271 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
154 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 ...
1
vote
2answers
361 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
224 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 ...
1
vote
0answers
114 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
215 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
66 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 ...
2
votes
3answers
907 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: ...
1
vote
0answers
533 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 ...
2
votes
2answers
2k 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 ...
0
votes
1answer
120 views

insert link in wordpress editor greyout whole screen?

Pulling my hair with this strange issue. When I want to insert link in wordpress page or post, my whole page screen is greyed out, and insert link feature dont work. I tried to disable plugins, insert ...
4
votes
6answers
8k 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 ...
1
vote
1answer
122 views

HTML editor accessing quicktag buttons

I'm stuck in searching a way to access the quicktag buttons on the html editor with jQuery. I tryed to access the buttons with .each() and .children() but both won't work. jQuery( document ).ready( ...
6
votes
1answer
955 views

Hide “Add media”, html editor from tinymce

I have a custom post type which supports editor. (WordPress ver. 3.5) I want to customize the editor for it. Make it readonly Hide "Add Media" button Hide HTML editor Remove status bar showing word ...
2
votes
2answers
2k views

How to to stop html editor from addig <p> tags to shortcodes, images, etc

I know this this is covered as individual topics but What I am looking for is a single function that stops <p> tags from being wrapped around via the Wordpress editor to shortcodes and images ...
2
votes
1answer
276 views

why do HTML Comments in the WYSIWYG break the page display?

This question is about HTML code comments <!-- like so --> rather than about post/page comments. I specify the WYSIWYG, but this problem arose in the HTML view, not the Visual. I've been ...
0
votes
1answer
268 views

Create keyboard shortcuts for HTML mode

I always use the HTML editor for writing all my post. So I always have manually typed all the tags such as "<strong></strong>" for bold... "<i></i>" for italics etc. I don't ...
0
votes
1answer
81 views

Why is `--` converted into ndash and how can I get rid of it?

I have a blog where I publish Linux tutorials. Some of the commands I listed have a -- before command-line arguments. e.g.: dpkg --get-selections. The problem is that WordPress automatically switches ...
2
votes
1answer
764 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 ...
0
votes
1answer
196 views

Commenting out in HTML editor breaks template

There is a certain section of HTML that I need to comment out within the HTML editor in Wordpress. But when I do so, it breaks the HTML. After looking at the source code, I noticed that it converts ...
1
vote
2answers
409 views

functional quicktag

I want to add quicktags that do more than just add markup. For instance, I would like to add a quicktag to run a function do apply a js regex on the page content. How can I add a quicktag that ...
1
vote
0answers
212 views

How can I remove <br /> line breaks from manually formatted HTML?

I see a lot of posts here and elsewhere having trouble adding line breaks for some reason, but I'm trying to remove them. I'm new to WP, and I see that when editing in "HTML" mode the text is rendered ...
0
votes
1answer
142 views

How can I create an alternate full-HTML editor for posts?

I have created a custom post type; the content of this custom post type should be a full html page - not just a snippet of html. The standard editor appears to interfere with the html and it does not ...
4
votes
2answers
524 views

Enable / Add Custom Keyboard Shortcuts To Work With WordPress' HTML Editor

I use Markdown in my posts, and the plugin I use for that purpose requires the Visual editor be disabled. The HTML editor is pretty much just a text box. To make writing easier, I would like to ...
3
votes
2answers
831 views

WP Editor strips input placeholder attribute

Why WP Editor also strips the "placeholder" attribute of the input text element ? Ofcourse, i am using the HTML mode. Here is the input: <input type="text" value="" name="s" style="width: 550px;" ...
0
votes
2answers
458 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 ...