The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
20 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 ...
0
votes
1answer
26 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.
0
votes
0answers
16 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
2answers
27 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
27 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
22 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
28 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 ...
0
votes
0answers
101 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 ...
0
votes
1answer
50 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 ...
0
votes
1answer
57 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
1answer
41 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? ...
0
votes
2answers
100 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 ...
1
vote
1answer
41 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
15 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
16 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
42 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
0answers
37 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 ...
0
votes
1answer
29 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
14 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
123 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
19 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.
-1
votes
1answer
78 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" ...
3
votes
1answer
37 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
0answers
46 views

Retrieving post meta of recently published post [duplicate]

I want to write a function which has to retrieve meta data of a post (LearnDash quiz) at the moment when it's published. function add_quiz_shortcode($new_status, $old_status, $post) { if ...
0
votes
1answer
25 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. ...
0
votes
1answer
38 views

Assign published posts to another user automatically

Usually, I write posts as admin, as this is more comfortable from the blog administration point of view. But I want the posts to be assigned automatically to another existing user with editor ...
0
votes
1answer
62 views

Add delay to publish post

I am running multiple servers and have an issue when people Publish a post immediately after uploading a Featured image, the image is is not available on all server immediately. I know that I can ...
0
votes
1answer
47 views

display wordpress user who published a pending post of another user

I have a custom post type, when I view my posts of this type in the dashboard I see: Title Author Date Added as well as a few more I have added My question is how can I display (like the author ...
0
votes
0answers
39 views

Keep pending post date as publish date

Is there some function which will set publish date of post same as pending date? I wish to keep pending time as published time, to prevent WP from using time when post is published as published date. ...
0
votes
1answer
54 views

Publish button inside custom field group

Is it possible to move the publish button out of the publish metabox, completely remove the metabox and then put the publish button inside the custom field group? Ask if you need more information, I ...
0
votes
1answer
64 views

Ajax function on #publish only saves as draft - how to make it publish?

I have a custom post type called "shift" (as in shifts worked by employees). When shifts are published, I run an Ajax function to check that this shift does not have a scheduling conflict. If there ...
1
vote
0answers
63 views

publish_post conflicts with save_post

my plugin has a save_post hook used to save the custom fields. now I add a publish_slider hook used to change a checkbox's status(slider is a custom post type). but it doesn't work properly. the ...
0
votes
0answers
14 views

Replacing RAMP with a single Wordpress instance?

We currently use a commercial plugin from CrowdFavorite called "RAMP" that allows you to move content between Wordpress instances. Our workflow is like this: editors create and edit content in a WP ...
0
votes
1answer
112 views

Disable Facebook Comments Automatically On CPT

I am working with the Facebook comments plugin. I have a custom post type that never uses Facebook comments. I am trying to create a function to automatically turn these off when the custom post ...
0
votes
0answers
42 views

Hook on Publishing a Post Doesn't Fire Correctly (or so I think)

Currently, I'm trying to send out a Push Notification to iPhone every time a blog post is published on my WordPress website. I am using a PHP script to send out the push notification (which works with ...
0
votes
1answer
44 views

Authors should not publish

In my Blog should Authors be not allowed to publish posts but to CREATE posts for revision! Admins should later verify and publish them. How can i do it? Thanks for help!
0
votes
0answers
46 views

Jetpack Post by Email at specific Date and Time?

Currently, I can post by email using the Jetpack plugin and I can use the [delay] shortcode to set the date it should be published. However, I need to set the time of day it should be published as ...
0
votes
0answers
33 views

How can I get taxonomy terms and custom field values of a newly created post

I created a system where people can post a CPT via a frontend form. Now, a mail has to be sent out to inform about this CPT. I tried this approach, which works, but I cannot get to the custom field ...
2
votes
1answer
60 views

Is there a way to know if a post has been published through XML-RPC?

It's all in the title, I'm looking for a way to know if a given post was published through XML-RPC, versus published by hand in the WP admin. Pseudo code : if( !wpse_from_xmlrpc( $post -> ID ) { ...
0
votes
1answer
207 views

Hiding by default specific post status on backend list?

I created various custom post status options (like default ones: "published", "draft" and so on) and one of them is "project closed". I need to hide/exclude by default from post list in the backend ...
0
votes
1answer
457 views

I want to send push notification just after publish a new post

I would like to send push messages from my website to iOs/android users everytime I publish a new post. Which would be the same as execute php code I think. I have tried to paste a php script which ...
0
votes
0answers
306 views

My page won't publish

I hit 'publish' on a page a few days ago, and it is still not appearing on the website. Can you please help me fix this? Thank you, Sarah
0
votes
1answer
67 views

Show recent published posts

I want to list recent published posts of my wp blog and exclude certain posts of some categories. The following code works fine, 10 recent posts are listed and posts in the listed categories are ...
0
votes
0answers
103 views

Send Custom Post Notification to Followers

I am trying to modify the function below (which works great for me ) to notify author followers that the author has published a new post, but I seem to be going round in circles. function ...
0
votes
1answer
118 views

Update status of all posts in a category

For one of my project I just want to change the post status of all the posts inside a specific category from publish to pending. It is possible to change status of multiple posts at once? I want to ...
1
vote
1answer
99 views

Custom save button shows 'Are you sure you want to…' dialog

I'm looking for a way to replace the submitdiv meta box (publish box) with just one simple save button. By looking at Core I see there's a simple function returning a submit button: ...
1
vote
0answers
100 views

wp_publish_post to saved draft, permalinks broken

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: ...
-2
votes
1answer
182 views

Return All Post from publish to draft

I do something error, I transfer yesterday all post from draft to publish by my user, Now how can i return all this post to draft ??
0
votes
1answer
112 views

Where is publish_post hook fired?

Hook publish_post, which does not necessary need to be run on post publishing only, it can be used for any post type and any post status in this format {status}_{post_type} which also makes it hard to ...
0
votes
1answer
101 views

Send email when publish new post in certain categories

I'm looking for php code that will allow me to do the following: when new post publish in categories which ids are 12 and 34, email will send to all users.