Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [editor]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
34 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 ...
user avatar
  • 3
0 votes
0 answers
19 views

How to permanently show Word Counter on Create/Edit Page. Wordpress5.9.3

Hi everyone I'm newbie in Wordpress coding so please guide me as a newbie.. I want to show Permanent word counter on Page Create. any help would be really appreciated thanks
user avatar
  • 1
0 votes
0 answers
27 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 ...
user avatar
  • 101
0 votes
1 answer
23 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?
user avatar
0 votes
1 answer
34 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.
user avatar
  • 461
0 votes
1 answer
20 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. ...
user avatar
1 vote
0 answers
17 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’...
user avatar
0 votes
0 answers
24 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 ...
user avatar
  • 101
1 vote
1 answer
38 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 ...
user avatar
  • 121
0 votes
0 answers
20 views

Why does a certain attribute disappear after a while from a page?

If you look at href="#faqs", #let-us-chatthe lineand#submit-questions` in the line <p><a class="btn" role="button" href="#faqs">FAQs</a><a ...
user avatar
  • 101
0 votes
0 answers
22 views

TinyMCE strips off the href tag inside span, if i change from text to visual

As mentioned in the title, the TinyMCE editor of WordPress cuts off the href tag that I have inside the span tag. Below is the code i use <h5> <a href="#" target="_blank&...
user avatar
  • 11
0 votes
1 answer
50 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 ...
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....
user avatar
  • 113
0 votes
1 answer
27 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 ...
user avatar
  • 13
0 votes
0 answers
20 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'); ...
user avatar
  • 1
0 votes
0 answers
23 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" ...
user avatar
0 votes
0 answers
20 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 ...
user avatar
0 votes
0 answers
47 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 ...
user avatar
  • 101
0 votes
0 answers
23 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 ...
user avatar
  • 101
0 votes
1 answer
151 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 ...
user avatar
  • 41
0 votes
1 answer
52 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-...
user avatar
0 votes
1 answer
45 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'); ...
user avatar
  • 185
1 vote
1 answer
202 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 ...
user avatar
0 votes
1 answer
186 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',...
user avatar
0 votes
1 answer
69 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, ...
user avatar
0 votes
2 answers
48 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 ...
user avatar
0 votes
0 answers
23 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.
user avatar
0 votes
1 answer
31 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 ...
user avatar
  • 264
5 votes
2 answers
257 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 ...
user avatar
2 votes
1 answer
1k 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: ...
user avatar
0 votes
0 answers
19 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 ...
user avatar
  • 101
1 vote
1 answer
305 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 ...
user avatar
  • 15
0 votes
0 answers
17 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 ...
user avatar
1 vote
0 answers
39 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 ...
user avatar
0 votes
1 answer
1k 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.
user avatar
1 vote
0 answers
18 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 ...
user avatar
1 vote
0 answers
27 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 ...
user avatar
  • 13
1 vote
2 answers
283 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 ...
user avatar
  • 598
0 votes
1 answer
29 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?
user avatar
0 votes
0 answers
308 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",...
user avatar
  • 239
0 votes
2 answers
151 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 ...
user avatar
1 vote
0 answers
155 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-...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
1 vote
1 answer
159 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 ...
user avatar
3 votes
0 answers
40 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 ...
user avatar
0 votes
1 answer
59 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 ...
user avatar
0 votes
0 answers
96 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-...
user avatar
1 vote
1 answer
453 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 ...
user avatar
1 vote
1 answer
1k 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"?
user avatar
  • 57
1 vote
2 answers
90 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 ...
user avatar

1
2 3 4 5
11