The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
2answers
212 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
231 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 ...
0
votes
2answers
174 views

&nbsp when I use ENTER for skipping line

I don't know why when I'm using "Enter", that add &nbsp; in Pages/Posts Editor. That doesn't matter, but on my website, when I look the code &nbsp; makes this code : <p> � </p> ...
3
votes
1answer
43 views

Publish post when edit post form submitted with enter/return pressed on keyboard

How do you publish posts when the post edit form is submitted with the enter/return key on the keyboard? By default WordPress saves the post in draft status. To provide some background, I have an ...
0
votes
1answer
60 views

How to remove UI access to Custom Post Type using direct links?

My goal: A custom post type with a complete custom editor page and post list table. I have set show_ui to false. It removed the UI section. But if some admin puts direct link ...
0
votes
1answer
378 views

What is the action or filter for changing permalink in Edit Post/Page?

I know about edit_form_after_title hook but what about changing the permalink. How does WordPress creates permalink because that permalink and the one that get_the_permalink returns doesn't match? ...
0
votes
1answer
31 views

Add default page editor to an admin settings page

Is there a way to get the standard page editor into a custom administration settings page? I have been able to add other textarea boxes with toolbars, like TinyMCE/CKEditor but not replicate the exact ...
0
votes
1answer
18 views

creating different edit screens for different roles

I have created a custom post type and custom role, created the proper capabilities and assigned them so the new role and see and edit their own ctp's entries... but I'd like to create a customized ...
0
votes
1answer
289 views

Fatal error when accessing Pages in WP admin (and problems editing any pages)

I have a site that's been going for about 4 years with several hundred pages. I've had strange problems when accessing the Pages section (to choose a page for editing) and while in Page editing. These ...
0
votes
1answer
73 views

In the Edit Post page how do I modify with jQuery the status select list?

Here is my JS: jQuery('#post_status option[value="draft"]').text('Approve'); I simply trying to modify the text inside the option element in the status select form element in the Edit Post page. ...
0
votes
1answer
56 views

Create another TAG widget for posts

Currently, Posts have "tags" and in the post edit page you can add and remove tags using the widget. I would like to add another such tag-system (say, keywords) and I would like for it to use the tag ...
0
votes
1answer
187 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 ...
0
votes
1answer
246 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 ...
0
votes
1answer
80 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 ...
-3
votes
1answer
33 views

Disable “preview changes” button

How can I hide the "preview changes" button from the admin panel? Can anyone help?
1
vote
0answers
40 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 ...
1
vote
0answers
84 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 ...
1
vote
0answers
99 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
92 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
0answers
285 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
0answers
16 views

How to Add Tabs to the Post Edit Screen

I would like to add tabs to the post edit screen in Wordpress and organize the different elements on the post edit screen in the tabs I create. Basically, what this plugin does: ...
0
votes
0answers
13 views

limiting comments in contributor post-editor

Currently a 'contributor' post-editor page shows comments from everyone. Is there a way to limit/control the comments the contributor sees to only what has been commented on his/her post in ...
0
votes
0answers
34 views

Is there a way to choose a parent before a child in a custom taxonomy?

I have a site with a custom taxonomy that is hierarchical. I want to be able to allow the users who have access to the backend post editor to choose a parent term first, then have only that parent's ...
0
votes
0answers
21 views

Edit is changing my custom's post type parent id

I'm having a custom post type (vehicle) and i attached a gallery (post) with image attachments in it. Through my custom frontend form, I set all the post and postmeta details right, as i want to, so ...
0
votes
0answers
19 views

Change the priority of multiple custom taxonomy metaboxes

This question has been answered here... Changing the priority of a custom taxonomy's metabox But I need more clarification... How does this work for multiple custom metaboxes? Let's say the ...
0
votes
0answers
13 views

Prevent a post date being set if the date has already past **or** only allow future dates to be set

How would I prevent a user from setting a post date that is past the current date and time. In other words they can only set the date for the future.
0
votes
0answers
278 views

Page content not saving, can not save page content

I'm trying to figure out what's wrong with the page editor at my wordpress installation. When I create a new page and insert title and content, the title is being saved but the content field turns ...
0
votes
0answers
51 views

How to allow “List View” for adding images to a post

I've looked around quite extensively for this, but can find neither discussions, code snippets nor plugins which deal with this issue. Basically, when you're on a post and want to either "insert ...
0
votes
0answers
126 views

Wordpress Child Categories Display as Parent Categories

I used Custom Post Type UI plugin to create a custom post type (for example, people) and a custom taxonomy (location). I populated the custom taxonomy with 50 US states using BulkPress plugin. Say I ...
0
votes
0answers
101 views

Admin cannot edit posts if he's not the author

I've a problem on my website. There are several users. Every user can create posts and modify them. But I want the admin to be able to modify the posts too. In the back-office, when i click on the ...
0
votes
0answers
46 views

How modify gallery shortcode output for admin side

I've been modifying the gallery shortcode output, with remove_shortcode and add_shortcode function. Which works great for the front-end side. But in the admin side, when I edit some pages, the ...
0
votes
0answers
98 views

How to add authors contact info to author metabox in post editor?

By default the Author Metabox on the post editor displays only a drop down to set the author of that respective post/page. I'd like the author's contact info (email address) displayed on the Author ...
0
votes
0answers
54 views

Use Custom Field As Meta Box In Post

I recently asked on this forum how to create a beta box using custom field, which was answered but with a not so right answer, but it helped me. For example, there's a custom field that I use called ...
0
votes
0answers
166 views

How to block action if post is “dirty”?

For a plugin I'm working, I've added a button that needs to be either disabled or show a warning if the current editing post is dirty, that is, if anything has been modified and not saved. Looking at ...
0
votes
0answers
206 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, ...
0
votes
0answers
491 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
311 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 ...
-1
votes
0answers
18 views

Custom editor, edit posts by page

I'm looking to expand upon the method of sorting Posts by category into specific pages for editors. In the admin panel, I'd like to make it so that instead of Posts being all grouped together on one ...