The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
174 views

Empty paragraphs around figure and figcaption tags when using markdown

I'm using WP 3.8 and Markdown on Save Improved plugin and have following code for outputing HTML5 tags when inserting images via Media Uploader: function html5_insert_image($html, $id, $caption, ...
5
votes
2answers
441 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 ...
0
votes
1answer
122 views

How to change the default orderby from “Date” to e.g. “Title” or my custom column in content type records list in admin?

How to change the default orderby from "Date" to e.g. "Title" or my custom column in content type records list in admin? Right now the created or cahnged is always the first. But I want to order the ...
1
vote
2answers
41 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
220 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, ...
2
votes
2answers
181 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 ...
1
vote
2answers
2k views

Post/Page Publish/Update button not clickable once I make an edit

I open a page and make an edit and the update button becomes grayed out. I have to copy all page content, refresh the page and paste it back in the page, only then does the update button become ...
12
votes
2answers
474 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 ...
0
votes
1answer
1k views

'wp' hook supposed to trigger when editing a post?

I'm trying to figure out if this is by design, a bug or a feature I should try to request. I created a plugin and added the following code: function test_wp() { echo '<div style="position: ...
0
votes
1answer
71 views

Suddenly new posts have the default permalink instead of the post name

One of my clients' sites has suddenly and for no apparent reason decided to disregard the custom permalink structure when you add a new post. The permalink structure is set to /%postname%/ So ...
0
votes
0answers
389 views

Editing does not change post_name

Suppose I wrote an article, "My Article Title", it has been saved into the database with $post_name=my-article-title , and the permalink is mysite.com/my-article-title. All good. Now, if I didn't ...
0
votes
0answers
265 views

Advanced Custom Fields Post Object

I am looking to create a custom proposal system with WP and ACF. I created 3 custom post types. Proposal Objectives Proposal Items Proposals I created some custom fields in ACF to include in ...
0
votes
1answer
511 views

How to display and use all existing tags at my write-post-at-frontend-panel?

I can write and publish posts from my frontend - everything is fine. You know the backend: write-post-style, right? There it lists all existing tags. How can I display all existing tags at frontend ...
0
votes
1answer
86 views

Automatically add a character to field in edit post page

Currently I am facing an issue involving making two plugins work well together. I am using a form plugin called formidable to create a new location custom post (custom post was made from a plugin ...
1
vote
1answer
139 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.
0
votes
2answers
346 views

Is there a query string for edit.php to show all posts that have no custom taxonomy terms?

I wrote a plugin Premium Posts that registers a custom taxonomy called sms_premium_posts and adds a column to the post list table in the WordPress administration area. In that custom column, if a ...
1
vote
1answer
215 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 ...
3
votes
1answer
451 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
1answer
678 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
2answers
351 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) ...
5
votes
1answer
720 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 ...
1
vote
0answers
236 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 ...
0
votes
2answers
670 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
224 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 ...
1
vote
1answer
853 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
76 views

dynamically get post attachment while editing

I want to show a meta box on the post edit screen, that contains a list of the images attached to the post. I need the meta box to work for new posts as they are being created. It should update ...
2
votes
1answer
163 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
votes
1answer
298 views

How can I implement a simple post editor?

I want a simple post editor for WordPress, it should be something like tumblr editor or the stackoverflow editor. My questions: Is there any plugin I can use? (I just can't find it) If no plugin, ...
0
votes
1answer
355 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 ...
1
vote
1answer
1k 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 ...
0
votes
1answer
447 views

prevent caching during tinymce custom button development

I'm following this turial on how to add a custom button to TinyMCE editor in WordPress. Trying to edit author's JS to include my functionality, yet it seems to have gotten cached. Article author has a ...
2
votes
1answer
572 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
434 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
1k 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
1k 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' ...
1
vote
2answers
226 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
257 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
1answer
333 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 ...
5
votes
3answers
1k 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 ...
1
vote
1answer
9k 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
2answers
783 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 ...
1
vote
2answers
816 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 ...
5
votes
3answers
462 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 ...
14
votes
3answers
8k 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 ...
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 ...
0
votes
1answer
631 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 ...
2
votes
3answers
3k 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 ...
0
votes
2answers
714 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
309 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. ...
1
vote
1answer
326 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 ...