The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
2answers
495 views

How to add custom status to quick edit

I have added some custom post status to WordPress, I can able display in New and Edit interfaces of POST. I would like to display those to quick edit too. Also I need to apply some condition to ...
6
votes
3answers
8k views

InDesign to WordPress workflow

I'm working on a project for a monthly InDesign-based magazine that enables them to put their content online via WordPress. The current workflow is either: Copy/pasting from InDesign to a Word ...
0
votes
4answers
45 views

Check if comment was successfully submited

Is there a way to check that comment was successfully submitted? I want to display some text or hide a comment form for example if comment was succesfully submitted.
-1
votes
2answers
37 views

Problems when writing a post

I have a blog, with Duena Theme, and when I write is all ok. The problem is when I publish that text, and the margins of the paragraphs split my words. For example The horse is a very wil d animal ...
1
vote
0answers
16 views

save imported posts as drafts

i m trying to import data into as my posts using wp all import and use add_action(save_post,myfunc) to run a function to update some fields all's good so far...but instead of publishing them all at ...
1
vote
2answers
39 views

publish_post called too early

i have a meta box for some email address and i save value in save_post hook add_action( 'save_post', 'sm12_save_post' ); function sm12_save_post( $postid ){ update_post_meta( $postid, '...
-1
votes
1answer
22 views

I am creating a front end dashboard where I need to show all the posts by the current user. So, I need to show posts in publish

I am creating a front end dashboard where I need to show all the posts by the current user. So, I need to show posts in publish. $post_status = 'draft'; I would like to use publish. What should I ...
1
vote
1answer
30 views

WordPress Front end Form - Enable to Submit PHP Codes

I just create a front end form to submit posts for public persons. It works fine. I need to allow to submit PHP codes (because it is PHP tutorial site) via that form. I need to make sure it not ...
2
votes
3answers
844 views

Editing Screen: Make Update or Publish Button Follow The Page

The Problem: I am currently in the finishing stages of a premium theme I've been developing and all is mostly well. For pages I have a few custom meta boxes for adding in slideshows and other ...
0
votes
3answers
1k views

How to give capability (publish contributors posts) to author role?

I am not a PHP programmer, just a simple WordPress user. How can I allow author role to allow publication of contributors posts? What's the technical name for this?
1
vote
1answer
34 views

Does blocking xmlrpc.php affect pinging update services like pingomatic

Because there are a lot of attacks lately on xmlrpc.php, I want to block access to this file or disable it. I am aware some remote updating functions won't work (like the mobile app) but that doesn't ...
0
votes
0answers
11 views

How to add a column to publish a post for the Posts page of Administration section?

I know that how to add a column to post page of administration section and display something like a custom filed. But now I want to add a publish button if the post status is draft. How to add it?
0
votes
0answers
53 views

Reload specific divs after login

My problem is the following. I've a form which I want my guests users to fill out before completingit. So before the last step I place a sliding down jquery/ajax form for login/register to show the "...
0
votes
0answers
14 views

Post Notification Function triggering on wrong custom post type

I have a function that triggers an email when a post (any CPT too) goes from draft to publish. The post types I want to use this function for are normal posts and my 'recipe' CPT. When I publish a ...
-1
votes
1answer
39 views

Output the published date / last modified date of specific page

I am trying to output the published date and last modified date of specific pages on a exclusive portal for certain users. Right now I can only find something similar for posts or within the specific ...
-3
votes
1answer
68 views

Disable “preview changes” button

How can I hide the "preview changes" button from the admin panel? Can anyone help?
0
votes
1answer
28 views

Plugin SVN folder structure

I´m used to git, but i am new to svn. Do i need to re-create the svn folder structure (trunk, assets, tags) in my local repo, or are the files automatically "sorted into folders" when i push my plugin ...
0
votes
1answer
19 views

trigger email when post is published by someone a user follows

I'm trying to send an email to all users who are following a certain post author when they publish a post. I have this function below, but does not seem to work. a few notes the meta value = '...
0
votes
0answers
17 views

Custom Post only works with post_type=custom-name

I setup a custom post type but for some reason, when I try and publish a page under it, the home page loads - which tells me it's not finding it. Below i my init function: function campaign_init() { ...
0
votes
0answers
43 views

Schedule to change all currently draft posts to publish

I am looking for a simple way to switch all draft posts to publish utilizing wp_schedule_event. Any ideas? Not a noob to WP, but I am a noob to working with wp_schedule_event. I would like for this ...
3
votes
1answer
48 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
2answers
128 views

Add new post using a page inside the website

I have been searching for several hours to find a way to embed the "Add New Post" inside a page in the front end. I read this post but sadly no answer to it. I have embedded the login form in ...
0
votes
1answer
6k views

wp_login action hook not working

I have spent many time looking for a solution to my issue, but in vain. Your help is invaluable. I am creating a simplified badge system. The goal is to increment the number of badges for a user if ...
5
votes
2answers
1k views

Prevent publishing the post before setting a featured image?

As the title says , I want a plugin/function to prevent/inform the user when he tries to publish the post without setting the featured image. ANY HELP ???
1
vote
3answers
2k views

Can't publish custom post type - “You are not allowed to edit this post.”

Hey guys I've created this post type but when I click the publish button I receive the message: You are not allowed to edit this post. Have I done something wrong in my code to disallow anyone ...
0
votes
1answer
30 views

Get content of publish box

is there any way how to safely get content of the publish box? For example via some hook or filter? I wasn't able to find anything. I need to place in in some different place.
1
vote
2answers
297 views

wp_publish_post breaks permalinks

I'm creating a system, where some custom post drafts are being prepared, and after certain actions taken by moderators it is being automatically published. So, first I create post draft like that: $...
0
votes
2answers
54 views

How can I schedule a PAGE to go live at a future date/time?

I have no problem scheduling posts to go live at a future date/time, but last year, when I launched my site, it crashed when I tried scheduling a static page to go live (specifically, I believe it ...
0
votes
0answers
20 views

WP-Automatic to run publish hooks

Maybe there is someone who could help me with this plugin I use. I need it to run publish hooks, so plugin WP to buffer would work. So now WP-Automatic, publishes content, but WP to Buffer doesn't ...
0
votes
0answers
51 views

Prevent scheduled post being published if date/time is past current date/time

I'm looking for a function at prevents a scheduled post being published/updated (with a popup warning or text next to the publish button) if the post's date/time is equal to or less than the current ...
0
votes
1answer
40 views

suffix title with “EXPIRED” when scheduled post has reached it's published date

I'm scheduling and displaying all my posts in the future. I'd like to somehow add some text after the post title when the publish date is reached. In effect the post will expire at the time of the ...
0
votes
0answers
36 views

Changing post status with js

I'm having issues grabbing some actions inside a navigation menu.. So it's going like this(for the publish button) HTML <a href="javascript:updatepost()" class="menu-item fa fa-facebook">Save&...
0
votes
0answers
105 views

Updated to WP 4.3.1 and now it won't let me publish or update user info

WordPress updated to 4.3.1 and now I can't publish. Every time I hit the publish button, the screen just takes me to the "posts" page in the dashboard? Also, if I try and manually add a new user, and ...
1
vote
1answer
77 views

How to rename “Publish” metabox title in post screen

I've looked everywhere trying to find how to rename the "Publish" metabox title in the WordPress backend post screen. There's help for every other metabox for changing titles and there's help for ...
1
vote
2answers
2k views

How to trap “Publish” button to check for meta box validation?

I'm trying to do some form validation on my custom meta box, and I remember somewhere reading about some javascript function to disable/enable the Publish button - except I can't find it. How do I ...
0
votes
1answer
118 views

Is it normal for a scheduled post to say “Missed Schedule”

There is a custom post type I am making called announcements. When I set it to a future publishing time, say at 8:00. It will say at 8:01 'Missed Schedule'. However after a little while I will refresh ...
0
votes
0answers
46 views

How do I create a form for users to post on the front end?

So basically I have a music theme that allows me to upload music as a post. I want to use the same information on the backend that is in a php file, for the users on the front end, how do I do this? I'...
1
vote
1answer
55 views

What Can I Use To Add A Custom Button Between Publish button and Move To Trash?

I want to insert a custom button between "Publish" button and "Move To Trash" link. What can I use to make this? Here is a screenshot to make this clearer: I know I can use jQuery, but I want to ...
0
votes
0answers
16 views

Published Status is not showing

I have a problem with wordpress. I am the administrator. When I create a post or page, it shows only draft or pending for review. I switched to default theme and deactivated all plugins but it didn't ...
0
votes
0answers
18 views

Unable to alter page status

After upgrading to 4.3 all of a sudden we find ourselves unable to alter the post or page status, visibility, and previewing now opens an editor window in a new tab. Repairing the database and ...
0
votes
0answers
57 views

making custom post publish/update button

I'm here with a issue regarding my plugin... I've added a menu that should serve as a floating quick-action menu.. For example i would like that if you click the save button it will save the current ...
0
votes
2answers
2k views

How to add a SAVE button to replace PUBLISH on a custom post type?

I have a custom post type called 'contacts'. I want want to remove the status, post date and change the button from PUBLISH to SAVE. From what I can tell this may not be possible without changing core ...
0
votes
0answers
62 views

get publish / move to trash post URL

I'm having some issues finding the URL's for the publish/update and move to trash buttons. I have something like this : <a href="#" class="menuu-item"> <i class="fa fa-trash-o"></i&...
0
votes
1answer
34 views

Manage multiple wordpress installs (Best Practice)

Our company has multiple blogging platforms on which some of our people post on. The list of platforms keeps on growing and so keeping everything up to date can be rather bothersome. So we were ...
0
votes
0answers
16 views

Countdown Timer to Publish Draft

I am attempting to create a way for specific draft posts to be published after a 36-hour countdown. Basically, the site allows post submissions which are voted on, and the winning post gets ...
1
vote
2answers
243 views

Returning ACF custom field from publish_post

I'm trying to return a custom field as soon as a post gets published. I'm using the publish_post (or {status}_{post_type}) action, but it looks like the custom fields are created after the hook. My ...
0
votes
1answer
21 views

I am getting “0” in the starting of my post description at home page

See here at home page with all posts I am getting "0" in starting.
0
votes
1answer
27 views

Publish post and create additional posts with same content

I'm building a site which allows authors to create a custom post type, and optionally elect to create X amount of additional posts with the same content. In this case all the content is meta values. ...
4
votes
2answers
3k views

Hide permalink and preview button and link on custom post

anyone know how to custom box that contain "Publish,save draft,and preview button" ? i'll hide all button except Publish button. and same as "change permalink" also "view,delete,edit" link inside post ...
-1
votes
1answer
109 views

Access post meta just after publishing

the following code is supposed to store post meta of the recently published post to the variable $temp. But it doesn't, $temp is always empty. This seems to happen because "transition_post_status" ...