Questions tagged [editor]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Need a page for user, where he can write a letter and can see it as letter [closed]

I'm looking for an editor for the front end, where the user can write a letter with preview function and saving it the format he did. is there any editor can do the letter layout and can be shown in ...
0
votes
1answer
8 views

How to add text editor field in user edit profile?

I need to add a text editor in user editor section exactly like category text editor field that I can display description to user profile in frontend. I found this https://webkul.com/blog/wordpress-...
1
vote
1answer
22 views

Edit Post with a parameter in URL

UPDATE It seems that get_edit_post_link() is trying to get the Edit url with ?editor, that doesn't exist but if we set manually the url, it will work: <?php add_action('init', 'edit_post_please'); ...
1
vote
1answer
38 views

Missing .twig files in wordpress theme editor

I just started learning timber. Timber uses twig as its templating engine. This is great but I have a problem with displaying all .twig files in the theme editor. I'm using VS code for my code ...
0
votes
1answer
22 views

Gutenberg dynamic block render_callback gives null for $post

I am trying to get the current post ID in the render_callback function to generate related posts. However, the global $post object gives null. I use this code for example from here: add_action( 'init',...
0
votes
1answer
27 views

Is there a maximum length to a Wordpress Page?

I'll try to be terse: We host events for clients and offer to create an 'event page' for them as part of their package - they can direct users to this page to see the event schedule, dates, speakers, ...
0
votes
2answers
39 views

Add a searchbox to the body of a page

I'm creating a website in which I need that, when I click on one of the tabs of the specific menu, and it opens, this page contains a search box in its body. My question is how can I add this search ...
0
votes
0answers
16 views

When the WP_EDITOR button is pressed, the user is prompted to select a photo from their device

wp_editor has an Add Media button but when the user clicks that button, it opens the media library. I want to make a button that when clicked it allows uploading a image from their device only.
0
votes
0answers
11 views

How to Edit CPT Content in Local Editor

Can you please let me know if it is possible to locally connect to a Custom Post Type . let's say Movies and a Post for example "Avatar" and edit it local editors like VS Code and Post it ...
0
votes
1answer
12 views

Disable ADD PDF media button on rich text editor

I'm looking for a way to completely disable "add pdf" media button on text editor but not with css tricks. Is it a hook to add on function.php for doing this? Also a need to keep add media ...
4
votes
2answers
131 views

How can I make the wordpress editor apply the selected template?

I wrote a WordPress theme for a non-profit where I use templates to style individual pages. I select the template for an individual page in the editor on the right: For styling of a template page, I ...
2
votes
1answer
92 views

How to remove specific panels in the editor (Gutenberg) when editing a block (via right panel)?

In the editor (Gutenberg) is there a way to disable specific settings in the right panel of a specific block? For example each button in the buttons block has these settings I would like to disable: ...
0
votes
0answers
12 views

Embedding Post Editor Into External Site

I want users of my spring boot site to be able to write/edit posts from the spring site itself using the Wordpress editor. I have found that there are ways to use the Wordpress API to post the content ...
0
votes
0answers
13 views

Wordpress 5.5 site admin email verification

I got popup notification about administrator email notification but when I logged from editor account. Is it normal that an editor can update admin email isn't it?
0
votes
0answers
84 views

Is there any simple way to remove Gutenberg editor H1 H5 H6 and change the label for the rest H2 H3 H4?

I have been looking for a solution for sometime now. Have not found any one yet... All we all know every page should have only one H1 tag, however it is not known for most of the non tech editor. I ...
0
votes
0answers
15 views

how i retreive the post content while editing it in real time however the editor is tinymce or gutenberg

I am developing a plugin, and I need to get the content of the editor of the post, whatever the type of editor is gutenberg or tinymce. I hope that it is with javascript because I have a button action ...
0
votes
0answers
23 views

Wordpress gets stuck while trying to Save a post

we have an occasional issue with saving changes to pages in wordpress. This only happens sometimes and we are not sure why. Sometimes, when we try to make an update to a page, it gets stuck saving. It ...
0
votes
0answers
18 views

wp_editor() youtube link does not load video

Hello I am trying to get a preview of the youtube video when pasted to the editor but it keeps loading plain instead of loading the video preview. I have created an options page in admin side for a ...
0
votes
1answer
304 views

How to add custom table style for table block in gutenberg editor

As per the image, I would like to add extra style for the table block.
1
vote
0answers
10 views

Visual editor issue by having multiple tiny mce editors in a CPT

I have a custom post type in which I have added multiple wysiwyg editors, when I click on visual, the content of the editor (button, text, title) get inside of the wysiwyg editor.. it's odd. It looks ...
1
vote
0answers
17 views

how add custom tag/tool in classic editor?

at this moment i dont use new wp block editor still using classic html editor and at this moment were editing lots of articles in foreign language..default WordPress editor is something like this if ...
1
vote
2answers
183 views

Tiny MCE-modifications (plugins) stopped working in WordPress 5.6

A while back I stumbled across this post from 2015, that showed how to add Tiny MCE-buttons. It has been working for more than a year. But after the latest WordPress update (to version 5.6) it stopped ...
0
votes
0answers
11 views

How is Editor able to edit posts without logging in?

Need to figure out if this is a security issue or what is happening. I have 2 bloggers editing posts on my blog. They both have user names (editor credentials only) and passwords. Only one of them I ...
0
votes
0answers
12 views

How to remove wordpress editor from a specific page?

Im looking for a php expression, to remove the wordpress editor from a certain page, using the pages ID. Is there any expression using functions.php?
0
votes
1answer
20 views

How do you stop WP from stripping <p> code? [closed]

I can't stand Gutenberg and use the disable Gutenberg plugin. But... Wordpress is stripping the tags. How do I STOP this?
0
votes
0answers
167 views

wp_editor() renders outside wrapping div

If have a plugin with a text box. I wish to replace the text box with an editor. My source code is <div id="editorwrap"> <?php wp_editor("testing",...
0
votes
2answers
126 views

Intermittant problem saving posts

I'm being faced very often when I typically go into a saved draft, edit a post and then save it. I'm getting the error: Updating failed. The response is not a valid JSON response. I'm finding that I ...
0
votes
0answers
14 views

Add Blank DIV instead of Meta Box

I have created a custom post type and I would like to add a custom settings which would be render through JavaScript. Is there any filter or function exists to add a blank div just after the "...
1
vote
0answers
111 views

Can the wordpress color palettes by changed through Javascript?

I'm building a setup for a client that allows them to use a number of colour swatches throughout their gutenberg blocks in a post. They define the colour swatches in the document inspector panel (post-...
0
votes
0answers
50 views

Change width of TinyMCE

Forward note: we aren't discussing Gutenberg here, just the classic editor. So my project is changing the width of tinyMCE's width in the admin screen. ** Reason: I want to edit the back-end text, to ...
0
votes
0answers
19 views

Create page via Form on Frontend

I have a requirement , where a user would want to create a WordPress page with 3 basic information as below . The user would add an audio file link. the user would add some text . The user would ...
0
votes
0answers
34 views

Deprecated: wp_richedit_pre is deprecated

I have a Wordpress site running version 5.51. When I try and create a new page I get the following error above the editor. Deprecated: wp_richedit_pre is deprecated since version 4.3.0! Use ...
0
votes
0answers
35 views

How can Editor Role access and edit all Media

I am adding an Editor Role in WordPress which I want to have full access to the media files I being the administrator have uploaded. However, when I log in with the Editor's credentials (as an Editor),...
0
votes
0answers
51 views

Editing the Classic Editor Text Area

how can i remove the sidebar inside the text area ?
0
votes
1answer
562 views

Missing Edit button

Recently I installed Wordpress 5.5 on my new pc. Installation process went flawless without a single error. However, after installation I cannot edit the pages since the little "Edit" button ...
0
votes
0answers
10 views

Visual editor adding space to short codes

I have been searching around for people with this problem and solutions to it without luck. As of the latest version of WordPress, it seems that the visual editor has been adding an extra space to a ...
1
vote
1answer
98 views

How `window.wp.oldEditor` is being set in the editor?

I'm trying to implement WordPress Gutenberg editor outside of WordPress itself. Everything is working fine except having old classic block support and that requires window.wp.oldEditor to be set. If ...
3
votes
0answers
35 views

WordPress Rest API only returns content when posttype has editor capability

I am trying to request my post via the WordPress V2 Rest API in the backend. For whatever reason the post content is only returned when my custom post type has the editor support enabled. Is there a ...
0
votes
1answer
39 views

Setting user permissions per post

I am trying to assign privileges on posts on a per post basis. Essentially, I have a custom post type which have authors. They can edit their own posts. I then have another role, which should be ...
0
votes
0answers
66 views

Images are broken in Wysiwyg Editor - ACF backend

I work in the local environment WAMP, and images are visible on the frontend. When I enter to the backend Wysiwyg Editor they are broken Links look like that <img class="img-responsive" src="wp-...
0
votes
1answer
251 views

Filter post_content before loading in Gutenberg editor

I'm trying to manipulate the editor content(blocks) before it's shown in the editor. So ideally I would perform a search and replace and the editor will have a modified version of blocks, but will not ...
1
vote
1answer
619 views

Adding custom styles to dropdown in editor

is it possible to add a custom style to the dropdown in the classic WordPress editor, say a div with the class of "fancywords"?
1
vote
2answers
60 views

Do not change the order of the tags in the editor

I have a list posts by tag, but the relation is not relevant because first look for the posts with the first tags stored alphabetically, and not the first main tag, that is to say for me the order of ...
0
votes
2answers
23 views

How to set default post editor based on role?

I found this code to functions.php add_filter( 'wp_default_editor', create_function('', 'return "html";') ); but I need to limit it to a specific set of roles (such as Editor or Author). How do I ...
1
vote
0answers
194 views

Remove html markup by wordpress

I am recently creating a website for my company. I found there are many unnecessary markup by wordpress. I have provided screenshot and sample of the markup that i am referring to. </ol> &...
0
votes
1answer
91 views

Programmatically allow a non-author to edit a post based custom meta field

User A authored and published a post. In that post, User A selected User B as the "Manager" (a custom meta field). How can I allow User B to edit any post in which they are selected as the "Manager"?...
0
votes
1answer
398 views

Text Wrapping in Editor not Matching Website View

I am wanting to wrap text around my image in Wordpress. I am using the latest update and I click on the image, align it left or right and it looks good in the editor. When I preview my site the text ...
1
vote
2answers
270 views

Meta box html is not updating after saving

I have some meta boxes setup, some are my own, some are initialized in plugins. As the title indicates, these meta boxes are not updating graphically after the post has been submitted. Here's an ...
5
votes
5answers
1k views

Are there ways to make the Gutenberg editor wider? And the HTML-block higher?

I am new to the Gutenberg editor. Previously I used the Classic editor (plugin) when editing WordPress. The editor area "resized" according to the browser window. With the Gutenberg approach I get a ...
0
votes
1answer
398 views

Layout Settings in the new Gutenberg editor

Just updated my Wordpress environment to the latest version and saw the Gutenberg editor. It took some digging around but I am able to find almost all of the settings (such as custom fields) I used in ...

1
2 3 4 5
11