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

learn more… | top users | synonyms

-1
votes
2answers
22 views

How to register HTML data-accordion as an allowed attribute in KSES [duplicate]

Does anyone know how to register data-accordion as an HTML attribute in KSES? I've tried to use the codex but is not specific enough to tell how this is done. Thank you
0
votes
2answers
1k views

Adding Content Areas to Custom Page Template

I am not sure how to ask this, which is why I have been having trouble finding anything via google searches. I am hoping someone here will understand what I am looking for and be able to direct me to ...
0
votes
0answers
18 views

How to register data-accordion as an allowed attribute [duplicate]

Continuing my now protected question from earlier at How to retain HTML5 Attributes on Markup: How do you "register data-accordion as an allowed attribute" @Rup ? I looked at the Codex and it is not ...
2
votes
0answers
52 views

How to retain HTML5 Attributes on Markup

I have a page with certain html markup and element attributes as shown in the snippit below: <ul class="accordion" data-accordion=""> When I edit the page as a user with the WP Administrator ...
0
votes
1answer
891 views

Allowing style tag in TinyMCE editor

In cases i want to add individual styles for an element its easy i just add inline styles inside p tags, because _wp_add_global_attributes has style attribute.... but when i want to add tag itslef ...
2
votes
3answers
167 views

How do I remove or disable “Or link to existing content” in “insert link” dialogue?

Don't ask why. Image below pretty much ask what I'm looking to achieve:
5
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.. &...
0
votes
1answer
1k views

Plugin permissions for Editor role

I've added a plugin called Orbisius Simple Notice but I notice this applied to several plugins I have installed. The plugin works fine when logged in as an Admin. However, my clients who manage the ...
0
votes
1answer
13 views

bulk media crop for featured images

I want to select all the images which are used as "featured image" on woocommerce products and modify and crop the images to fit a specific height. Does anyone know if there is a plugin available or ...
7
votes
3answers
1k 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 ...
0
votes
1answer
348 views

Resize Rich Post Editor in Chrome

For some reason, I'm not able to resize the text editing area on my site's WordPress install in Chrome or Firefox. I can resize the HTML editor, which shows a resize indicator in the white text editor ...
0
votes
1answer
655 views

Allow editors access to added plugins

I created a custom plugin which i want Users who are Editors to be able to use the plugin. I found a link here to allow access for editors to allow editors to edit menusallow editors to edit menus? ...
4
votes
1answer
457 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 ...
1
vote
1answer
26 views

Is there a way to show only the text editor

I'm working on a desktop app and I'd like to show only the editor and it's toolbar. I'm able to load and save the past content easily enough through the app but I'd like to be able to reuse the ...
1
vote
1answer
62 views

Open link in a new tab checked by default when adding a new link in visual post editor

When adding a link in the WP visual post editor you have to click the settings after adding the link and then click the Open link in a new tab to have it add a link with a target in a new window/tab. ...
1
vote
1answer
2k views

Our shortcode dropdown box in Tinymce is not working in WordPress 3.9?

Hi since the new version is about to be released I thought I would download it and see if my theme works still. Everything works great apart from the dropdown box which is now longer showing. Here ...
0
votes
1answer
70 views

stop Wordpress removing shortcode from content [closed]

I've found that Wordpress is removing &nbsp; from my content, so from this page, I added the following to my functions.php: function nbsp_shortcode( $atts, $content = null ) { $content = '&...
0
votes
0answers
19 views

Turn shortcode into HTML view right after the user types it in the admin editor

WordPress automatically embeds from many providers. Let's say I type an URL from YouTube in the admin editor, it instantly shows the video at "Visual" tab, the iframe embed, but the URL remains ...
0
votes
1answer
28 views

How to add custom 'layout' buttons to wordpress editor?

I'd like to modify the editor by adding some 'layout' buttons. Ideally, I'd like to add the ability to add some html 'partial' by simply clicking a button. This is to help my client to create pre-...
2
votes
3answers
845 views

Editing Screen: Make Update or Publish Button Follow The Page

The Problem: I am currently in the finishing stages of a premium theme I've been developing and all is mostly well. For pages I have a few custom meta boxes for adding in slideshows and other ...
5
votes
0answers
100 views

Why did multiple line breaks stop working in text editor?

# Adds ability to add break tags on posts remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' ); add_filter( 'the_content', 'nl2br' ); add_filter( 'the_excerpt', 'nl2br'...
0
votes
1answer
21 views

How to add content with a filter when there's no content in the editor

I'm building a plugin to create page sections (with ACF and repeater field) and I want to add the sections at the end of the content. The sections are added to the content, but only when there's ...
0
votes
1answer
97 views

WordPress 4.5 Inline Link Toolbar not working on custom wp_editor instance

I am having an issue with initializing the inline link toolbar in a custom instance of the WP editor. The instance is added in a dynamically loaded modal using the wp_editor function and some ...
3
votes
4answers
15k 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?
0
votes
0answers
15 views

Limit editing capabilities to one page [duplicate]

I have one user on WP website. I want to give him editor role because he need to edit pages and as I see - edit_pages capability requires user to be at least editor. The problem is that i want to ...
0
votes
0answers
11 views

Bringing the backend form to the front

I want to give the admin the ability to edit a page/post from the front end, without navigating to the backend. Is there anyway to get the form (edit page/post) with all of the fields and display it ...
1
vote
0answers
110 views

Avada - Fusion Builder: add custom shortcode to Fusion UX editor [closed]

I want extend Fusion Builder with a custom shortcode. I know how developing custom shortcode but i don't found any documentation on how do add this shortcode in the Fusion UX (admin area). Only way ...
3
votes
3answers
852 views

post editor changes & to &amp;

The editor seems to change every ampersand (&) to & is there any way to get rid of that function or something? I really need the only & to make my variables work.
12
votes
1answer
6k 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 ...
0
votes
0answers
52 views

Stop TinyMCE removing empty block level elements

I'm currently trying to write a plugin for TinyMCE that takes advantage of bootstrap's grid system. It's going well for the most part, but I'm having a problem with the editor removing columns when ...
0
votes
1answer
67 views

Why WordPress not using WP_Filesystem

On wp-admin/plugin-editor.php and wp-admin/theme-editor.php, why WordPress not using $wp_filesystem to read and modify the file? if writing and modifying file do not require wp_filesystem then when to ...
1
vote
2answers
88 views

P̶l̶a̶c̶e̶h̶o̶l̶d̶e̶r̶ *Default* content in Custom Post Type TinyMCE editor

I know you can customize the placeholder default text of the 'Post Title' field, but is there any way to display placeholder content in the actual TinyMCE post editor? Ideally I'd like to display ...
4
votes
1answer
704 views

Search/Replace for editor in HTML-mode

Is there a way to do a Search and Replace from the editor in HTML-mode? Plugins I found work in the visual editor, we are working only in HTML-mode, therefore -not- appropriate for what we do. I would ...
2
votes
2answers
858 views

Change padding to text indent in “Increase indent” TinyMCE

If you click "Increase indent" in the visual editor it adds the following code into the text editor: <p style="padding-left:30px;"> How to change it to text-indent: 30px; not affecting the ...
0
votes
1answer
23 views

Password protected uploaded PDF page

I created a custom post-type called "designs" for this case. So I want the client to go to his backend and click "Create new Design", this will open up the create page screen, now I want my client to ...
7
votes
1answer
322 views

How to use wpLink without editor?

I would like to create theme option to add a link. Loading these scripts and triggering the dialog works fine if wp editor is present. wp_enqueue_script('wplink'); wp_enqueue_script('wpdialogs'); ...
0
votes
0answers
101 views

Extending TinyMCE to Work with Medium Editor

I'm trying to extend tinyMCE. What i'm trying to achieve is to use this Medium Editor extend tinyMCE functionality as buttons within the backend Page / Post / Custom Post Type. This is similar to ...
0
votes
0answers
18 views

Image Post creates unusual extra HTML

When I post an image using WordPress, I'm getting additional HTML being created which spills out after the image. E.g. see http://www.snowcrash.eu/typing-pinyin-on-a-mac/ The HTML in Text Mode of ...
1
vote
0answers
31 views

Editors change a permalink on an unpublished post, but only admins change a permalink on a post that has ever been published?

Is it possible to have the Editors to change a permalink on an unpublished post, but only admins change a permalink on a post that has ever been published? I can hide the button for non admin but I ...
-2
votes
1answer
44 views

Why are many options missing from the editor?

I want to say for the record that I'm extremely new to anything related to Wordpress. So my editor looks like this: I see all sorts of screenshots and blog-posts everywhere that show a much much ...
1
vote
1answer
89 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
67 views

Visual/Text Editor displays blank pages in WP-Admin- but HTML on client side displays correctly

Theme: Hemingway, Twenty-Sixteen Host: Bluehost Browser(s): Safari, Chrome OS: OSX El Capitan 10.10.5 (14F1605) Website When I try to "Edit Page" visual editor screen is blank, in both Text and ...
7
votes
1answer
57 views

Let private posts stay in status “private” after edit through “editors”

I'm using some private posts for intern purposes. When an editor changes something on these posts, its status turns to pending "review" and I have to publish it again as a private post. When an ...
0
votes
1answer
77 views

How to hide editor, but keep media library access

How do I hide the editor from a custom post type, but retain the ability to access the media library? I have registered a custom post type and created a meta box for it that allows users to upload ...
0
votes
1answer
43 views

Save editor's value in user meta and retrieve it

I am making user meta fields. I have to implement a field named business_profile and implement editor on it. I have implemented the editor but I can't seem to either save its value or retrieve it. ...
1
vote
0answers
59 views

How can I register a custom “Text Pattern” (WP 4.3) for TinyMCE?

WP 4.3 added some really cool editor features: https://make.wordpress.org/core/2015/08/01/editor-enhancements-in-4-3-%E2%9C%A8/ The "Text Patterns" are really useful to create lists, quotes and ...
3
votes
0answers
335 views

Initialize TinyMCE editor / visual editor after AJAX insert

I have a "repeater" style field group on a custom options page. There's an active visual editor in a hidden state, and when the user clicks "add new" the whole row is cloned. I then need to initialize ...
4
votes
4answers
2k views

How can i add some static text above the editor?

I created a custom post type and i want to display some text on the editor page below the title and above the text editor. How can i do this? I tried using add_meta_box, but i wasn't able to move it ...
0
votes
1answer
18 views

How can show my images style from editor

I have problem when edit an news in post editor, and set the images from editor align left and open site, i cannot see the image in left said. How can set the post style from editor not from style
1
vote
0answers
39 views

CKEditor: Uncaught TypeError: switchEditors.switchto is not a functiononclick

Only the buttons Add Media, HTML and Visual show up after installing CKEditor for WordPress. In addition, encounter the following error while clicking to HTML or Visual by using the tool Inspect ...