The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
5k views

How to enable the <br /> tag in Wordpress posts and pages

i can't understand why so simple feature are disabled by Wordpress Team. I want have line breaking with "br" tag. On one wordpress forum was idea to modificate editor.js (in wp-admin/js) and ...
1
vote
1answer
86 views

Extra option in editor

I'm sure there's an easy solution to this, but I'm wondering how to add custom input fields in the Wordpress editor. My goal is to have an image uploader to the right of the main editor, when an ...
1
vote
1answer
360 views

Remove inline styles from the_content?

Is there a way to remove any inline styles made by the WP Editor i.e. Font Size?
1
vote
1answer
811 views

TinyMCE in Custom Metabox not loaded after upgrading from WP 3.1.4 to WP 3.2

I want something very simple: a custom metabox with a TinyMCE editor in it. The following code help me achieve that easily in 3.1.4: add_action( 'add_meta_boxes', 'add_metaname_box'); function ...
1
vote
1answer
559 views

Why does the HTML editor not wrap my code in paragraph tags when I press enter

Normally when using a rich text editor, when you hit return (i.e. do a full paragraph return) Your text is wrapped i.e. <p> my text </p> however this does not happen in wordpress. Is ...
1
vote
1answer
533 views

Dynamically add CSS to the visual editor

I created an options page for my theme, where I can manually edit the CSS. Lets say I change the CSS in the options page for the <H1> tag, so it will now change it on the front-end. What I want ...
1
vote
1answer
744 views

Adding TinyMCE buttons without removing plugin buttons?

I'm developing a plugin that I'll install for all my clients to make WordPress slightly easier to use for them. One of the things it will change is the default TinyMCE configuration. It'll add things ...
1
vote
4answers
200 views

WP as an HTML editor

Is WP a good HTML editor? A friend of mine wants to create HTML pages, but doesn't know HTML. Can WP become a WYSIWIG HTML editor via the appropriate plugin? He'll be formatting images, wanting ...
1
vote
1answer
521 views

WMP Plugin not showing up in the plugin panel?

I just downloaded the WMD Editor plugin. For some reason is not showing up in the Plugins menu. the folder is called wmd-editor/ wmd-editor.php: <?php /* Plugin Name: WMD Editor Plugin URI: ...
1
vote
0answers
47 views

Is it possible to make *.js and folders visible in theme-editor

I just created a file test.js in the folder of my own child-theme. Unfortunately it is not visible in the Theme editor. How can I make it visible? And is it possible to make folders visible?
1
vote
1answer
152 views

ASCII to Unicode conversion and then save the data into database using WP post editor field

Here is the WordPress default post editor as we know: You may notice, here are some garbage texts in the Title and Description field. They are ASCII texts. PLOT In Bangla, a widespread software ...
1
vote
1answer
100 views

Hide content editor for posts after approriate date

I am tuning my new site and i what to disable Content Editor for post created after date X, but for posts that created before that date Content Editor must be on its place.
1
vote
0answers
62 views

Getting Theme element into plugins page editor in wp admin

I'm having a hardtime integrating a theme editing element (in default page/post editor in wp-admin) into page/post editor made by the plugin BU Versions. Basicly I need this theme element to ...
1
vote
0answers
165 views

Wordpress Page Edit gives Error 404 [closed]

I'm having the stupidest problem, ever. I can manage and edit pages just fine, but after some time, I can no longer edit or preview a page and I receive an "Error 404 - Page Not Found". This ...
1
vote
1answer
251 views

WYSIWYG eating up first p in td

Basically going mad on this one. Been googling about for quite some time now to find an answer. Most hits are on year old posts. I tried to alter how TinyMCE initiates with "remove_linebreaks" set to ...
1
vote
0answers
112 views

Visual editor broken after upgrade [closed]

Yesterday a colleague updated WordPress and a number of plugins on our site. Since then, the visual editor displays the contents of pages and posts as HTML, it is also white, whereby we first thought ...
1
vote
2answers
711 views

Placing <div> tags on wordpress visual editor using shortcodes

Hello I need to have the following code on a specific page: <div class="searchbar" > <div class="searchbar-inner" > search <input type="text" id="search" ...
1
vote
3answers
354 views

customize tiny MCE blockqute

Hi we all know by default tiny MCE's blockquote generates this <blockquote> content here </blockquote> I am styling this via CSS : the css im using : blockquote { border: none; ...
0
votes
2answers
356 views

How To Hide The Visual And Html Editor Completely?

I have some clients that are going to be using wordpress for their sites. I created custom fields for them to input data in so they don't have to use the editor. How do I hide the page editor ...
0
votes
3answers
2k views

How to add editor-style.css styling to wp_editor on front end for comments

How can I apply my own css (to match editor-style.css) to wp_editor being used on the front end for comments? Currently I'm using code from here to enable the visual editor for comments. My actual ...
0
votes
1answer
62 views

Sorting editor screen items

When new users log into our site they have to organize a number of screen options in order to begin creating custom fields and editing the site. I would like to force a specific order in which these ...
0
votes
2answers
49 views

Want the visual style in wordpress

In my WordPress installation when I want to post something there are only html style to write. I see in video tutorial that a WYSIWYG editor should appear on the screen so I can write easily as I ...
0
votes
1answer
270 views

Define add_editor_style to specific post types?

I am wondering is it posible to define add_editor_style to specific post types? Currently I am using this function.. // EDITOR STYLE add_editor_style('editor-style.css'); But I would like have ...
0
votes
2answers
672 views

Pasting code into pre-formatted text in Visual Editor not working in 3.3.1

Pre-formatted text in the Visual Editor is not behaving like I'm used to. I've got an old installation (3.2.1), and when create pre-formatted text, all the line-breaks and spacing is preserved. In ...
0
votes
2answers
201 views

Custom styles.css sheet for visual editor

I am trying to use my own styles.css for inside the body of the visual editor for my pages. However, when i add add_editor_style('styles.css'); to the functions.php page it doesnt change anything ...
0
votes
2answers
38 views

How to get post body look same as my visual editor?

When I apply the format and styles such as bold and <br/> on visual editor it looks bit nicer. But when I see that on blog post it looks totally different. I do not use any styles for p tag in ...
0
votes
1answer
180 views

How to get Text Selection in WordPress Editor

I want something like if I select any word in WordPress Visual Editor, it will get replaced with my own text. Actually Visual Editor is an iFrame. We can do this thing in textarea, but how can we ...
0
votes
1answer
41 views

Can't give tags rels

In my Wordpress post I click on edit post and skip over to the html editor tab and click on it. I have a pre on that page and when i give it a rel and publish its all fine but when I skip back over to ...
0
votes
1answer
416 views

How to remove some options in visual editor?

I want remove some options in visual editor. How to remove them? For example i want to remove the following. Align left option Align center option Align right option More tag option Add media ...
0
votes
1answer
859 views

How to force <p> insertion in editor

EDIT 2 The following edit has some mis-information, see the selected answer and comments. EDIT I am a fool. The editor was in fact adding <p> tags as expected. I was using a combination of ...
0
votes
1answer
657 views

Why does hitting enter in Visual Editor add <p> instead of <br>?

Why does hitting the enter key in Visual Editor add <p> instead of <br>? What I want sometimes is a new line that starts immediately after the previous line. Unfortunately, the visual ...
0
votes
1answer
1k views

Restrict file uploads by extension?

Is there a way in WordPress 3.1 to restrict allowed file uploads by extension (images only) and file size? Bonus question: Can I limit users to only be able view files they have uploaded themselves?
0
votes
2answers
1k views

Theme Advanced Styles in Visual Editor and Paragraphs

After i add these codes to functions.php: add_editor_style(); function childtheme_mce_btns2($orig) { return array('formatselect','styleselect', 'underline', 'justifyfull', 'forecolor', '|', ...
0
votes
1answer
12 views

Why is tinymce visual editor showing the background from my theme

In my theme I have the body background style set to a particular image (in style.css file). When editing the content under visual editor I have this same background I set in the theme. Is it possible ...
0
votes
1answer
80 views

TinyMCE: Move buttons from 2nd row to top row

I have disabled many of the TinyMCE buttons making the two rows quite empty. Is it possible to move the remaining buttons from the second row (that is displayed when hitting the Kitchen Sink button) ...
0
votes
1answer
30 views

How to use numbered lists in the post editor?

I have troubles to use numbered lists in the post editor. I want to have a numbered list where each number could have few paragraphs inside. Something like List one some text paragraph two for ...
0
votes
1answer
95 views

jQuery does not work on WordPress editor

I've added some content to WP's editor, however the new content does not respond to the click behaviour. Here's how I've added the content: add_filter( 'default_content', 'custom_editor_content' ); ...
0
votes
1answer
106 views

Comments screen in backend, how to disable visual editor when replying to a comment

I'm almost done to create my project with WP and all the steps taken have brought me almost to the finish line. The following recent answers I had were able to help me customizing the comments area: ...
0
votes
1answer
631 views

Adding tables to the WordPress Editor

I tried this fix: http://www.paulund.co.uk/display-full-tinymce-editor-in-wordpress But I see no change in my editor. So how do I enable tables in the wordpress editor. MY function is: function ...
0
votes
2answers
1k views

enable TinyMCE for comment forms

Is there any way in Wordpress to use a richt-text-editor (preferable the build in TinyMCE) on the comment form textarea in the frontend? I had such a feature in earlier versions, using the plugin ...
0
votes
4answers
248 views

Resizing the wordpress editor

I've been looking around on how to re-size the WYSIWYS editor for wordpress and have used firebug to re-size the #post-body-content but it doesn't resize ever. It will resize in the firebug ...
0
votes
2answers
117 views

Line breaks </ br> changing to <!— br--> when switching between HTML and Visual tab!

I'm a code newbie and I was just making a wordpress post and instead of using the correct line break code of <br /> I used </ br> in the VISUAL editor. When I switched to the HTML editor ...
0
votes
1answer
636 views

Lost formatting after saving

I make basic formatting to the text in visual editor. When saving, everything got lost, formatting, spaces, paragraph.... everything got inline... I will go crazy !... why it's doing that ?.. i can ...
0
votes
1answer
17 views

How to determine if a post was last edited in the Visual Editor

Is there any way to determine whether a post was last edited using the Visual or HTML editor? Perhaps by hooking into an action?
0
votes
1answer
2k views

qTranslate 2.5.28 and WordPress 3.3.1 issues

Anybody knows how to solve the issues in qTranslate 2.5.28 with WordPress 3.3.1? http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=3045 ...
0
votes
2answers
182 views

Cafe Food Menu upload

A funky cafe changes their menu every month, and they're not comfortable with using the default Wordpress editor to make a Wordpress page look the same as their Word doc. Example word doc here. Can ...
0
votes
1answer
306 views

Right align a youtube video

I'm trying to right align (class="alignright") a YouTube video AND allow my client to edit the surrounding text in the future using the visual editor. I simply added class="alignright" to the tag ...
0
votes
1answer
102 views

Keyboard shortcut for headings on safari

When I use wordpress on PC, I can simply press ctrl+1 for Heading1 and ctrl+2 for heading 2... But when I use my mac it doesn't work. What are the shortcuts for heading styles on safari?
0
votes
1answer
376 views

Getting selected (highlighted) html from the Visual Editor on Edit Post page?

So I understand that the visual editor uses something called TinyMCE. How do I retrieve the html that the user selects from the visual editor? I am basically trying to create a button that gets the ...
0
votes
1answer
182 views

Best Browser for Editing Posts

What browser is best supported by Wordpress.org for editing posts in the visual editor (which I guess is TinyMCE)? I use Google Chrome and have run into issues which are specific to just this ...