Questions tagged [editor]
'Editor' is one of several default user Roles in WordPress
560
questions
0
votes
1
answer
41
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?
0
votes
1
answer
20
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 ...
0
votes
1
answer
17
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 ...
0
votes
0
answers
13
views
How can I look at/edit what's being sent to post.php when I hit the publish/update button?
I want to change the content of what's being sent to post.php when I click on the publish/update button.
Specifically I want to append content using javascript.
So let's say I'm clicking on update, I ...
0
votes
0
answers
30
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 ...
0
votes
1
answer
74
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 ...
0
votes
1
answer
47
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 ...
1
vote
0
answers
102
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 ...
0
votes
0
answers
26
views
WYSIWYG - Custom field inside link
I would like to know if there is a chance to add custom field inside the modal that pop up after you click the link button.
Is there a way to add fields there? ( like dropdown, or input text).
...
0
votes
1
answer
19
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 ...
0
votes
0
answers
13
views
How do I reinstate the "Add Block" feature that changes with the update?
When a new line was passed in the text editor, the + came up as follows and it was possible to choose what to add. Now this is just working at the end of the page so it is not possible to add it ...
0
votes
1
answer
23
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 ...
0
votes
1
answer
7
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, ...
0
votes
2
answers
27
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?
0
votes
1
answer
42
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 ...
0
votes
1
answer
117
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 ...
1
vote
0
answers
97
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 ...
0
votes
0
answers
15
views
Implement editor' CSS on the custom themes
I have a custom theme. I develop it and I have custom CSS library.
But I have make text color red in the WP' editor. But into frontend these attributes don't appear. How can I find WordPress' old and ...
0
votes
0
answers
11
views
Remove the preview link box since 6.0 update
Since the new update 6.0, Wordpress now create (sometimes) a preview box when I add a link into the editor.
Is there any way to remove this functionality ?
0
votes
0
answers
19
views
How to fix the Post Preview Button (CPT & map_meta_cap)
I'm trying to create a custom post type that can be edited by users with a custom role (as well as administrators, editors and authors).
Althought the idea for the users with this custom role is for ...
0
votes
1
answer
22
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-...
0
votes
1
answer
112
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 ...
0
votes
0
answers
20
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
0
votes
0
answers
58
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 ...
0
votes
1
answer
42
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?
0
votes
1
answer
50
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.
0
votes
1
answer
27
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. ...
1
vote
0
answers
66
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’...
0
votes
0
answers
108
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 ...
1
vote
1
answer
155
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 ...
0
votes
1
answer
84
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 ...
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....
0
votes
1
answer
328
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 ...
0
votes
0
answers
31
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');
...
0
votes
0
answers
22
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
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 ...
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 ...
0
votes
1
answer
214
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
1
answer
166
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
1
answer
136
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
1
answer
417
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
2
answers
416
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
1
answer
211
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
2
answers
59
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
0
answers
24
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
1
answer
52
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 ...
6
votes
3
answers
442
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 ...
3
votes
1
answer
2k
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
0
answers
31
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 ...
1
vote
1
answer
562
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 ...