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

learn more… | top users | synonyms

0
votes
2answers
15 views

Cannot enter “::before” for li tag when editing a Wordpress page

I want to enter into my page content, under text mode editor, the HTML syntax which is ::before for my li tag. But when saved, Wordpress automatically changes that to "::before" WITH quotes. I don't ...
-1
votes
0answers
19 views

need a good code for open and close tag wordpress editor [closed]

hi i need a good code for open and close tag wordpress editor 1.The button on first click shoud open and on second click have to close </b> tag 2.Add active class ! 3.How to ...
1
vote
0answers
19 views

Change syntax styling of TinyMCE HTML Text Editor

So I have customized the CSS display for the TinyMCE 'Visual Editor' by using this here: /* Add Theme CSS to WP Content Editor -------------------------------------------------- */ function ...
0
votes
0answers
39 views

Editor Styles Not Working

I am trying to re-style the TinyMCE editor here: http://dannymcgee.net/duskguard/forums/forum/general-discussion/ I've tried both of these in my functions.php: add_editor_style(); or ...
0
votes
1answer
11 views

Open 'View Page' Button in Editor in new Tab

I know it sounds like a Basic Question and I did google first. Google lead me to edit /wp-admin/edit-form-advanced.php to put target='_blank' there. I did that, but this doesn't seem to affect the ...
3
votes
3answers
67 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 ...
0
votes
1answer
22 views

`tinyMCE is not defined` after migrating site to server

After migrating site tinyMCE (text editor) top bar have disappeared & text color have changed to black, I am getting 4 errors in concole and below is a snapshot of it. I am using WordPress ...
0
votes
0answers
15 views

Wordpress editor filters out my data from $_POST

I am currently working on a translation plugin in Wordpress. I added a navigation bar on top of the editor like this: add_action('edit_form_top', array($this, 'add_tabs')); In that function, I add ...
0
votes
1answer
44 views

how to see P and BR tags in tinymce?

As a developer, I'd really like to have the ability to see every tag written out on the editor in source mode. Is there a way? Some filter, action, or so?
0
votes
0answers
25 views

Why can I not paste an image from the clipboard?

At some point, I remember being able to paste images from the clipboard straight into my post as I was editing. This no longer works. I just upgraded from 3.something to 4.2.2 to see if that would ...
0
votes
0answers
18 views

Post thumbnail editor issue

The post thumbnail editor suddenly stopped working. It gives me the following error. "No crop selected". But I have selected the thumbnail size. As I turn on the debugging mode it gives me the ...
0
votes
2answers
34 views

Post thumbnail is not shown in wp-admin

I am currently working on a theme for a client and now just got into a problem: When I want to set an image (also existing/already uploaded images don't work) the editor just not accept it and don't ...
0
votes
1answer
32 views

make categories editor unchangeble for my post_type

In WP 4.2 project I added new post_type using register_post_type function and taxonomy using register_taxonomy function and 2 categories using wp_insert_category function. That all works for me ok, ...
0
votes
0answers
34 views

wordpress default editor not supporting the krutidev font

I made a wordpress site at asphostportal.com for media group in hindi language . I am facing a problem that wordpress default editor not supporting the krutidev font. client is typing in m office in ...
0
votes
0answers
48 views

TinyMCE custom button disapear from visual editor after wordpress update

I am using typegrid wordpress theme. This theme comes with shortcodes buttons on visual editor but when i updated wordpress to 3.9 the shortcode buttons on visual editor disappeared. Can some one ...
0
votes
1answer
22 views

Add functionality to post editor

I can't find any documentation to add a functionality to the post editor. I've got this so far: http://www.wpbeginner.com/wp-tutorials/how-to-add-custom-styles-to-wordpress-visual-editor/ But I ...
1
vote
1answer
49 views

Add table button in editor without Plugin

i want to add the "tablecontrol" ty the editor. This is what I've tried: function my_mce_buttons_1($buttons) { $buttons[] = 'superscript'; $buttons[] = 'subscript'; $buttons[] = ...
0
votes
3answers
225 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
0answers
73 views

image_send_to_editor filter - Unwanted paragraphs and line breaks

I'm using image_send_to_editor to filter the output the images that are inserted to my posts. The filter works perfect except for when I'm updating/saving the post. A new paragraph with a line break ...
0
votes
1answer
24 views

used code below to allow Editor access to menus - but change permanent, how do I revert?

I have tried the code below to allow Editors to access menu settings. I then removed it from functions.php but the Editor access is still there so looks like this has made a permanent change! Ayy ...
4
votes
2answers
498 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
2answers
35 views

Wordpress shows admin's avatar after editing a comment

Recently I updated my wordpress to 4.2.1 and now I have a problem with editing people's comments. After editing them, the avatar picture of who edited the comment is shown instead of the avatar of the ...
0
votes
0answers
13 views

Extend, not replace, editor styles and formats [duplicate]

I want to achieve the following with the TinyMCE (Advanced) Editor Keep the Format button (added through functions.php), which enables me to choose headings and many more formats Extending with my ...
0
votes
0answers
18 views

WordPress Post Editor Closing Tags Early

I need to place markup into the wordpress editor (yuck, I know) but WordPress magic is happening that I do not want. I enter code in like this: Then after hitting 'Update', the markup has changed ...
0
votes
1answer
40 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? ...
1
vote
1answer
43 views

Bulk edit contents of pages

I would like to know how to edit the content area for many pages. I have many options for bulk editing of pages, such as parent and sidebar, like this image: But I can't do this for the actual ...
0
votes
1answer
38 views

Editor Widget Role

i need to give to editor role the access on widget (or if possibile on a specific widget). I use the code on this question and function but i have a problem. The editor can see the widget and also ...
0
votes
0answers
22 views

Add menu item for page with ID

I'm trying to leave Wordpress for my client as a simple and usefull CRM, but I stuck with one thing. I have one page with few main sections (groups of products). I don't want to separate every section ...
0
votes
1answer
32 views

Disabling “View” mentions from backend?

I'm using wordpress as a content manager or something, so i'm using backend only (and i've disabled the frontend with a ghost theme which redirect to the admin panel). The question is: how could i ...
0
votes
0answers
131 views

Check if textarea has quicktags initialized already

I am using wp_editor() to output an editor field. By setting the 'wp_skip_init' to true, I am preventing TinyMCE from getting initialized automatically. Here is the code that renders the editor field: ...
0
votes
1answer
231 views

wpautop - disable <br> tags, keep <p> tags

I write My articles in Emacs and they end up having tons of newlines, with double newlines to separate paragraphs. Ideally, I want wordpress to work like markup does, meaning it ignores single line ...
3
votes
1answer
251 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 = ...
0
votes
2answers
112 views

Accidentally deleted php code in Wordpress website [closed]

I have a website: www.convert2latex.com . While trying to remove the "continue reading", I accidentally deleted some code and updated it in the theme editor's functions.php. Now the website does not ...
1
vote
0answers
28 views

Opening Brackets Do Not Format to Paragraphs in Visual Editor

I'm having issues with paragraphs in the visual editor. So let's say I create a blockquote, type the first line, hit enter. It makes a new paragraph. Shift + enter makes a new line. Just like usual, ...
0
votes
0answers
68 views

Add text editor to custom widget

I am aware of a few plugins that simply add a rich text widget, but I want to make a widget that will wrap the whole input in a class to be used in the page editor plugin. I just want to add a ...
0
votes
0answers
85 views

How to open full Media Editor in a frame

I'm oppening media editor with this code jQuery(document).ready(function($) { var frame; var id; // Build the choose from library frame. $(document).on("click", ".upload_image_button", function() { ...
0
votes
0answers
45 views

Create slider option in editor

In my website there is post thumbnail slider along with post featured image. Post thumbnail slider will show images related with blog post. I want when we write any post then it will allow me to ...
0
votes
1answer
48 views

Better code/text editing for posts and pages?

What is the most well known or liked method or plugin to improve the text editor for posts/pages? I would love to have syntax highlighting and formatting, along with other IDE type functionality in ...
0
votes
1answer
159 views

Show all tags on custom post type

I'm attempting to show _all tags on the editing screen on a custom post type (products). Adapting these instructions I've created a simple plugin as follows: add_action( 'wp_ajax_get-tagcloud', ...
0
votes
1answer
55 views

change width of the fullscreen editor

I'm using wordpress 4 and want the fullscreen page editor to be just as wide as the text of my page. eg 1024px. I tried setting #wp-fullscreen-wrap in my css and the dfw_width option but they all ...
0
votes
1answer
542 views

Disable HTML (Text) Tab in Post Editor

I am attempting to disable the Text tab in the post editor but not having any luck. The first thing I want to do is set the Visual editor to be the default but this code does not work (it is being ...
0
votes
1answer
364 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 ...
1
vote
1answer
59 views

Can't format content of Rich Text Editor in Template

I use following functions to add a new rich text editor in admin . add_action( 'add_meta_boxes', 'adding_new_metaabox' ); function adding_new_metaabox() { ...
0
votes
0answers
86 views

Add custom field to edit media WP 4.0.1

I try to add a custom field for media edit from WYSIWYG. But the attachment_fields_to_edit filter does not add the field on the edit popup. When you click on a image and then click on the edit icon. ...
0
votes
0answers
44 views

Creating an editable component in TinyMCE editor (like Read More component)

I want to create a component in a TinyMCE editor that is created by clicking a button in a toolbar. So I already managed to add a button to a toolbar and add some text to an editor by clicking it, but ...
0
votes
0answers
84 views

style tags dl dt dd not showing in posts on server

Whenever I align an image for example, the editor wraps the image in a div with class aligncenter. But when I view the post/page on the server the div is stripped out. How can I prevent this? And ...
0
votes
1answer
77 views

Remove heading tags on line break

I have to add line breaks in a h1 paragraph using the visual editor. On every line break Wordpress automatically adds h1 tags to every new line. Example: <h1>Watsup</h1> ...
0
votes
1answer
14 views

Content around featured image

any ideas how I can make this way: : http://f.cl.ly/items/41332V031Z1G2h0j0B33/example.jpg I have product image as featured image now. And I want to move text what is written in editor next to it. I ...
0
votes
1answer
49 views

How to paste into Wordpress editor without changing existing formatting in editor?

When you paste text into the default WP editor, say, right into the middle of existing text, the editor does not infer that you want to maintain the existing font-size and style in the document. ...
1
vote
1answer
78 views

How to leave a line between paragraphs when writing text in the visual or text editor

Im using the inbuilt text editor in Wordpress 4.0 to edit some content, Ive got 2 paragraphs and would like to leave a blank line between the two. To do this i could add a <br> element between ...