Skip to main content

Questions tagged [editor]

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

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

How to allow Contributors to edit their own posts, whilst still needing to be reviewed by an admin?

Im using the User Role Editor plugin to try to acheive this, but I've also tried PublishPress Capabilities and had the exact same problem. I'd like it so that my contributor users work like so: Their ...
user303096's user avatar
1 vote
0 answers
24 views

Remove AM/PM in gutenberg add/edit post and use 24-h format

How can I setup 24-hour format, and still keep the english language in wordpress. (tried us, australian, uk, south africa) See screenshot. I tried everything, found this url, but it does not tell me ...
Raf A.'s user avatar
  • 11
0 votes
0 answers
37 views

wp.editor.initialize() breaks when support for 'editor' is added to custom post type

I've a custom post type in a custom plugin. In this post type, I am assigning a meta box field for some fixed hero content. This is just a textarea that I am applying tinymce to. This works well, but ...
Prestosaurus's user avatar
0 votes
1 answer
17 views

Function to consider a plugin activated for selected users only

Our WP-based website is maintained by a company that forced the use of Gutenberg upon us, moreover, for some reason, the Classic Editor plugin doesn't work properly on the website probably due to some ...
Yuri Zoria's user avatar
0 votes
1 answer
24 views

How can i extend the existing Block Inspector Tabs in Wordpress Gutenberg Editor?

With <InspectorControls> i'm able to extend the WP Gutenberg Sidebar but i want to extend the default tabs like in this picture: How can i create my own sidebar tabs?
Sam Weiss-Gamtschi's user avatar
0 votes
0 answers
27 views

add_attachment hook not firing on certain devices

I am developing a plugin for a client, and we are using the add_attachment hook to extract metadata from the images that we process as part of the plugin. The funny thing is that the hook successfully ...
John Doe's user avatar
  • 287
1 vote
0 answers
38 views

WordPress editor mobile view crashes, says: Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node

I am using the latest version of WordPress (6.5.2) and regardless of which theme I am using or if I turn the plugins all off, whenever I try to enter the tab or mobile responsive view on the page ...
Psychedelic Wizard's user avatar
2 votes
0 answers
22 views

Any way to set user role permissions in the site editor?

Is there any way to set specific permissions in the site editor for user roles? I have a block theme and want to give editor roles the permissions to edit templates, but not to add or delete them. I ...
DoHu13's user avatar
  • 21
0 votes
1 answer
15 views

Site Editor: Pattern previews too small?

I created a Block Theme, and when viewing my patterns in the "Site Editor", they're displayed too narrow in the preview: When activating the Twenty Twenty Four block theme, they are ...
beat's user avatar
  • 43
2 votes
1 answer
51 views

How to add placeholder in wp_editor?

i would like to add placeholder when using wp_editor() function. I tried to pass placeholder attribute in textarea, but didn't work. I tried to pass it in settings wp_editor( $...
Sak's user avatar
  • 23
1 vote
1 answer
36 views

Can we write custom DOM manipulation inside edit.js file while developing custom Gutenberg block?

I have doubts while creating a custom Gutenberg block are we allowed to directly manipulate DOM? Below is code that I have written in view.js file I want to know how much portion of this can be moved ...
up1512001's user avatar
0 votes
1 answer
45 views

How to make WP Classic Editor required in jQuery

I have tried to validate the post content that must not be empty. Here are my codes: // HTML codes for Classic Editor in HTML mode: <textarea placeholder="Describe Ads here" ...
daro2013's user avatar
0 votes
0 answers
17 views

Editor option missing under Appearance

I want to edit my default color pallet. When I go to Appearance, I only get Theme, Customize, and Theme Editor. I don't have the Editor option which allows me to change the default colors. I ...
Matt Melester's user avatar
0 votes
1 answer
14 views

Changed the name of my website and now in the editingpage all photo's are questionmarks

So the titel says it all. I changed the name of my website and now all the photo's in the editingpage show up as boxes with blue question marks. But the website still works and shows the right images. ...
Kim's user avatar
  • 1
1 vote
0 answers
27 views

Load RTL CSS using block.json for block development

I am developing a block using block.json and I could load RTL CSS on backend using this code: // Check if RTL mode is enabled if (wp.i18n.isRTL()) { // Import RTL stylesheet if RTL mode is enabled ...
Farhad Sakhaei's user avatar
0 votes
0 answers
229 views

WordPress Editor Missing Padding and Background Color?

For some reason, my editor has no left and right padding and I have no idea of how to get it back. It seems it has also lost its white background. I'm using Twenty Twenty-Three and I'm not sure at ...
Alvaro's user avatar
  • 131
1 vote
2 answers
68 views

disable the post title field after publishing

Changing the title of the article can be very dangerous for search I'm looking for a way to disable the post title field after publishing for authors and editors Can anyone help me in this regard?
Ali Kiani's user avatar
1 vote
1 answer
216 views

disable adding new tags on the edit and add post

I use the admin menu editor plugin. I have not allowed editors and authors to access the tags section But they can add a new tag in the post edit section This is not good for our site We want them to ...
Ali Kiani's user avatar
0 votes
0 answers
19 views

Block Style Not Applying in Editor

I've created the following block style, based off of core/paragraph, and included inline styles which display on the frontend page but not in the editor. How do I apply these styles to the editor view ...
dancingrobots's user avatar
0 votes
0 answers
14 views

Wordpress Theme file editor - error with sleep() php function

I'm doing some tests by modifying my .php files directly from the wordpress theme editing interface ( /wp-admin/theme-editor.php ). (to avoid lengthy deployment pipelines) However, as soon as I add ...
Vincent Rocher's user avatar
0 votes
0 answers
24 views

How to make wordpress editor honor double <br> (shift+enter) but keep adding regular <p> made with enter key?

I'd like the editor to behave like this: - Press Enter > produces a paragraph (<p>) - Press Enter + Uppercase/Shift > produces a line break (<br>) - Press Enter + Uppercase/Shift ...
Luca Reghellin's user avatar
0 votes
0 answers
13 views

I belive I deleted the template

I'm new to wordpress and I don't even know what exactly is wrong with my WP so bear with me for a bit. The steps I performed: Picked a blank canvas theme and from the several headers and footers ...
MiguelP's user avatar
  • 101
0 votes
0 answers
37 views

How can I edit global styles?

I'm following this article to edit global styles on my WP site: https://wordpress.com/go/web-design/everything-you-need-to-know-about-wordpress-global-styles/ https://learn.wordpress.org/tutorial/how-...
Томица Кораћ's user avatar
0 votes
1 answer
697 views

Customize margin between paragraphs using the Gutenberg Style editor

I'm using the new Styles editor to customize the theme. I would like to change the spacing between the paragraphs of the page and single templates. Is that possible?
lookyhooky's user avatar
0 votes
1 answer
132 views

how to display gutenberg editor in a view

In a custom plugin, i display the content from a post in an editor like this wp_editor( $content, $editor_id ); but when the content is done with gutenberg , i want to display the gutenberg editor ...
sbouey's user avatar
  • 31
0 votes
1 answer
60 views

Change a subsite Admin role of a WordPress Multisite after 24 hours registering

please I am trying to change WordPress multisite users' role after registration. So a new user can register and create a subsite and after 24 hours the users' role changes to the subscriber role. The ...
user2969052's user avatar
0 votes
0 answers
58 views

CSS Styles specific to Admin Sidebar not loading

I have several sites where I have loaded a custom stylesheet for the Admin. They work fine in both the TinyMCE editor and the sidebars. I have one site where the custom stylesheet targets the TinyMCE ...
jchwebdev's user avatar
  • 775
-1 votes
1 answer
2k views

Bullet points not showing in wordpress

Please I'm facing a problem with my blog, since the the bullet list points are not showing on my blogposts even though I always add them via the editor. This is a direct link to a paragraph with ...
arnodheros's user avatar
0 votes
1 answer
195 views

Call API on post save/update and show the result in admin area

After updating/saving a post, I want to call an API and show the response message in the post editor. I tried many things, searched countless websites, and found nothing that works. This is a simple ...
Shahriar's user avatar
  • 175
1 vote
0 answers
949 views

How can I add a custom button to the post editor?

I want to have a custom button in my post editor, but everything I find online is for the previous, classic editor of WordPress and none of them seem to work with the new Gutenberg thing. Red mark is ...
Shahriar's user avatar
  • 175
0 votes
1 answer
49 views

Page Edit - Re-arange the order of contents (images, banners, blocks) on a wordpress website

i'm using my company's website's (https://www.generationhope.ph/shop-hope/)- wp-admin - to configure the change as given in the image as attached. ie. rearrange the contents, move Education section ...
kislay p's user avatar
0 votes
1 answer
38 views

How to define a special character to change the style of my inline code?

Some of my Persian blog posts are about programming and naturally I have to write different commands over and over again in the sentences. In order for the font to be distinct and the direction left ...
Vahid Damanafshan's user avatar
0 votes
1 answer
8 views

Why some images are not allowed to be edited only for thumbnails?

please see this: As you can see, on the right columns I don't have the classic 'apply to' radios, where you can choose to apply modifications only to thumbnails. It happens only with certain images, ...
Luca Reghellin's user avatar
0 votes
2 answers
191 views

How to know which editor published a post programmatically?

I have authors posting posts with a custom post type and have users with Editor roles publishing them. How can I get the editors who published them?
ratib90486's user avatar
0 votes
1 answer
557 views

Bullet List Indentation not showing up in the wordpress

In wordpress, I have written on article and in that I have bullet list to showcase but my indentation is greyed out, and not able to indent the list further as you can see in the sreenshots. I want to ...
ss-ss-v1's user avatar
0 votes
1 answer
426 views

How can I reset/remove background colour from a block

So my block has background colour. Let's say it's a paragraph block. I want to remove the background colour completely, but can't find any way in Wordpress' Editor UI. The only way I found was to ...
Томица Кораћ's user avatar
1 vote
0 answers
347 views

Notion-like editing and layout with a convenient freeform collaborative editor in WordPress? [closed]

I spend a lot of time developing technical content that revolves around software and network engineering. I used to do some content creation and blogging on this topic as well as creating ...
ylluminate's user avatar
0 votes
1 answer
27 views

Restrict editing of post type to list stored in user meta

What is the right action to invoke before a custom post type is getting edited in dashboard and contains the argument the post id? The url /wp-admin/post.php?post=282&action=edit&classic-...
fefe's user avatar
  • 874
0 votes
1 answer
243 views

How do I disable the built-in editor and automatically configure the properties of new pages?

I use a Builder plugin on the site. Members are editors and can create their own page. I want to disable Gutenberg so that they can only edit pages with Buldir. I would also disable the properties of ...
Olvas0's user avatar
  • 3
0 votes
0 answers
109 views

Uncaught TypeError: switchEditors.switchto is not a function

I have the following line of code: switchEditors.switchto(ctmce[0]); which gives this error: Uncaught TypeError: switchEditors.switchto is not a function Searching around I found out that, due to ...
ᴜsᴇʀ's user avatar
  • 101
0 votes
1 answer
301 views

Could we know who published a post on WordPress?

Besides knowing the author, could we know like which user with the Editor role published a post? Is this being tracked in the db?
ratib90486's user avatar
0 votes
1 answer
141 views

Editor is shown at full width

The title field and all editor is full width. I don't know where to start looking. Any clue is welcome. All plugins deactivated.
aitor's user avatar
  • 605
0 votes
1 answer
45 views

Change Image Size option in the settings in bulk

I was wondering if I can change Image Size option in the post settings panel. From Large to Full Size. Automatically in all posts? I have about 500 posts... :) Seem can not find any answer to that. ...
Alex Osipov's user avatar
1 vote
0 answers
91 views

How to Disable auto id attributes in Heading tag?

I don’t know why but WP is automatically adding id attributes to h2 tags. I am not supplying any id or class attribute and I don’t need it. Also, it’s adding type="1" to <ol> tag that’...
Freya West's user avatar
0 votes
0 answers
198 views

Line break before headings (<h2>) appears from nowhere

So, in the database row i've the following html code in post_content: Solo pochi giorni fa, esattamente il 15 marzo, è stato presentato durante l'ultima edizione del SXSW Online un suggestivo ...
Monte's user avatar
  • 101
1 vote
1 answer
328 views

How to add notice text above Post Editor?

I'm trying to add a notice text that said "Please choose a category and add feature Image" text right above the editor so that they don't forget but I'm not sure how to do that so I would be ...
ziico's user avatar
  • 131
0 votes
1 answer
109 views

Enable Gutenberg for Woocommerce

Via a php snippet I have enabled Gutenberg for Woocommerce. Works perfect but sometimes when I want edit product, I get a white screen on some product pages. Any idea how this happen? (Could be a JS ...
Bouke's user avatar
  • 1
0 votes
0 answers
29 views

Can only edit longer pages on phone, not on PC

I have written and edited many longer WP blog pages on a phone. But when I now try to edit them on a PC, the editor freezes or gives extremely long latencies (>10 sec.) between key press and effect....
cvr's user avatar
  • 113
0 votes
1 answer
871 views

Adding a Media Button to the WordPress Content Editor

So i'm trying to add a button over the text editor which on pressed lets the user paste in a youtube link which is then covered in shortcode something like this [code]youtube.com[/code]. Following ...
Kevin's user avatar
  • 15
0 votes
0 answers
52 views

Wordpres Tinymce custom button (Gavick guide)

I'm trying to adda custom button to my editor following this guide Can't get it to work. I've added the following code to my funcitons.php add_action('admin_head', 'gavickpro_add_my_tc_button'); ...
Kevin's user avatar
  • 1

1
2 3 4 5
12