Questions tagged [editor]

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

181 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
106 views

Gutenberg work with Bootstrap Shortcodes plugin

We are using now classic editor with the Bootstrap Shortcodes plugin. So after moving to WordPress 5, how this Bootstrap Shortcodes plugin work with Gutenberg editor. After upgrade to WordPress 5 ...
0
votes
1answer
349 views

Classic Editor text font color is white after installing the latest version of wordpress

I've updated the latest WordPress to the latest version and installed the classic editor for the editor. But when switch to the text mode font shows in white color.
0
votes
0answers
306 views

Gutenberg Block with Select from JSON-File

I would like to create a block for Gutenberg. I currently have a default configuration: function my_block_category($categories, $post) { return array_merge( $categories, array( ...
0
votes
0answers
18 views

Unable to find interface that lets me edit text on the front page

I'm trying to edit the text under the "Welcome" and the "A Little About Us" columns of the following website: http://prnphysicaltherapy.com/ However, under the "pages" button in the dashboard I'm ...
0
votes
0answers
45 views

Blank Screen Edit Page when using Editor Role

When I’m using other user roles to either edit page,add new page or event post I’m getting a blank screen. I thought it’s the W3 Total Cache doing this yet after I uninstalled it the problem still ...
0
votes
0answers
687 views

WordPress theme editor not showing

Why can I no longer see the Appearance > Editor function on the left hand menu in WordPress? It won't show up regardless of the theme. It used to be there before though correct? I wanted to add some ...
0
votes
0answers
99 views

Displaying Most Recently Edited Post

Is there a way of setting up my Wordpress blog so that the most recently edited blog post appears at the top of my homepage and any page to which it is linked?
0
votes
1answer
1k views

WP 5 how to add_editor_style for both tinyMCE and Gutenberg

Before Gutenberg blocks we used to add editor styles by using add_editor_style( array( 'path/to/editor-style.css', 'whatever.css' ) ); Now we have Gutenberg editor whose stylesheet is also loaded by ...
0
votes
1answer
317 views

How to allow editors to only edit certain categories?

Is there a way (through code or plugin) that can make each editor responsible on editing certain categories of the site
0
votes
1answer
35 views

How do I edit disclaimer/contact information?

I inherited this wordpress website called RxStudyGuides to use as a study tool for pharmacy students. However, the owner and creator of the website still has there contact information on the website ...
0
votes
1answer
13 views

Allow contributors to edit their own images

We are trying to create a site in WordPress that will allow visitors to the site register and upload their own content and images. I want them to be able to edit and delete their own images once they ...
0
votes
0answers
744 views

Create Button for Shortcode in Text Editor

I'm trying to figure out how to create a button in the WP Text Editor and TinyMCE Editor to trigger the following shortcode. It's a shortcode to create columns (connected with CSS Grid Foundation), ...
0
votes
1answer
302 views

wp_editor embed shortcode not working within my plugin

for my own plugin I have a create-form which includes at least two editor fields and I insert them like this wp_editor('', 'dbfield'); The editor is shown in the form, it gets saved into the ...
0
votes
1answer
41 views

incorrect url in Snippet editor

I am using Wordpress version 4.9.6 with Yoast SEO premium version 7.5.3. The trouble I am having is when I enter the Slug info in Yoast it then adds it to the URL in the Snippet editor, but it is ...
0
votes
1answer
11 views

Is it possible to remove the content editor (RTF field) for a certain user / role?

As per the title really, I'm wondering if there's a way to hide the main content editor for posts and pages from certain users / roles but let everyone else see it? I believe you can hide it ...
0
votes
0answers
68 views

Visual editor on front-end call not working properly

Since the upgrade of WP to 4.9.4, I am having a problem with WP's native editor in the front-end. The Text option are working but for Visual option, no buttons appearing and the texts are white. ]2 I ...
0
votes
1answer
152 views

Preserve indentation, HTML5 shorthand in editor

I know there are other questions about tinyMCE, but this one is a little different. Let's say I create an unordered list that drops the closing li tags. I also have class attributes that I don't want ...
0
votes
1answer
964 views

Removing add new pages form editor role

Hi I have set up multisite and I am the super admin. I want to remove the capabilities of "Editors" to add new pages. I made this change to my theme function, which removed what I want it too, ...
0
votes
1answer
113 views

How to show post title in content editor in backend?

Is this possible? I am trying to use a pre-defined template for my contents. To do that, I use something like this: add_filter( 'default_content', 'custom_editor_content' ); function ...
0
votes
2answers
32 views

How to create different gallery-types and let the editor choose between them?

What I want to achieve The editor should be able to add galleries via the native wordpress way and choose between 3 different gallery types. These 3 types should all have their custom code-output, ...
0
votes
0answers
117 views

Dynamically write in editor with Javascript

Let's assume I'd like to add a button to the wordpress article/page editor. The goal of that button is open a popup. The popup should contain options to automatically write a shortcode in the text. ...
0
votes
1answer
19 views

Pasted image and text in the editor doesn't work

When I paste my image + text code in the "HTML" part and go to preview there should be my picture plus the link imbedded. It isn't working, the only thing showing is the text that I just pasted. Can ...
0
votes
1answer
24 views

how to update editor content from metabox

hello am trying to update and add editor content from metabox not using the default editor so i tried to use wp_update_post($array); but doesn't work it cause issue Fatal error: Maximum ...
0
votes
0answers
46 views

How to allow some visitors to edit inline specific post

I would like to allow some determined people to be able to edit a determined post via the front end. For example, let say, I have two posts A & B then I want Alice to be able to edit post A but ...
0
votes
0answers
299 views

remove public static function wp_link_dialog()

How can remove public static function wp_link_dialog() from class-wp-editor.php by adding a code inside function.php of my theme? My theme use WordPress editor at the frontend of the site and this ...
0
votes
1answer
24 views

Inserting javascript file into theme template?

Is there any way to insert an existing .js file into a themes editor in the appearances section? So that you can click on it and edit it like you can a PHP file or the CSS file, I haven't been able to ...
0
votes
2answers
740 views

Publish, Save Draft and Preview buttons do not work after being moved with jQuery

I'm trying to change the layout of the post-new.php page and as part of this I would like the publish, save draft and preview buttons below the form rather than to the right. So in my plugin js file ...
0
votes
1answer
845 views

Add WordPress Core CSS into editor-style.css

I am using a custom child theme (from Parabola, Cryout Creations, lastest version), but it seems that the editor-style.css file is not up-to-date. Rather than rewriting everything, I would like it to ...
0
votes
1answer
651 views

Is it possible to disable the image alignment options in the post editor?

By default, when you insert an image into a post, it has some image alignment options (see below). In my theme I want every image to be full width. Of course, it's easy for me to change the front-end ...
0
votes
1answer
181 views

Visual editor popover or placeholder

I am using the tinyMCE visual editor to allow users of my site to submit some content. I would like to layout the guidelines of their post to them (eg: "Be specific, be thorough"). The most obvious ...
0
votes
1answer
656 views

What's the best way to trim content from WYSIWYG editor?

I have done an excessive amount of googling and haven't found exactly what I need yet. The client uses the editor (WYSIWYG) to create posts. She adds photos, links to external photos, videos, embeds ...
0
votes
1answer
33 views

Editor role isn't seeing specific post type posts with only post_type parameter

The editor role is able to open following URL: https://example.com/wp-admin/edit.php?booking-status=booked&post_type=booking But not able to open following URL: https://example.com/wp-admin/...
0
votes
1answer
139 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 ...
0
votes
1answer
70 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
0answers
25 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 ...
0
votes
1answer
180 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
35 views

Wordpress not using edited image

I have uploaded a picture to media library and cropped the image in wordpress editor but when selecting the edited image http://mariehelenesund.se/wp-content/uploads/2015/11/Kicki-e1447542665309.jpg (...
0
votes
1answer
73 views

What Role to assign remote site developer?

We have hired a developer who we communicate with via upwork. We want him to be able to make any changes to the site, except to boot us out! Which Role should we assign to him - Admin? If so, is there ...
0
votes
1answer
99 views

Why are carriage returns deleted in the editor?

I'm not sure why this is happening but after I add a blank line between paragraphs and click update or go to text view and back to visual, the blank lines are gone. I can't put any space between ...
0
votes
0answers
141 views

WordPress Front end editor

According to this https://www.elegantthemes.com/blog/tips-tricks/a-look-at-the-upcoming-wordpress-front-end-editor this plugin https://wordpress.org/plugins/wp-front-end-editor/ is going to be in a ...
0
votes
1answer
928 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
1answer
866 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
1answer
40 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
1answer
51 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 ...
0
votes
0answers
419 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
2answers
132 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
1answer
134 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
594 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
72 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
92 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 ...