Questions tagged [editor]

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

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

remove "Edit" from select pages

I've had a good look around before asking this question so if it's already been cracked just point me in that direction! I've set up some custom core pages in order to work as "archive" ...
0
votes
0answers
17 views

Gutenberg UI has changed

I'm building a new version of my site offline. I've exported/imported all my blog posts in and that seems to have worked. Only thing is, the layout of the Gutenberg editor looks horrible locally. Is ...
0
votes
0answers
45 views

Is WordPress classical and block editor(s) too inefficient to handle large data?

Recently I started using WordPress classical editor in order to insert or edit my data into the website. It is almost working fine except for copying or working with large data. Whenever I want to ...
0
votes
0answers
22 views

Is classical wordpress eidtor a good option for me to include a large table with a large number of images on my webpage?

I am a beginner at using WordPress for my website. I generally design my website using the classical editor provided by WordPress and by installing very few plugins such as Beaver Builder and code ...
0
votes
1answer
62 views

How to Batch Convert Gutenberg post to Classic post?

I create hundreds of posts with Gutenberg block editor. Now I want to convert all of them to classic posts. How to do so? Update The reason of doing so: The Gutenberg block will introduce a large ...
0
votes
1answer
12 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-...
0
votes
1answer
30 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
69 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
55 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
32 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
40 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
18 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
13 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
20 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
147 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
390 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
14 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
134 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
42 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 ...
1
vote
0answers
23 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
495 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
18 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
208 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
22 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
218 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
135 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 ...
1
vote
0answers
126 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
1answer
817 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 ...
1
vote
1answer
114 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
38 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
45 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
73 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
302 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
797 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
64 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
26 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
229 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
123 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
429 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
336 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
446 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 ...
0
votes
0answers
112 views

Contributor edits published post and sends for review - post is made private?

We recently upgrading from WordPress 4.9 to WordPress 5.3 with the new Gutenberg editor. Previously, I could publish a post, a contributor may make a post-publish edit which doesn't immediately ...
0
votes
0answers
35 views

Can I retrieve Published changes when changes have been Saved but not Published in Wordpress Semplice?

I have made changes to pages in the Wordpress Semplice theme and have saved them. However they are not published. The original content is still Published on the live site. Is it possible to retrieve ...
1
vote
0answers
62 views

WP Editor Issue in Backend

I am stuck on silly issue of wp_editor function in WordPress backend in custom plugin page. See issue for wp_editor in attached images I have called the wp_editor function like this <?php ...

1
2 3 4 5
11