Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [editor]

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

0
votes
0answers
17 views

How to prevent the editor from redirecting to website within iframe?

I have been trying to embed a website into a private page, and have tried out the "embed" and "iframe" tags, but as soon as I update the changes it redirects to the embedded site. I read more about ...
0
votes
0answers
17 views

Gutenberg work with Bootstrap Shortcodes plugin

We are using now classic editor with the Bootstrap Shortcodes plugin. So after moving to WordPress 5, how this Bootstrap Shortcodes plugin work with Gutenberg editor. After upgrade to WordPress 5 ...
0
votes
0answers
19 views

Calling wp_editor in an iframe

I'm trying to set up a basic classic TinyMCE editor that comes up in an iframe which is loading a PHP file. In the PHP I'm using a require_once on wp-load.php to load WordPress, and even with just a ...
0
votes
0answers
28 views

Gutenberg Block Editor - Copy Core Columns Block - Webpack

I would like to make some changes to the core columns block. I want to add more options like the ability to give each column a class which will let that column span multiple columns, among other ...
0
votes
0answers
16 views

2 pages falied to update after installing Gutenberg

I have been updating a ton of client's Wordpress sites to the newest version and all has been going smoothly except for this one. There are 11 pages on this site and all but 2 updated with no issues. ...
0
votes
1answer
26 views

Classic Editor text font color is white after installing the latest version of wordpress

I've updated the latest WordPress to the latest version and installed the classic editor for the editor. But when switch to the text mode font shows in white color.
0
votes
0answers
9 views

Embed on WordPress shows a black video player

We are trying to add YouTube or Twitter URLs in the editor however it converts them to a video player that does not work. When I press edit on that page it shows the tweet/video player fine, as soon ...
0
votes
0answers
43 views

Gutenberg Block with Select from JSON-File

I would like to create a block for Gutenberg. I currently have a default configuration: function my_block_category($categories, $post) { return array_merge( $categories, array( ...
0
votes
0answers
10 views

Unable to find interface that lets me edit text on the front page

I'm trying to edit the text under the "Welcome" and the "A Little About Us" columns of the following website: http://prnphysicaltherapy.com/ However, under the "pages" button in the dashboard I'm ...
0
votes
0answers
16 views

Blank Screen Edit Page when using Editor Role

When I’m using other user roles to either edit page,add new page or event post I’m getting a blank screen. I thought it’s the W3 Total Cache doing this yet after I uninstalled it the problem still ...
0
votes
1answer
78 views

Wordpress post editor crashes with Polyfill typo

When trying to edit a wordpress post (page) the editor loads indefinitely, console shows JS error with post.php / polyfill, see code below. To me it seems to be a typo and I have no idea where the ...
1
vote
2answers
29 views

Adding content in Gutenberg editor

I updated my site to the latest version of Wordpress. I started using the new editor but have a question. Is there a way to add a block of content that holds all the header tags and paragraph tags? ...
0
votes
0answers
19 views

WordPress theme editor not showing

Why can I no longer see the Appearance > Editor function on the left hand menu in WordPress? It won't show up regardless of the theme. It used to be there before though correct? I wanted to add some ...
5
votes
1answer
471 views

Enable Gutenberg on custom post type

I have this custom post type: function create_posttype() { register_post_type( 'companies', array( 'labels' => array( 'name' => __( 'شرکتهای عضو' ), 'singular_name' =...
0
votes
0answers
18 views

Displaying Most Recently Edited Post

Is there a way of setting up my Wordpress blog so that the most recently edited blog post appears at the top of my homepage and any page to which it is linked?
0
votes
1answer
29 views

Wordpress Gutenberg home page “edit Page” option missing

I try to understand customising of default theme, in my case twenty nineteen. After I create a new page on the top horizontal bar there is an option "Edit Page" visible. Why that option is missing on ...
0
votes
0answers
55 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
0answers
108 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 ...
1
vote
0answers
38 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
97 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
34 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
51 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
28 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 ...
1
vote
1answer
173 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
16 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
124 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
0answers
17 views

Custom oEmbed not showing inside editor

I have added a custom oembed provider in my WordPress plugin wp_oembed_add_provider( 'https://links.collect.chat/*', 'https://collect.chat/forms-embed' ) Embed is working fine in posts and pages, ...
0
votes
1answer
290 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 ...
1
vote
1answer
1k 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
21 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
30 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
134 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
19 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
26 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
107 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 ...
1
vote
1answer
45 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
16 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
0answers
19 views

Hidden particular post_status in edit.php

In the edit.php, is it possible to hide a particular post_status?
0
votes
2answers
349 views

Changing logo depending on page on Total theme

Is there a way in changing the company's logo without editing the CSS itself? So when a certain page/link is clicked, the logo changes accordingly. Highly appreciate!
0
votes
0answers
16 views

Prevent user to publish article based on slug

I am looking for a plugin/code to fix wordpress slug issue. Current behavior is if we have an existing article ... example: /selling-a-computer/ And we create another article and give it the same ...
0
votes
1answer
10 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
149 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), ...
1
vote
1answer
54 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
146 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
38 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
177 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
19 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
9 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
106 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
18 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 ...