Questions tagged [editor]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
114 views

WordPress page edits are now slow

We have 45,000 pages in our WP Admin. After around 20,000 we started noticing the time it takes to edit a page increased. What we're seeing now is that it's taking around 1 minute to fully open a page ...
0
votes
0answers
30 views

WP Snippet to Hide Theme Editor In Dashboard Only Works On LocalHost Site

I want to remove the Theme Editor in the WP Dashboard that is located under Dashboard > Appearance > Theme Editor. The code I'm using in my config.php file in the root of my site is : define('...
5
votes
2answers
751 views

Disable the Code View in the content editor?

Is there a way to disable JUST the Code editor view in the content editor? I have a bunch of clients who fancy themselves developers and keep messing up their own pages because they really have no ...
0
votes
0answers
16 views

Have a website using version 4.9.11 and the Appearance option does not appear on Dashboard

We have a very old version of Wordpress and several editing options do not appear on the Dashboard including Appearance and Plugins. It's possible that the original creator of the website disabled ...
0
votes
0answers
23 views

Tag pages with regular editor

So, I am creating a website, review products and attach dozens of tags to them dependent on what the product entails. I have a custom review template for my products and based on what I tag the ...
0
votes
0answers
107 views

wp_editor in custom post type is not saving formatted text like bold, italic etc

My custom post type has 5 custom meta boxes which use wp_editor. Visually I can format the content but when saved, all the formatting is gone. For example I made a portion of my content bold, but ...
0
votes
0answers
2k views

Elementor Text Editor Widget Not Working

I was working on this site from past one month and suddenly the text editor widget stopped working I have tried all the solutions. Including deactivation of all the other plugins, changing the editor ...
0
votes
1answer
29 views

How to enable error reporting for wp admin section

I have updating my wordpress version to latest version after updating it locally.When i try to edit a page the page crashed and not working after editing and save.I have enable the errors but if show ...
0
votes
0answers
114 views

Using wp_editor() when not logged stopped working

I've build myself a custom page template. Within this template I'm using the wp_editor() function. Sadly, when I logout now from my wp site and go now to the page I want to see, I'm getting an error ...
0
votes
1answer
202 views

Square brackets make WordPress ignore newline/paragraph

When I insert this text: Sources: 1 https://example.com/source-1 [2] https://example.com/source-2 [3] https://example.com/source-3 WP doesn't respect those newlines. If I remove the texts in [] ...
0
votes
1answer
30 views

Display simple html code in post

Using Wordpress 5.2 and classic editor, I just want to display HTML code in my post. I use Prismatic as syntax highlighter. In my post, in the "text editor", I wrote this : But when I publish my ...
0
votes
0answers
57 views

home page slug editor missing from WordPress

the website that I am working has been developed by a web designing company. i see that they disabled the home page slug editor but the rest of the pages has the edit option. Now I am trying to add a ...
0
votes
1answer
18 views

How to add fields in the WordPress editor?

how to add fields in the WordPress editor? I know there is a need to add persnalized fields in the editor but I want to save other information such as custom checkboxes Any idea to put a textarea ...
0
votes
0answers
306 views

Image alt attribute

My images have alt attribute, but is not showing. My SEO pluging does not recognized them and google prensets the an alt text that is not the one I wrote but the name of the picture(file). this is how ...
1
vote
1answer
329 views

Allow users to publish child pages of the pages they have access to edit

I have created a custom role called Custom Author. Users in this role can edit their own pages and add new pages. I would like to restrict new page creation and allow Custom Authors to create pages ...
0
votes
0answers
48 views

How to use WP Backery on Wysiwyg ACF

One of my client use ACF and WP Backery. I need to use the backery editor to include a specific component, but it must apply on a wysiwyg ACF. For the moment, I can apply the WP Backery editor only ...
0
votes
0answers
20 views

Editor width automatically reduced - text is wrapped after 1 character

I have created several blocks using the wordpress editor. When I first create them, everything looks fine. When I revisit the editing page after some time, the width of the text block has shrunk ...
1
vote
0answers
129 views

Set featured image using javascript in post editor

I have built a plugin that will auto-generate an image based on some variables in the post the user is writing. They have the ability then to set some colors and stuff to make the image look nice. ...
2
votes
1answer
696 views

Stop WordPress editor embedding links

There are several posts about this, - but I suspect that it has changed after Gutenberg, since I can't get either of the methods to work. I'm trying to stop WordPress embedding links, when written ...
0
votes
3answers
836 views

Why is WordPress rewriting absolute URLs on staging site to include staging prefix when we manually point them at the live site?

Edited for clarity and to display steps we take to reproduce the issue. Question What would cause absolute URLs on our staging site to prepend the staging site's subdomain to them when saved in the ...
0
votes
2answers
902 views

How to get value of selected page template in Gutenberg editor?

How to detect the value of selected page template in the edit page? I have used jQuery to select the page attribute select box but it is not working when we hide the editor sidebar; Because it removes ...
0
votes
0answers
85 views

Wordpress not saving <p> tags for custom taxonomy term description

I'm using wordpress API to display content. I'm using the classic editor since guttenberg is bugging out elsewhere. I noticed that if a paragraph does not have inline styles, wordpress does not save ...
0
votes
2answers
500 views

Is it possible to remove editor from a custom product type?

I want to remove the editor and set up only the excerpt to a custom product type (WooCommerce) in my theme, is this possible? This is how i add my custom product type to the WooCommerce product type ...
0
votes
0answers
169 views

Failed to load resource: the server responded with a status of 500 () post.php

I got no error in my Admin panel but when I define a new editor or author role when the user goes the panel to edit or add new page nothing works, no button, no page builder and nothing and He got ...
1
vote
1answer
202 views

Edited Child Theme's “header.php” but it doesn't appear to change the file

So I logged into FTP and navigated to /wp-content/themes/MyChildTheme/ and edited the header.php file. I saved the file and uploaded it and I can confirm the file has changed because if I check via ...
2
votes
1answer
44 views

Remove all table widths from editor content

When I paste a table into the WordPress editor, I always get widths like <td width="232">. I want to remove all widths when tables are added to the editor. If it was regex, I would write ...
2
votes
2answers
1k views

How to remove these comments and html tags from the content?

These are actually input fields. paragraph is the textarea field. i query the contents from database and try to show them in this textarea field. But the textarea field is showing me unwanted comments ...
0
votes
1answer
47 views

Unable to edit and see content of pages

I am not able to see the content of my WordPress pages. Only header and footer is showing on my web pages. When I am visiting these pages I am not able to see any content except header and footer ...
2
votes
1answer
472 views

Add table controls with wp_editor minimal editor configuration ('teeny')

I want to add the table controls for wp_editor(tinymce) initiated with teeny=>true. Here is what I have done so far (without success): <?php $tinymce_options = array('plugins' => "table", '...
0
votes
1answer
106 views

Access post title from custom meta box on title change

I have a custom meta box as part of my post editor. When the user changes the post title, I want to reflect this change in the content inside the meta box. I have seen plugins like Yoast do this but ...
0
votes
0answers
15 views

editor option not available in dashboard

The editor option not showing up in the dashboard. I tried to set to false the statement define('DISALLOW_FILE_EDIT', true); But there is not any statement like this in wp-config file. What to do?
0
votes
0answers
2k views

Error in backend: Failed to load plugin: tabfocus from url

I'm getting an error that looks really wierd (notice the red error, running all the way down from top to bottom, over the left sidebar): The error is: Failed to load plugin: wordPress from url ...
0
votes
1answer
31 views

Where do I go to edit this area? [closed]

I need to edit the area shown in my photo. I am using a child theme. I am unable to ask the question to the theme's website as I don't have a proper subscription. I have tried looking at both the ...
0
votes
1answer
111 views

How to perform action when plugin/theme editor is used?

I'm attempting to log lots of WP activities to create an audit trail. I'd like to disable the plugin and theme editors entirely, but it is not an option. Those functions appear to be very light on ...
3
votes
2answers
2k views

Add Shortcode inline inside Gutenberg block

In the legacy (classic editor) it was possible to add buttons to the editor toolbar via tinymce API, that will add shortcode at cursor. seems like this is not supported anymore from the tinymce FQA ...
0
votes
1answer
69 views

Query post with content only

I need to loop through the last 3 posts movie, but only those which have a content not empty. I used to do as follow when I used the ACF editor instead of the native one. movie-content refers to ...
0
votes
1answer
517 views

How can a TinyMCE modal return formatted/visual text?

I am trying to customize the behavior of an editor button in a plugin. On click, it opens a modal where the user can input some text. On confirmation, I want to wrap this text into code tags. But I ...
1
vote
0answers
328 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
106 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
1answer
340 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.
3
votes
2answers
3k views

Gutenberg block editor - list of form components for custom blocks

I'm trying to learn how to create blocks for the block editor. I can't seem to find a list of form elements to add. For example, I need a toggle switch, dropdown, etc. I found THIS toggle, but I'm ...
0
votes
0answers
301 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
18 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
43 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 ...
1
vote
3answers
3k 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
43 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
669 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 ...
26
votes
2answers
25k 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
92 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
35 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 ...

1
2
3 4 5
11