The tag has no wiki summary.

learn more… | top users | synonyms

12
votes
2answers
374 views

Unable to select an old date in wordpress

I am unable to set the year below 1899 for a post. If i set year below 1899 it is set to the current year automatically. I have purchased the Timeline theme and asked in their support forum. They ...
8
votes
3answers
5k 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 ...
8
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
1answer
483 views

How do I position meta_box on post edit screen after the title?

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
1answer
2k 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 ...
5
votes
2answers
227 views

Tabindex on text input immediately after WordPress title input

The following code adds a text input for a subtitle to the space directly below the title input, via the edit_form_after_title hook. However, when editing the title, pressing tab moves the cursor to ...
5
votes
3answers
390 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
3answers
832 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
2k 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
810 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
1answer
775 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 ...
3
votes
1answer
699 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
196 views

How to add editor's name to entry meta byline?

I have one multi-authored blog site and a few editors. What I want is to display the name of the editor along with the author's name in a post, so that it would read like: Posted by , Edited by Is ...
3
votes
2answers
2k 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 ...
3
votes
2answers
3k 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, ...
3
votes
1answer
280 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 ...
2
votes
1answer
1k 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
2answers
82 views

Consolidate Metaboxes into 1 Big Metabox

I have a post type with 7 (count it SEVEN!) taxonomy tag boxes. By default, the only options to display these metaboxes are - 7 small metaboxes on the right side stacking or turn these tag metaboxes ...
2
votes
3answers
2k 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 ...
2
votes
1answer
273 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
930 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
394 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
364 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
763 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
2answers
132 views

Editing a Post, 99% CPU?

I have a blog with ~15k posts, and a DB size of 14.4M. The website works blazingly fast from the front end, but post-edit and post-listing screens hang - either loading partially or not at all. Even ...
2
votes
1answer
144 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
1k 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
720 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
3answers
5k 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, ...
1
vote
2answers
42 views

Should the WP post editor B (bold) button be inserting a <b> tag instead of <strong> in HTML5?

Using WP 4.0. I thought that the html5 schema was supposed to be turned on by default. That would mean that clicking the B (Bold) button would generate a <b> tag, rather than a <strong> ...
1
vote
1answer
530 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 ...
1
vote
1answer
611 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)
1
vote
1answer
58 views

Custom Post Type Capabilities

I have a custom post type which I want authors to be able to edit others posts but no able to delete others posts. My code as follows: $labels = array( 'name' => __( 'Book', ...
1
vote
2answers
34 views

Show box only on edit post

I've made a video custom post type and on the edit page I've placed a meta box where I display a shortcode associated to the post, to make it easier for the user. However, I wish the shortcode and/or ...
1
vote
1answer
92 views

Disable the visibility options in WP

Is there a way to disable the public vs private vs password-protected visibility UI when editing or quick-editing a post? A quick scan in the code yields #visibility, which I could hide using jQuery, ...
1
vote
1answer
162 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
820 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
1answer
7k 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
299 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 ...
1
vote
2answers
152 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
29 views

Embedded tweets get wrapped in <p> tags and fail to load

So WordPress should embed tweets in posts just by pasting the tweet url, like so https://twitter.com/cnnbrk/status/496020289277689858 This works great, if you manage to avoid having the url wrapped ...
1
vote
0answers
50 views

Posts aren't showing up in my dashboard [closed]

When an admin logs into my site to edit a post, the list of available posts is empty -- even though there clearly are posts on the site. Do you know why this is happening or how to make the posts ...
1
vote
0answers
55 views

edit.php alter links

I want to alter the view of edit.php in the posts admin area. What I want is when a category is set ( $_GET['cat'], cat=x in the url ), add post would be post-new.php?cat=x. Is this possible? I know ...
1
vote
1answer
65 views

Post editor loads empty

I am running WordPress 3.8 and I recently switched server, so didn't realize when the problem creep in but most likely its the server change and I need some help figuring it out. When I open post ...
1
vote
1answer
120 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
183 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
2answers
219 views

Custom fields attached to a page template only show on edit screen when page is saved

When I create a custom field and associate it to a custom page template, it doesn't show in the post editor screen until I click save (draft / publish). Ideally, the custom field should show when I ...
1
vote
1answer
199 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 ...
0
votes
2answers
74 views

Automatically set page order on create page

Is there a way to automatically set page order to the last order number upon creating new pages instead of having it set to 0?
0
votes
1answer
727 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 ...