The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
2answers
30 views

How to add Sidebar and Full width option in post editor

If a user is editing a page, they have the option to choose any page template for that page through the edit screen. Wordpress does not have that option for posts. I installed the Sparkling theme and ...
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 ...
1
vote
3answers
3k 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 ...
-3
votes
1answer
28 views

Disable “preview changes” button

How can I hide the "preview changes" button from the admin panel? Can anyone help?
17
votes
4answers
11k 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 ...
1
vote
0answers
36 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
1answer
60 views

Wordpress hook that gets featured image from direct URL?

I use a lot of plugins on my site so I'm trying to minimize the amount more plugins. I was wondering if there's a wordpress hook I can use so that I can use an image that is hosted on imageshack and ...
0
votes
0answers
31 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 ...
3
votes
1answer
40 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
124 views

Prevent WP from wrapping html in caption shortcode after 'image_send_editor' filter is applied

In my functions.php I have cooked up some functions to filter the attachment output code, when an attachment is sent to the editor. function filter_image_send_to_editor($html, $id, $caption, ...
0
votes
1answer
50 views

Detect Featured Image remove while editing post in wp-admin (client-side)

I'm looking to add some client-side (JavaScript) events to the post edit screen of wp-admin (post.php?action=edit). I wish to fire events when the user selects a new featured image and a different ...
2
votes
4answers
288 views

Custom edit post column - category not showing

I added a custom column to a custom post type: add_filter('manage_posts_columns', 'custom_columns', 10); add_action('manage_posts_custom_column', 'custom_columns_thumb', 10, 2); function ...
2
votes
0answers
17 views

Is there a way to make the View > Show Blocks a standard option in the Post Editor?

Every time my client must enable this option. Can I modify the WordPress code to make it a default option ?
0
votes
0answers
20 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
1answer
46 views

Remove Permalink From Admin Edit Post

Is there any way how to edit the title field in post.php? this field: I want to remove the permalink part but I wasn't able to find any hook or filter for it.
0
votes
0answers
16 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
12 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
1answer
50 views

How do you render posts from outside wordpress?

I'm trying to display posts outside of the wordpress system (another system is pulling from the mysql database). However, the posts stored in the database seem to be void of <p> tags and ...
0
votes
1answer
57 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 ...
3
votes
2answers
2k 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 ...
1
vote
1answer
40 views

Prevent stripping MathML tags on post save

I am trying to add MathML markups in wordpress custom post. But, it is stripping all MathML tags when I hit the publish button :( I have disabled "wpautop" and "Visual Editor". These are not helping ...
0
votes
1answer
113 views

Why would media_sideload_image() not work locally?

I designed a theme for a client that sideloads an image returned from an API. It has always worked and it's still working on their live website. My staging environment used to be a separate account ...
0
votes
0answers
228 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
1answer
35 views

Prepare content from a different CMS/WYSIWYG to the WordPress editor

Im currently in the process of writing a plugin that allows me to import content from a different Content Management System into WordPress. Almost everything works as I want it to: Each entry gets ...
1
vote
0answers
82 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 ...
2
votes
1answer
2k 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
52 views

Add data to post edit page, when post is published

I need to customize the "post edit page", for a custom post_type, but to keep things simple let's say it's on the post_type post for now. When the post status is published, I need to run a PHP script ...
0
votes
0answers
47 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
1answer
333 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
0answers
121 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
1answer
54 views

Extending the “Add Media”-Dialog … how do I finally insert something to the Post?

I'm developing a plugin, which extends the "add media"-Button in the Post-Editor. I found an example (I think it was nextGen Galley maybe) where wp_iframe is used in the add media dialog. For some ...
0
votes
0answers
97 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
45 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
39 views

Custom Page Editor page + adding it as a Pages submenu in admin panel

I don't think the title of this does my question justice, so I will elaborate. I want to have the standard page editor, but with the defaults changed to be custom 'defaults'. For example, instead of ...
0
votes
1answer
76 views

How to make shortcode which returns HTML?

I need to make a shortcode button to TinyMCE editor which, in the moment i click it fills up the content part with HTML. When i click on button i need something like: <div> ... </div> ...
0
votes
1answer
357 views

Can't create posts with WP DB Abstraction Plugin

I have a WordPress site moved to Azure web site + Azure SQL using database abstraction plugin After that migration I'm not able to create new posts. When I click Save Draft it redirects me to the ...
1
vote
2answers
157 views

Add a label to the editor?

I'm working on a custom post type. I have the editor enabled but the content that will go in that box is secondary and it isn't clear what should be typed there so I want to add a label for the ...
0
votes
0answers
31 views

TinyMCE Custom Styles or Shortcode Components?

One of the WordPress theme projects I'm working on for a hiking and travel blog adds additional facts and notes in small info boxes about the particular topic being discussed. For instance, on a post ...
0
votes
2answers
168 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> ...
1
vote
1answer
111 views

Create default_content layout template based on post id

Background What I am attempting to do is create a custom post layout template for a specific post (or even page) that the WordPress user can simply insert content using the WYSIWYG editor without ...
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
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 ...
1
vote
1answer
236 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 ...
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' ...
0
votes
1answer
374 views

How-to stop wordpress from saving utf8 non-breaking space characters

Anyone have a tip on how to prevent Wordpress from saving utf8 space characters (= hex C2 A0) in DB by replacing with space \x20 ? Is there a hook that can be used to do a replace before saving to ...
1
vote
2answers
240 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> ...
2
votes
2answers
182 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
1answer
320 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 ...
12
votes
2answers
521 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 ...