The post-editor tag has no wiki summary.
5
votes
1answer
157 views
How do I position meta_box on post edit screen?
I am displaying a div in the Edit Post screen using add_meta_box(). This function provides very limited positioning options via "priority" and "context" params and these are not sufficient for my ...
5
votes
5answers
1k views
Syntax highlighting for post/page editor [closed]
Anyone know of a plugin that adds syntax highlighting to the post/page HTML editor?
Thanks-
5
votes
3answers
205 views
Prevent Wordpress from abbreviating-long-slugs…-in-the-admin
On post edit pages, when a slug exceeds a certain number of characters, Wordpress abridges it with an ellipsis (...). For example, if my slug is i-want-to-be-able-to-see-this-slug, it appears on the ...
4
votes
1answer
1k views
Force category choice before creating new post?
How can I force the user to first choose a category before continuing to the editor when creating a new post? I want to set some default content, but this is based on the category, so I need to know ...
4
votes
3answers
284 views
Add comments from the admin panel?
I'm using WordPress as an Authoring tool. Hence I do not use the front end.
Now I wanna add the functionality making internal comments. As it is now, you are only allowed to read comments from the ...
4
votes
4answers
1k views
wp_editor on front end - JavaScripts not included
I am working on a BuddyPress plug-in for a client that requires users to be able to add content from the front end - they never see the back end for security reasons. I have the plug-in written and it ...
4
votes
2answers
611 views
Add custom fields within meta box class “on the fly”
I'm one of the contributors for the Meta Box Class here on Github (link) and before I get too deep, I wanted to ask if anyone knew of a straight forward way to allow users to add additional fields "on ...
3
votes
3answers
2k views
How can I put a custom meta box above the editor but below the title section on the edit post page?
I have a custom meta box for a custom post type that my client wants placed between the title/permalink section and the post editor in the admin panel. Is this possible and if so is there a ...
3
votes
1answer
652 views
Remove “From computer” media tab for posts with existing attachments?
On editing the attachments of a post whith at least one attachment previously uploaded, how do I remove the From computer tab and redirect to the Gallery tab?
This is my current code:
...
3
votes
2answers
969 views
How to Load Scripts and CSS for Admins Only When Editing or Adding Posts
I have a plugin that will allow administrators to perform certain actions when adding or editing a post. I use a stylesheet and a javascript for this plugin that I want to include only when a post is ...
2
votes
1answer
508 views
How to group meta boxes on the post edit page
I suspect that this is not possible right now, but oh well.. I'll ask, maybe one of you has some intersting thoughts to share.
So let's say we have the following taxonomy terms meta-boxes on our post ...
2
votes
2answers
2k views
What are the better WYSIWYG post editor replacement alternatives?
I hate the built-in WYSWIG editor for WordPress. (EDIT: Editors of the sites I support hate it, which in turn makes more work for me. Hence, I hate it.) I know there are some alternatives out there, ...
2
votes
1answer
190 views
2nd button row from WP Super Edit or TinyMCE Advanced doesn't show to 2nd admin
I'm currently using WP Super Edit. But the same problem persists with TinyMCE Advanced.
This is how it is configured:
http://i.imgur.com/4PyXi.png
http://i.imgur.com/YniBi.png
...
2
votes
1answer
745 views
Using WPAlchemy metabox values in another metabox
I'm building a quite complex custom post type structure and I would need some help regarding my metaboxes.
What I want to do:
Thank's to the have_fields_and_multi() function, the user enters data ...
2
votes
1answer
558 views
Edit the “Post updated. View post” link
Is it possible to edit the "Post updated. View post" link and remove the "View post" entirely? Also change the "Post" to the name of a cpt?
Thanks guys!
Update:
Here is the code I used and it ...
2
votes
1answer
165 views
WordPress Post Editor Toolbar Missing
I've just migrated from one host to another (VPS). Now the post editor toolbar has gone away. And also parts of the website shows on the admin side when using the post editor.
The only thing I did ...
2
votes
1answer
214 views
How to add “Check all” to Edit post page in WP?
I want to add a checkbox to Edit Post page in Wordpress admin and clicking on that checkbox should select all categories
How can I do that?
Image description bellow...
2
votes
1answer
583 views
How to add multiple checkbox elements to media attachments?
Based on solved question from:
How to add a checkbox element to attachments editor with example
Theres an example of multiple Checkboxes, for example: Colors, patterns, etc... A grouped list but ...
2
votes
1answer
67 views
WordPress MultiSite Paste from Word Tool Does not work
We're using multisite and pages/posts will not paste from word using the paste from word tool. I've tried everything imaginable, disabled theme (no plugins or network plugins enabled) We've tried ...
1
vote
1answer
831 views
How can I automatically set a post slug based on the post title during post publish?
When you create a post in WP, if you don't specify a title rapidly, WP generates a default slug on autosave, based on the post ID. Then, when you add the title later, unless you modify the slug by ...
1
vote
2answers
440 views
Adding a Nav menu to post admin
i want insert a dropdown menu with list of menus, that i've created in nav-menu.php, to post-admin...
For example, when i'm creating a post, i want insert a menu "Paul" in a post (only a post that i ...
1
vote
1answer
49 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 ...
1
vote
3answers
1k views
No Edit / Delete Links for Custom Post Type?
I've created a custom post type for "testimonials" as well as rearranged the edit post display with custom columns for that post type... Everything works as expected EXCEPT for the fact that when I ...
1
vote
1answer
34 views
Adding a tooltip above Categories postbox in Post Editor
I'm looking to add an onmouseover tooltip link above the categories postbox/widget in the post editor screen of the Wordpress backend to help further clarify to the users on my site which is the most ...
1
vote
1answer
206 views
TinyMCE Autoresize
Looking for a way to make the TinyMCE editor always relative to it's content so that the height of the editor changes accordingly to how much text/images it contains.
There seem to be plugins for ...
1
vote
2answers
116 views
How does Wordpress remember which editor is being used?
Hey so I am trying to determine how Wordpress remembers which editor is being used for a particular post (HTML or Visual Editor (tinyMCE)). When you write a post, and then come back, it goes to the ...
1
vote
0answers
56 views
Word count not accurate - potential bug
My editors reported that there appears to be an issue with my word count on the post edit page. Testing this proved true, check the word count:
This is affecting all posts, for instance, a post ...
1
vote
1answer
117 views
Clicking Add New button for custom taxonomy only moves element
When trying to click the "Add New Equipment Type" button for my custom taxonomy, it simply moves the DOM element up into the list of entries and fails to add the actual term. Here is my taxonomy ...
1
vote
1answer
172 views
Set default post author to none on new post
On a large multisite install with 200 authors I need the author on new posts to default to none.
I unset the post_author div and moved it to the publish box (where it should be anyway) and wrote a ...
0
votes
2answers
3k views
Create and edit posts from front end
I've created a very nice custom post type using the fantastic ACF plugin, but now I need a way for users to submit posts from the front end. Plugins like Gravity forms and Front-end Editor are nice, ...
0
votes
1answer
262 views
Custom posts type for individual pages?
I am trying to make a wordpress site with an idiot-proof backend CMS. I have built several relatively small wordpress sites, but now have moved on to a larger project and want to do it right.
...
0
votes
1answer
235 views
add button to post edit page when post_status=publish
Question
what hook can be used to add a custom button to the 'Publish' metabox on the 'Edit Post' admin page?
Use case
I have a hand-rolled custom post type called ash_newsletter. I want to add a ...
0
votes
1answer
118 views
How to change the post form from plugin?
I am starting making some wordpress plugin, so I am a beginer. I just wonder how can I change the post form of the pages. For example for adding some other input (of type file or text)? I am trying to ...
0
votes
2answers
431 views
How to disable Edit Post and Allow only Custom Field?
What I would like to know is if it is possible to disable the edit post function in wordpress based on User's roles.
I try to explain better. Let's take an 'Editor' as role example:
I would like ...
0
votes
1answer
389 views
Limiting allowed html elements/strip harmful scripts from editor
How can I limit html elements allowed in the tinymce editor in Wordpress 3.1 and ensure harmful scripts have been removed (script/embed tags, etc)
0
votes
1answer
46 views
Restrict acceess of a page in backend
How can I restrict editing of a page from backend only to a specific user?
I tried a few plugins but I thought doing it without plugins would be the way to go for me.
What measures I can take to ...
0
votes
2answers
72 views
Updating post content and custom fields in edit post screen
I'm trying to find the best approach to customising the edit post screen for a custom post type.
I want to add a button which, when clicked will trigger code which looks up an external (not WP) ...
0
votes
2answers
160 views
Problem with Line spacing in wysiwyg editor in WP 3.5.1
Since updating to 3.5.1, I can no longer get single line breaks in the WYSIWYG editor. I used to be able to shift-return for a line break and return for a paragraph break. But now all lines have ...
0
votes
1answer
62 views
tinyMCE duplicates previous block element when pressing return (visual editor)
Going crazy with this. Can't figure out if this is normal behavior.
I have added a filter to rewrite image inserts to use <figure> and <figcaption>. Works well.
However, when I insert ...
0
votes
1answer
72 views
Theme post editor does not have Visual & Html tabs and all buttons?
My theme (which I made myself several years ago based on WP TwentyTen) is only showing a basic post editor (& I cannot remember whether this was so originally or not!).
How do I get the post ...
0
votes
1answer
224 views
Hide tag and category boxes from the post editor
I want to hide the tag and category boxes from the post editor, the theme I've just developed doesn't need them, thus I want to hide them.
I am aware they could be hidden using the 'screen options' ...
0
votes
1answer
2k 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 ...
0
votes
1answer
329 views
How can I increase the font sizes used by the WordPress visual and HTML post editors?
When I'm editing a post, the text looks too small. I want larger text while editing.
Note that I'm not referring to increasing the text in the resulting post ... I mean the text as it is displayed ...
0
votes
2answers
143 views
How can I add a box to edit Order on a regular post?
I'm currently using the menu_order field in the DB to have some custom ordering of posts. I want to expose this field to the user via the admin section, like it is when editing a Page (in Page ...
0
votes
1answer
660 views
Is there a way to enable bulk edit and quick edit on custom post types?
When viewing a list of all standard post or pages there are convient quick edit and bulk edit functions to edit author, template, status, dates, etc...
Is there an easy to enable similar quick edit ...
0
votes
1answer
815 views
add post meta front end edit
I'm trying to allow users to add meta values in my posts but it doesn't seem to be adding it in my front end post edit
<!-- edit Post Form -->
<div id="postbox">
<form ...
0
votes
0answers
33 views
Ajax loaded form elements for post-edit screen
I want to load some form elements for a custom post type's edit screen via AJAX.
What's the best practice to implement this?
Should I use this algorithm?
Hook an action to admin_menu to
...
0
votes
0answers
13 views
Strange behavior when I insert XML code snippet into articles using SyntaxHighlighter Evolved Plugin
I am using WordPress for a technical developing blog.
I am using the base WordPress editor to write my articles (not using other plugin)
I am using the SyntaxHighlighter Evolved Plugin to enter code ...
0
votes
0answers
28 views
Hide wp_editbtns in post editor inserted images
Is it possible to somehow hide the two edit buttons (wp_editbtns) which appear on the click on an image that was inserted into a post/page? Normal jquery didn't work for me. I guess I have to hook ...
0
votes
1answer
90 views
Adding a 'style=' bit to image_send_to_editor output
The best thing I liked about the new v3.5 media manager was being able to insert images to a post hosted by an external site like photobucket using "Insert from URL". I normally format my image ...


