The tag has no usage guidance.

learn more… | top users | synonyms

14
votes
3answers
295 views

Remove inline linking tool

I'm not a big fan of the inline linking tool published with WP 4.5. Is there a way to disable it?
1
vote
1answer
429 views

How to add wp visual editor in a custom widget?

I am developing a widget plugin and want to add a textarea with WYSIWYG editor in widget settings. Any help would be highly appreciated. Thanks.
0
votes
1answer
1k views

How to use WP switchEditors.switchto(this) JS function in your own script?

I have a tab switching theme that lets the user choose 3 editing modes when adding new pages (HTML and Visual- these are WP defaults and the new Syntax mode using Code Mirror). I have issues when ...
0
votes
2answers
699 views

Add button in TinyMCE editor to insert text

I'm searching a way to add a custom button to the TinyMCE editor when clicked insert into the visual editor some text. For example: button called "Hi" when clicked insert into the editor "Hello I'm ...
-1
votes
1answer
59 views

Visual Composer - not working after update [closed]

a site has being updated to Wordpress 2.5.2 . Since the update Visual Composer does not load, see screenshot below. I've updated the Theme and all the plugins, including Visual Composer to the ...
21
votes
1answer
343 views

Adding Custom Text Patterns in the WP 4.5 Visual Editor

4.5 is out and with it new Text Patterns. I would like to know how to go about adding my own custom patterns. Taking a look at wp-includes/js/tinymce/plugins/wptextpattern/plugin.js it seems pretty ...
0
votes
1answer
886 views

How avoid WP editor to change <br/> by &nbsp;

Ok this is an old question and i may receive classical answers : use soft key I can't, i also use JIG and it makes the soft key invalid when i use it to make the text slightly downard to feet with ...
1
vote
1answer
39 views

WordPress custom post - add dynamically meta boxes

I want build an custom editor for my custom post type in WordPress. I'm able to add multiple tinymce editor to the post type, but I want this dynamically. I'd like admin users to be able to create ...
-1
votes
2answers
954 views

Visual composer not showing edit tools

The visual composer is not showing the editing tools. I have disabled all plugins and also check the user profile and enabled visual composer while writing. Screen shot of how my edit page look.
0
votes
2answers
35 views

Shortcode templates

I don't know if this is the correct way to approach this, but here it goes. I'm working on Visual Composer (but could be vanilla WP), and I'm trying to implement a shortcode which generates another ...
0
votes
1answer
19 views

How to make elements not editable in visual editor

I have bootstrap grid in some pages, which I've made visibale in the editor by styling in editor styles. Is there a way to make the column div not removable in visual editor, kind of like how you ...
0
votes
0answers
58 views

Special characters are showing as question mark

When I am writing a special character code or entity in the visual editor box it is shown as ? (Question mark on post). Kindly suggest What should I do?
0
votes
1answer
290 views

Working With Visual Composer VC_Single_Image

I am working on a wordpress site that has this short code, [vc_single_image image="7004" css_animation="right-to-left" border_color="grey" img_link_target="_self" img_size="300px"] I need to ...
1
vote
0answers
40 views

Edit page blank, control buttons missing

Lately I encountered a strange problem while editing posts and pages. I have a blank page with all controls missing (like publish etc.). I tried to deactivate all plugins. I tried to upgrade ...
2
votes
2answers
783 views

Change padding to text indent in “Increase indent” TinyMCE

If you click "Increase indent" in the visual editor it adds the following code into the text editor: <p style="padding-left:30px;"> How to change it to text-indent: 30px; not affecting the ...
0
votes
1answer
50 views

How to modify VisualComposer's TinyMCE editor only for a specific shortcode

I spent a lot of time looking for how to modify the buttons of a TinyMCE editor for a Visual Composer plugin that I'm developing. My requirement was to modify which buttons are shown, but only in the ...
1
vote
1answer
63 views

Is it possible to ignore the first Line Break in a preformatted Div from a shortcode?

I created a shortcode of [pncode] that lets me enclose some programming syntax and apply some styling. Notably, it preformats the text and makes it monospace (full CSS below, if it helps). In the ...
1
vote
1answer
146 views

How to display TinyMCE without wp_editor()

I'm trying to enable WordPress' tinyMCE editor for a front-end textarea, from a plugin's pro version. I temporarily solved the issue in a bogus way: In free version: wp_editor( $details_val, ...
1
vote
0answers
19 views

Add visual editor style only on widgets.php page

I'm attempting to add a visual editor style with the function add_editor_style('visual-editor.css');, but only on the widgets admin' page, and not on post editor screens. I'm using a visual editor ...
1
vote
1answer
165 views

How to pass “get_the_terms_list” as shortcode to Visual Composer Grid Builder

I am trying to create a shortcode that returns the term list inside of Visual Composer's Grid Builder. I have read the docs here. My code is as follows: add_filter( 'vc_grid_item_shortcodes', ...
1
vote
2answers
34 views

Why is my theme is randomly stripping the <p> tags out

I haven't done anything to my clients site but add some more text to a testimonials page, updated it & then went to go see the page and it's been all smashed together! It's using randomly placed ...
1
vote
0answers
130 views

Visual Composer shortcode for child theme dir

I have a site using VC that is running on localhost and also on a staging environment. I need to access the child theme directory to call images from within raw-html sections of visual composer ...
1
vote
3answers
2k views

How to remove permalink from images when inserting into post?

In previous versions of WP, we were able to remove permalink from images while we were inserting images into post. But now there is no obvious option to do so. How can it be achieved?
1
vote
3answers
219 views

Enabling Visual Composer on custom post types

I'm using Visual Composer that comes with a wordpress theme in an install with 2 custom post types created by me. I'm trying to set visual composer enabled as default with no succes. I use the code ...
1
vote
1answer
41 views

How to disable formatting

Everytime I copy something, Wordpress will format the content like it was in that text. For example if I copy a link from Wikipedia, Wordpress will format that word to be bold, blue and with ...
2
votes
1answer
198 views

TinyMCE editor is breaking my beautiful HTML

This is pretty much an exact duplicate of: How to make Wordpress and TinyMCE accept <a> tags wrapping block-level elements as allowed in HTML5? and HTML5, WordPress and Tiny MCE issue - wrapping ...
1
vote
0answers
95 views

Visual/Text tabs in wp editor Not Showing

I have a wordpress website that i have added custom meta boxes to the post. Custom meta boxes have an editor using wp_editor(), but the editor is refusing to show the visual/text tabs on the editor ...
3
votes
1answer
97 views

Featured image shortcode

Each post currently requires the featured image to be duplicated within the post several times. Is there any way in which I could dynamically call the featured image back into the post rather than ...
1
vote
0answers
13 views

How to edit video positioning in wrapper in WP 4.1 Visual Editor

OK so I've added an image here from our front page. We're using the YTPlayer plugin to run the looped video in the background. As you can see from the photo, there's a part of a jpeg photo in the ...
1
vote
0answers
52 views

How can I register a custom “Text Pattern” (WP 4.3) for TinyMCE?

WP 4.3 added some really cool editor features: https://make.wordpress.org/core/2015/08/01/editor-enhancements-in-4-3-%E2%9C%A8/ The "Text Patterns" are really useful to create lists, quotes and ...
1
vote
0answers
37 views

How would you check if changes were made on a post or page?

I have an post editor and a post viewer (the browser) that are running at the same time. I would like to show changes almost immediately in the browser when the post has been updated on the server ...
1
vote
0answers
19 views

wordpress 4.4 upgrade visual editor bullets select for not selected elements

Please check attachment for reference image and help me to fix it please.
1
vote
0answers
19 views

Is there a way to make the View > Show Blocks a standard option in the Post Editor? [on hold]

Every time my client must enable this option. Can I modify the WordPress code to make it a default option ?
1
vote
1answer
58 views

WordPress Editor not getting youtube video preview

When I am creating a post from the admin panel and using a youtube link in the Editor, the editor automatically fetching the video from youtube and displaying right away in the editor. But When i ...
1
vote
0answers
63 views

Hide/show content starting in the middle of a paragraph

I need to be able to hide/show arbitrary content (paragraphs, lists, maybe pictures) based on a user clicking a link. This is easy enough, but I am running into a lot of problems trying to add this in ...
0
votes
3answers
321 views

Visual Editor not working when Jetpack plugin is active

After installing the Jetpack plugin, the visual editor stopped working. The Visual tab is still there but the editor area is empty and the toolbar is missing. I have deactivated all other plugins ...
1
vote
1answer
61 views

How to reset display of WYSIWYG editor

I recently installed WordPress on a new domain but I have a small problem. This WYSIWYG editor displays very small text with no padding. Here are some examples. Desired behavior: Actual ...
1
vote
0answers
31 views

Adding a button to the attachment page

I have been trying to modify my theme to show an additional button on the attachment page. The reason for this is that I am using the standard wordpress gallery with a link to the attachment page. I ...
6
votes
5answers
13k views

Keep HTML format when switching from Visual to HTML editor

I've been looking around for a solution that will allow me to edit HTML code and have it remain after a switch to the Visual editor and back. I've tried a bunch of things with no luck: the ...
3
votes
1answer
47 views

Can't change the width of content in the visual editor

I'm using a child of Twentyfourteen on this site (although I'm not sure that the theme being used is relevant in this case). The content of the visual editor is being set by this style rule: html ...
1
vote
0answers
111 views

Making a custom widget that includes a tinymce and works in Site Origin Page Builder

For a client I'm using Site Origins Page Builder plugin. It enables the client to make rich layouts for each page by dragging and dropping widgets. Site Origin widgets that require a WYSIWYG-editor ...
0
votes
1answer
54 views

Disabling visual editor on a specific post

I would like to disable the visual editor for post id 416 on my local WordPress installation, to do so (following this answer) I added: add_filter( 'user_can_richedit', 'wpse_58501_page_can_richedit' ...
0
votes
0answers
213 views

Cannot edit or add new page after migration, content area disappeared

After migrating my website to the production server I am getting a strange error, the content area has disappeared on edit/add new page/post, and is replaced by this message: "You are currently ...
1
vote
1answer
635 views

Visual Editor gone

My visual editor is missing in a project I've tried this guide which includes deactivating ALL plugins, changing the theme, empting the cache and still at that point there was no Visual Editor, only ...
1
vote
0answers
38 views

How to remove &nbsp; from hr in wordpress visual editor

Hi in wp visual editor whenever I add the hr from the inbuilt visual editor button it also adds &nbsp; which is kind a annoying as I have delete it every time manually. Does anyone know any way so ...
0
votes
3answers
2k views

Wordpress “Page not found error” when I edit a page

On a Wordpress based website, when I add text using wordpress visual editor or HTML source to a particular page - it gives "page not found error". I tried by adding some other text and its working ...
3
votes
1answer
568 views

Remove path from the create/edit a post view

Been fiddling around, trying to remove the "path" info that's shown when you create/edit a post in wordpress. Been able to remove word count and the saving draft info, but not the path thingie This ...
1
vote
0answers
257 views

How to change visual composer's WYSIWYG background color? [closed]

So I have some sections where the background is black, and text is white on the frontend. Its a common problem where users will have to edit the white text in white background in the backend. While ...
0
votes
1answer
38 views

How to stop javascript code being broken when going into visual editor

so I already had to make my code uglier than it needed to be, because whenever I tried to do && wordpress decided I wanted &amp, and now I am finding that when I go into visual view any ...
0
votes
0answers
12 views

How do I add items to the post edit toolbar?

I would like to add an insert code tool to the visual editor toolbar but I haven't the foggiest how. I have limited experience with PHP scripting, so anything as involved as writing a new PHP script ...