The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
41 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', ...
0
votes
1answer
608 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 ...
-2
votes
0answers
18 views

Generate pre-built visuals with Post text

Anyone can give me a hint: I need to have on my website a "Generate Visual" button - that will take my post text and give me several different templates where I can make visuals of. Explanation: I ...
1
vote
0answers
16 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 ...
0
votes
2answers
594 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
vote
2answers
32 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
24 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
39 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 ...
0
votes
1answer
748 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
29 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 ...
-1
votes
1answer
435 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.
2
votes
1answer
66 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
31 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
91 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
12 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
29 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
25 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
15 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.
2
votes
0answers
13 views

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

Every time my client must enable this option. Can I modify the WordPress code to make it a default option ?
1
vote
1answer
44 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
36 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
287 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
33 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
23 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 ...
2
votes
1answer
31 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
56 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
39 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
111 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
576 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
27 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
562 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
175 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
33 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
10 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 ...
12
votes
3answers
14k views

Add custom TinyMCE 4 Button, Usable since WordPress 3.9-beta1

How is it possible to add a custom button to the visual editor TinyMCE, Version 4? Currently I found this q&a with a little bit hints to the topic, but not a solution or a how to. But I can't ...
2
votes
1answer
55 views

Is there a way to disable formatting shortcuts in 4.3?

Since the WordPress 4.3 version was released there are these new things called formatting shortcuts. They can be helpful but I find them mostly annoying. Is there anyway to disable these new ...
0
votes
0answers
43 views

jQuery keyup() on Visual editor

I need to trigger typing in Visual editor and to get current text from it. Is it possible? Then next line are not working: $("visual_editor_selector").keyup(function(){alert("Changed")}); ...
0
votes
2answers
39 views

How to add a second stylesheet to the editor

Is it possible to add another stylesheet from my theme directory, to the Appearance > Editor screen?
1
vote
1answer
123 views

Visual Editor is blank - 404 for plugin js

My client's visual editor is not working. I'm seeing a ton of JS errors in the console. All 404 errors for plugin files related to tiny_mce. Here's a couple: ...
2
votes
0answers
125 views

Visual Editor freezing on text highlight since 4.3

Ever since I updated my website to 4.3 my visual editor is freezing every time I try to highlight a piece of text, or even place my cursor someplace random. This only seems to be happening on the text ...
0
votes
0answers
17 views

Subdomain to Root Domain VC issue

I moved my wordpress from blog.mywebsite.com to mywebsite.com by copying the index.php and .htaccess as instructed here https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory. Seems to work ...
1
vote
1answer
100 views

Custom TinyMCE style formats disabled

I've created a TinyMCE style dropdown for the TinyMCE WordPress editor. The formats are appearing as expected on the editor but when the drop down is expanded to choose from a style, they are showing ...
0
votes
1answer
251 views

Visual composer causing conflict with TinyMCE [closed]

My Tinymce is not showing up by default. All out of the sudden, without any new plugin installation or what so ever, VC plugin started to force my text editor (when creating a new entry) to switch ...
1
vote
0answers
81 views

Apostrophe in a possessive appears as an open-single-smart-quote instead of a closed one

Copy & paste the following in the html post editor: <em>John</em>'s Then click preview button and see the results. It will be: John‘s This is grammatically incorrect. It ...
1
vote
0answers
68 views

Change syntax styling of TinyMCE HTML Text Editor

So I have customized the CSS display for the TinyMCE 'Visual Editor' by using this here: /* Add Theme CSS to WP Content Editor -------------------------------------------------- */ function ...
3
votes
3answers
7k views

Hide page visual editor if certain template is selected?

How do I hide the page editor (WYSIWYG editor) if the current page is set to a certain template. I have the following code already to add in custom meta boxes when certain templates are chosen: ...
0
votes
1answer
24 views

How do I get access to the CSS Editor

I have a blog which is hosted by an ecommerce company who also host my website and online store. Because of this, they uploaded the theme I requested - Penscratch. I couldn't do it myself. I now want ...