Questions tagged [editor]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
614 views

How to display full width block without toolbar?

I'm trying to create a full width blocks for the new Gutenberg editor, however I don't want to give to option to toggle the block alignment (eg: like the Cover block does) just make it full width all ...
0
votes
1answer
1k views

WP 5 how to add_editor_style for both tinyMCE and Gutenberg

Before Gutenberg blocks we used to add editor styles by using add_editor_style( array( 'path/to/editor-style.css', 'whatever.css' ) ); Now we have Gutenberg editor whose stylesheet is also loaded by ...
2
votes
0answers
215 views

How to add button to post page WordPress 5.x

How can I add a button to a posts page? what hook can be used to add a custom button I'd like to place it next to, or near, the "Publish/update" button, or modify the publish button for triggering ...
1
vote
0answers
611 views

Why is WPBakery Page Builder backend editor not clickable? [closed]

The backend editor button is not clickable. I've tried to change all files/folders attributes to 777 for this plugin. I've checked and increased some php parameters (phpinfo for my site - https://...
-1
votes
1answer
45 views

How i can customize WordPress front page in WP dashboard editor?

Although there are many questions related to front end editing, still none of them provided me some way to deal up with customizing WordPress front page using WordPress dashboard editor. I'll be glad ...
0
votes
1answer
854 views

wordpress editor role remove all but 'menus' in appearance menu

I'm trying to remove access to everything in the appearance menu in WP admin for the role editor. Or at the least, just remove access to themes and plugins. I have found how to remove the whole ...
0
votes
2answers
115 views

How to hide a field of the editor by default

I am working on a blog with a pretty high number of authors. I want to keep them from accidentally sending a push message to our readers, since the button of the push-plugin we use looks dangerously ...
2
votes
1answer
455 views

Define multiple Gutenberg editor widths

I'm trying to define multiple widths for the Gutenberg editor depending on the post/page template. I have a full-width page template and would like the editing experience to be as close to the live ...
0
votes
2answers
48 views

Front End Editor

I have a pretty weird issue with my text editor. First, my website is under development (in local) and is made with the Shapely free theme. Secondly, my website is for job hiring purpose (using the WP ...
1
vote
2answers
1k views

Getting a 404 error when clicking edit page

The problem I've run into is the WordPress for my website yesterday randomly stopped allowing us to edit any of the pages. Every time you click to edit a page it comes up with a 404 error. Things I ...
0
votes
1answer
1k views

Gutenberg consume wp-json data and reflect in frontend the content

I have a custom gutenberg block which is dynamically fetching custom post data via wp-json on edit. How do I persevere the data on save for the fronted? here is my custom component (preview.js) which ...
10
votes
2answers
11k views

Gutenberg editor add a custom category as wrapper for custom blocks

As we know by the provided API from Gutenberg we can create a custom block as const { registerBlockType } = wp.blocks; registerBlockType( 'my-namespace/my-block', { }) but how do I create a ...
0
votes
2answers
89 views

Why can't publish posts with too much text?

I'm trying to publish a posts in my WordPress, but when cointain too much words save but doesn't save the content of description like example. I need take the information inside a file and save it in ...
0
votes
1answer
315 views

How to allow editors to only edit certain categories?

Is there a way (through code or plugin) that can make each editor responsible on editing certain categories of the site
0
votes
1answer
4k views

WooCommerce custom billing fields on email address

I want to add the custom billing fields that I added with the WooCommerce Checkout Field Editor plugin into the email that it's sent to the customer: I added the custom num_int field: And tried to ...
-1
votes
1answer
43 views

Forbidden when I'm trying to edit one page

I have a page on my website with the slug let's say "blablabla". Several days ago, I've made by mistake a folder on server with the same name "blablabla". After that, when I try to modify and save my ...
0
votes
1answer
35 views

How do I edit disclaimer/contact information?

I inherited this wordpress website called RxStudyGuides to use as a study tool for pharmacy students. However, the owner and creator of the website still has there contact information on the website ...
0
votes
1answer
2k views

Inline style HTML attribute is being stripped from all elements of a post

I am attempting to publish HTML generated from an external party within Wordpress, but I am getting very inconsistent results with style attribute on all HTML elements, in that if I programmatically ...
2
votes
1answer
325 views

Add option for editors through `register_setting`

I want to add some options in wordpress admin panel which editors also can update through a form. I have used register_setting() function to add those options. For administrator this works fine, but ...
0
votes
2answers
57 views

Disable Plugin with one button

After updating to 4.9, my Appearance editor becomes empty, and if one plugin has a problem, I need to disable all the plugin one by one which takes really long time and all I just need just update the ...
0
votes
1answer
13 views

Allow contributors to edit their own images

We are trying to create a site in WordPress that will allow visitors to the site register and upload their own content and images. I want them to be able to edit and delete their own images once they ...
0
votes
0answers
702 views

Create Button for Shortcode in Text Editor

I'm trying to figure out how to create a button in the WP Text Editor and TinyMCE Editor to trigger the following shortcode. It's a shortcode to create columns (connected with CSS Grid Foundation), ...
2
votes
1answer
557 views

How can I get the permalink of a post before it is published?

I'm trying to create a plugin that gives you a push notifications button, through the WordPress editor and I can't find a way to get the permalink of a draft post before its status is set to published....
0
votes
1answer
300 views

wp_editor embed shortcode not working within my plugin

for my own plugin I have a create-form which includes at least two editor fields and I insert them like this wp_editor('', 'dbfield'); The editor is shown in the form, it gets saved into the ...
0
votes
1answer
41 views

incorrect url in Snippet editor

I am using Wordpress version 4.9.6 with Yoast SEO premium version 7.5.3. The trouble I am having is when I enter the Slug info in Yoast it then adds it to the URL in the Snippet editor, but it is ...
1
vote
2answers
475 views

Cannot access WordPress Appearance → Editor

I altered some functions in the PHP file of my website using WordPress Admin Panel: Appearance → Editor Now not only has my website been destroyed, but also the WordPress dashboard. I cannot access ...
0
votes
1answer
25 views

Disable File Editing function

Researching fixing errors while validating my site, I got brave and clicked Enable button at Appearance > Editor and went pass the "warning" - now getting nervous bc don't want to accidentally mess ...
0
votes
1answer
11 views

Is it possible to remove the content editor (RTF field) for a certain user / role?

As per the title really, I'm wondering if there's a way to hide the main content editor for posts and pages from certain users / roles but let everyone else see it? I believe you can hide it ...
0
votes
1answer
425 views

Permanently show Custom Fields in Editor

I would like to show certain Custom Fields below my Editor. At the moment I only have athe dropdown field but there's so many metas inside which I am not using. By publishing 60-100 posts a day it is ...
-1
votes
1answer
23 views

Adding custom shortcode to page leads to page without styling

Scenario i wanted to build Reusable components people can use several times inside my WordPress environment. My solution for the problem I made a custom post type named "Componenten". I made a ...
1
vote
2answers
815 views

How to make content editable from admin page?

I have a landing page that has to be somehow converted into wordpress theme. And what I want to do is to make an admin page with editable fields that will correspond to the content on the front end. ...
0
votes
0answers
68 views

Visual editor on front-end call not working properly

Since the upgrade of WP to 4.9.4, I am having a problem with WP's native editor in the front-end. The Text option are working but for Visual option, no buttons appearing and the texts are white. ]2 I ...
0
votes
1answer
44 views

Problem with some keys when editing HTML in wordpress “text” editor

My wordpress 4.9 editor for posts has two editor views Visual Text I am mostly using the text view and often adding shortcuts. Sometimes I directly add HTML5 code, e.g. for tables. However, these ...
0
votes
1answer
321 views

Add editor toolbar to Metabox

I have multiples Metaboxes like this one : function initialisation_metaboxes_home(){ add_meta_box('home_extract_meta', 'Affichage home', 'ma_meta_function_home', 'produit_fr', 'normal', 'high');...
0
votes
1answer
151 views

Preserve indentation, HTML5 shorthand in editor

I know there are other questions about tinyMCE, but this one is a little different. Let's say I create an unordered list that drops the closing li tags. I also have class attributes that I don't want ...
0
votes
2answers
8k views

Which PHP page is the Default Posts Page

I'm busy customizing a WordPress site using the standard twentyseventeen theme, and I need to show custom fields (produced per post, by plugin) in the exerpt of each post on the Posts Reading Page, ...
0
votes
1answer
27 views

Prevent editor from adding script or form

For security reasons (e.g. preventing an editor to create a form that mimics the login form and send the credentials anywhere), we'd like to forbid editors to insert JavaScript or Forms into the pages....
0
votes
1answer
307 views

Why wordpress word count differs from Microsoft word and sites like wordcounter.net

My authors are questioning the accuracy of word count in wordpress. Wordpress word count seems to vary from microsoft word document and sites like wordcounter.net Moreover, I manually created php ...
2
votes
1answer
404 views

Ajax Redirect role = 'Editor' to their Dashboard after register

How to redirect the user with role Editor to their respective dashboard after register? Here is the Ajax Script: wp_localize_script('jquery_login','ajax_object',array('ajax_url'=>admin_url('...
1
vote
1answer
202 views

Multiple choice in a custom taxonomy

I've add a custom taxonomy in my function.php. Here the code: function create_autor_nonhierarchical_taxonomy() { $labels = array( 'name' => _x( 'Autor', 'taxonomy general name' ), ...
0
votes
2answers
4k views

Troubleshooting “loopback requests that take too long”

So I am dealing with this dreaded "unable to edit php files" errors after updating to 4.9.1 I disabled all of my plugins, and I am still getting the following error though the Health Check plugin: ...
1
vote
0answers
178 views

Wordpress editor converted/deleted HTML entities code

2x WP 4.9.1 (old and updated with database utf8 / new with new database utf8mb4) I have a problem with HTML entities in the Wordpress standard editor. I write the HTML entities in hexadecimal code ...
0
votes
1answer
915 views

Removing add new pages form editor role

Hi I have set up multisite and I am the super admin. I want to remove the capabilities of "Editors" to add new pages. I made this change to my theme function, which removed what I want it too, ...
1
vote
0answers
451 views

Add buttons to the new TinyMCE WP Editor. Javascript API

I've added more buttons to a TinyMCE instance using the new Javascript API available since WordPress version 4.8. As you can see in the following code block, I could add more buttons but I'm not ...
0
votes
1answer
109 views

How to show post title in content editor in backend?

Is this possible? I am trying to use a pre-defined template for my contents. To do that, I use something like this: add_filter( 'default_content', 'custom_editor_content' ); function ...
1
vote
0answers
44 views

Trying to Edit a Page but it sends me to a Product Edit page

I have the strangest issue that I encountered. I have updated the newest version of Wordpress and installed Google Analytics GADWP Plugin and Yoast SEO. (I don't think this is the issue though) When ...
3
votes
1answer
2k views

Disable text tab on WordPress text-editor

I'm looking for a way to disable text tab on wordpress text-edito (red square on the pic) for all my users roles except ADMINISTRATOR because i don't want them to have the possibility to add ...
0
votes
2answers
32 views

How to create different gallery-types and let the editor choose between them?

What I want to achieve The editor should be able to add galleries via the native wordpress way and choose between 3 different gallery types. These 3 types should all have their custom code-output, ...
0
votes
1answer
483 views

Capabilities not working with custom post type

I have created a custom post type called Alerts. I want Editor users to be able to have full permissions to publish and edit alerts. I copied all of the capabilities of an administrator to satisfy ...
0
votes
0answers
117 views

Dynamically write in editor with Javascript

Let's assume I'd like to add a button to the wordpress article/page editor. The goal of that button is open a popup. The popup should contain options to automatically write a shortcode in the text. ...

1 2
3
4 5
11