'Editor' is one of several default user Roles in WordPress

learn more… | top users | synonyms

25
votes
1answer
2k views

Is there a plugin that provides a stackoverflow style editor for wordpress? [closed]

I am tired of the tinymce editor in wordpress and I really love the stackoverflow editor which allows me to write with markdown grammar. So I want to write blog with markdown in wordpress. Now I am ...
20
votes
9answers
15k views

Stop Wordpress Wrapping Images In A “P” Tag

I have searched high and low for a simple solution to this, but to no avail. Wordpress keeps on wrapping my images in p tags and because of the eccentric nature of the layout for a site I am working ...
15
votes
6answers
16k views

Extra TinyMCE editor strips <p> and <br> tags?

Hey guys, I've added a TinyMCE to some textareas that are displayed in a custom meta box. All of the formatting works perfectly fine, except that the editor will not save <p> or <br/> ...
11
votes
5answers
3k views

Resizing images to the actual size used in the editor?

Is there a way to resize images to the actual size they will be shown in the post? I have users that import a large image and then resize it in the visual editor. This is easy, since they can just ...
10
votes
1answer
4k views

Solution to render Shortcodes in Admin Editor

I have asked this question about a year ago and I am hoping there is some type of simple solution which will allow me achieve my objective. So here it goes: I often utilize shortcodes within the ...
8
votes
2answers
2k views

WordPress 3.9 - Trouble Editing new TinyMCE

With WordPress 3.9 coming soon it's bringing along TinyMCE 4.0. I'm running my plugins and functions through some testing and found that one of my functions seems broken / not working with the new ...
8
votes
2answers
1k views

How set defaults on wpLink()

With WP 3.2, WordPress maybe has a new function to add Link-Quicktags to the editor. But I found an function to set defaults for the link-button: Take a look at wplink.js Line 278. ...
7
votes
1answer
5k views

Why is the visual editor in WordPress limiting the width by wrapping the content?

Why is the visual editor in Wordpress is limiting the width by wrapping the content? I found this behavior in the editor at least annoying, it does prevent me from using my screen real estate.
7
votes
2answers
5k views

Open a Thickbox with content trough AJAX

I added a custom button to the TinyMCE editor, and I want to open WP's Thickbox when I click on it. How can I make it so that the tb_show() function loads the content I want with ajax? // the ajax ...
7
votes
3answers
1k views

Editor Styles and Typekit

My website uses typekit to grab custom fonts, which works on the frontend. I'd like to put this in my editor styles in the backend. However, I don't know how I would do this. Typekit uses a js embed ...
7
votes
3answers
496 views

How to modify image editor dialog options on WordPress?

I am trying to hide the Alignment radio buttons for images uploaded to the post content area, but can't figure out how to add a custom CSS or JS file to the Image Editor dialog. I've successfully ...
6
votes
3answers
817 views

How to add “Stick this post to the front page” to front end?

I have a baseball related website with multiple authors. I use the "Stick this post to the front page" to denote an "Editor's Pick" on an article. I would like to add a link/button to allow editor to ...
6
votes
4answers
3k views

Disable WYSIWYG editor only when creating a page

I read several articles about configuring the WordPress editor. For example, this snippet shows how to permanently set the editor to HTML or WYSIWYG for all contents. I'm wondering if it's possible ...
6
votes
1answer
681 views

Allow user to “edit_others_posts” to save only, not publish

I want to add a couple of editors that can edit_others_posts, but I do not want them to be able to publish others posts, only save the post by clicking on the Submit for Review button. How can I do ...
6
votes
1answer
2k views

Allow Editors to edit pending posts but not draft ones

I have a large number of users with Editor Capabilities that help to go through the post submissions. This is my current setup for this role: As you can see, they are allowed to edit_posts and ...
6
votes
2answers
5k views

Wordpress crop tool greyed out

The wordpress crop tool is greyed out for me in Firefox 3.6 (and IE7/8). I have disabled firefox add-ons and tried the solution here: ...
6
votes
1answer
2k views

How to edit posts with the new wp_editor api?

I am using bbPress 2x and modified the plugin to use the new wp_editor in place of the textarea for adding new topics and replies. This part works beautifully. Where I am stuck is when a person ...
5
votes
1answer
1k views

Get a button for <hr> in the Editor

Somehow the WordPress editor doesn't have a button to insert a horizontal line (<hr /> in html). Is there a plugin that adds this button? Or an easy way to add such a button myself?
5
votes
1answer
1k views

Is it OK to remove theme credits from footer? [duplicate]

The file named footer.php contains the copyright info: Designed by ... Is it OK to remove theme credits from footer? Is it legal?
5
votes
1answer
174 views

Listen to Post action

I am writing a plugin that adds a custom metabox to the post page. I would like to trigger an event when the user navigates away from the edit post page or when a user stops editing a specific post. ...
5
votes
4answers
3k views

No filter of code on switch from html to visual editor, how?

Yes, i have found other questions to this topic, but no have the same topic exactly and no solution for my problem. If you include code inside the html-tab and you switch to the visual mode, then ...
5
votes
2answers
5k views

How to add multiple buttons to TinyMCE?

I've followed a tutorial on Nettuts on how to add a custom button to TinyMCE (http://net.tutsplus.com/tutorials/wordpress/wordpress-shortcodes-the-right-way/) It works great and all, but i want to ...
5
votes
4answers
5k views

WordPress admin screen very slow / timing out when editing or adding a new page/custom post

I'm new to the site but appreciate any help you can give. I have a WordPress set-up which (rightly or wrongly) has hundreds of pages and thousands of another custom post type which is also based on a ...
4
votes
4answers
6k views

Custom Post Types: How-to get rid of editor (-meta box)

I'm questioning how i can get rid of the post-editor (visual + html). I tried to not register post type support, and it still appears (de-registering works fine with every other default meta box on ...
4
votes
6answers
9k 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 ...
4
votes
6answers
7k views

How to see files in directories in “Edit Themes” screen

I like to have folders in my theme folder for scripts and styles, but I can't access these folders in the "Edit Themes" interface. This is problematic for clients that don't give me FTP access. Is ...
4
votes
3answers
4k views

Adding a rich text editor to Excerpt

I need add to the excerpt field the TinyMCE Advanced editor, any ideas? I have the qTranslate plugin (multilanguage), and it's impossible to connect teh excerpt with this plugin and an editor. ...
4
votes
2answers
3k views

Forcing reload of editor-style.css

Is there a method to force the refresh of editor-style.css, when I change manually the stylesheet for the TinyMCE editor? Modification doesn't show immediately but they will be cached in the admin ...
4
votes
2answers
492 views

How to add editor's name to entry meta byline?

I have one multi-authored blog site and a few editors. What I want is to display the name of the editor along with the author's name in a post, so that it would read like: Posted by , Edited by Is ...
4
votes
1answer
872 views

How to group meta boxes on the post edit page

I suspect that this is not possible right now, but oh well.. I'll ask, maybe one of you has some intersting thoughts to share. So let's say we have the following taxonomy terms meta-boxes on our post ...
4
votes
1answer
1k views

Stop certain classes showing up in TinyMCE Advanced Style dropdown

I'm using the TinyMCE Advanced plugin so that I can add my own custom styles to the Style dropdown in the Visual Editor. However, I don't want some of the styles that are included in the style.css ...
4
votes
1answer
52 views

Keyboard shortcut for updating a page or post?

What is the keyboard shortcut key for updating a page or post? It could save me a lot of time as rolling down a page draft is time consuming.
4
votes
2answers
576 views

Admin: very slow edit page caused by core meta query

We've been noticing really long load times when going to edit a post or page. Using Query Monitor, we found that this WP core query is taking upwards to 15-20s. SELECT meta_key FROM wp_postmeta ...
4
votes
2answers
2k views

When switching from html to visual editor the <iframe> tag gets corrupted

I'm trying to embed an iFrame, and because I set up some CSS using responsive design, I wish to NOT have width="" and height="" attributes whatsoever. When I type this into the HTML editor field.. ...
4
votes
2answers
1k views

Drag-and-drop “Panels”-style visual layout editor?

I'm a combination Drupal and WordPress developer and have recently started playing with Drupal's Panels module -- which allows you to create flexible layouts and drop content blocks (The Drupal ...
4
votes
3answers
1k views

Has anyone managed to integrate the wp_editor inside a widget?

Adding this in the widget form method: wp_editor($text, $this->get_field_id('text')); seems to work. But after you press the "Save" button the widget goes funky... Adding ...
4
votes
2answers
581 views

use Wordpress theme / plugin editor in my plugin

Is there a way to use the wordpress theme / plugin editor inside my plugin to give the user the ability to edit the css file of my plugin ? Im building a plugin that gives the user an option to add ...
4
votes
2answers
3k views

How can I publish Word files to a WordPress blog without losing the footnotes?

I would like to take the contents from Microsoft Word files and convert them into WordPress blog posts without losing the footnotes. I've tried many different methods but have not found a simple ...
4
votes
1answer
681 views

Markup of oEmbed codes in the editor?

Is there a way to give oEmbed codes a special markup in the visual editor? In my dream implementation you paste an oEmbed-enabled url in the editor, which will then automatically replace it with a ...
4
votes
1answer
409 views

Customizing HTML Editor Quicktags button to open a dialog for choosing insert options

I am looking for adding custom quicktag buttons,that would allow me to display a intermediary dialog before inserting the code. Situation 1) Clicking a quicktag button opens a dialog or thickbox ...
3
votes
5answers
10k views

Front end post editing using a form

I have a custom-post type with the standard meta boxes and some custom fields. How could I edit a post through a form in the frontend?
3
votes
3answers
2k views

Editing Source Code in Wordpress

I am a senior in a college computer science program, and therefore have a decent knowledge of code and several languages. However, I am doing a summer internship type program, and the company I am ...
3
votes
2answers
2k views

Disable Visual editor for all users

Is there a way to Disable the visual editor for all users without logging in and setting each user's setting in the admin panel, preferable some way to do it with code in the functions file?
3
votes
6answers
4k views

How to force TinyMCE in WordPress to replace newlines with <br> tags and not with <p>&nbsp;</p>

TinyMCE editor inserts <p>&nbsp;</p> instead of <br> tags when I press enter in my text for a new line. How to force TinyMCE in WP to replace newlines with <br> and not ...
3
votes
4answers
3k views

Re Order Editor to be after meta box [duplicate]

I want to reorder stuff in a custom post. I got the meta box and editor working together, but currently the editor is above the meta box and I need it to be the other way around. This is the code ...
3
votes
3answers
77 views

Add class=“media_type” when media is inserted into editor

I am looking for a way to edit the link that get inserted in the editor when the user choose to add a media. The goal would be to add a class with the media type (pdf) in the link. I know how to get ...
3
votes
2answers
7k views

Wordpress Image Editor not working - conflict?

I am having a strange issue with the built in wordpress image editor. I have no problem uploading files or preforming any other media functions. The only thing I seem to be unable to do is utilize the ...
3
votes
3answers
495 views

how to limit edit_form_after_title hook to page and post edit only?

heelo, I want to use this great hook edit_form_after_title it was announced on December 1, 2012: http://make.wordpress.org/core/2012/12/01/more-hooks-on-the-edit-screen/ it curreclty hook for : ...
3
votes
1answer
281 views

How can I insert HTML attributes with an existing TinyMCE button?

When I insert an image into the post editor, select it and click the "align left" button, it automatically adds the alignleft CSS class to the image, like so : <img src = ...
3
votes
2answers
3k views

WordPress adds br in between my shortcode

I am having a problem where my markup is rendered incorrectly (more space because of <br />) as WordPress adds <br /> everywhere theres a line break eg. [x] [y]Hello world[/y] [y]A ...