The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
84 views

Copy post to separate database with “add_action(…)”

I'm basically trying to have a copy of a post be sent to another database's table when it's published. I've gotten it to add a new row in the new table, with my own static arguments, but I'm not sure ...
5
votes
4answers
165 views

Display a post's publish date from 2112

So I am making a news website about the future, 2112 to be specific (hello, critics). I wanted to display a post's date to be from 2112. But when I try to do this from the admin panel, it 'schedules' ...
-1
votes
1answer
227 views

Can't publish posts, Jetpack won't connect, empty notification emails to my inbox [closed]

I own a self-hosted Wordpress blog and I am experiencing a lot of issues: Jetpack stopped working and it won't connect: verify_secrets_missing : The Jetpack server encountered the following client ...
4
votes
3answers
137 views

How to let authors revise other authors drafts, but keep them from publishing?

I want to give all authors permission to edit other authors drafts, but not publish them. It seems like the only way to give authors access to drafts by other authors is to grant them ...
0
votes
1answer
87 views

Change Post and CPT author on the fly while publish the post

I am developing my site and require to change post author id on the fly while publishing. All post will be write and publish by admin but as content provided by different author and need to change ...
4
votes
1answer
365 views

Custom post type capabilities

I've got a somewhat unique scenario that I would appreciate some assistance with. I have a custom post type, coin, for content that is automatically created by an custom import process. I would like ...
0
votes
1answer
260 views

Display password protected posts to logged in users

In a WPMU & BuddyPress installation, I want to directly show the password protected posts to logged in users without asking them for posts passwords... and still be accessible to guests ...
1
vote
0answers
85 views

redirect deleted / drafted pages

A client asked me to unpublished a page, which I did. However, I kept it as a draft, just in case they wanted to republish at a future date. My issue is that anyone with this link will hit a 404 ...
0
votes
2answers
1k views

Do action on publish or update?

Is there a way to only do a section of code on a template if the post has just been published or updated? What do I need to wrap around that code? UPDATE: I need to check if any of my custom-post ...
4
votes
3answers
3k views

WordPress plugin to publish to multiple remote WordPress blogs

I have a WordPress (.org) blog (let's call it blog1) that is used by many authors, who may create, edit and publish posts (on blog1). Each author has her/his own WordPress blogs, hosted elsewhere. ...
2
votes
1answer
315 views

Unpublish all posts in a category

I have a category with about 3.500 posts. 2.500 are not published, but saved as drafts. I want to unpublish all the remaining 1000 posts from this one category. Maybe I will want to delete all of the ...
0
votes
1answer
153 views

Edit the Publish Widget Options

Another noob question - under the 'Publish' widget in a default vanilla installation of WordPress 3.3.1, we would like to 'simplify' the Publish widget/ Specifically, we would like to have no 'draft' ...
0
votes
1answer
309 views

Remove “minor-publishing” div from Publish admin metabox

I want to remove the #minor-publishing div from the Publish admin metabox. I came across How to HIDE everything in PUBLISH metabox except Move to Trash & PUBLISH button and ...
0
votes
1answer
381 views

SQL: Search query to get attachments only of those parents which are published

i'm having some problem creating nice 1 query to be able to get search results which includes NOT only post_type POST but also attachments. BUT if search query return attachment, i want that it won't ...
-1
votes
1answer
89 views

Action while post is being published

I modified the wordpress admin with a plugin I wrote, and my last problem is that there's no action anymore while the post is being updated or published in the admin. I looked around for a function or ...
2
votes
3answers
875 views

Add javascript when post is published

I am trying to add javascript when a post has been published so that it's more noticable for my user but I can't figure out what to use. I tryed with publish_post and save_post, but it doesn't work ...
0
votes
1answer
53 views

How to write a new file when new post has been published in Wordpress

I having a problam with my wordpress plugin. The plugin does whenever new post has been published, it will automaticly create a new file with that post content. this is my code function ...
0
votes
1answer
46 views

featuring old articles without messing up with the archive

This is all about featuring content in WP. Say, you got 1000's of posts that you accumulated over the years and each has their own original ( and true ) post dates. And now you want to feature them ...
0
votes
1answer
43 views

Check if there is an post to be published in future

I need to check if there is an post to be published in future. I want to use WP functions, no directly access to database via mysql_query. Has anyone some sample of code?
2
votes
1answer
1k views

Check before publishing, if already exist post with current custom field value

I have a custom post type with only 3 custom fields in it. $post_types = get_post_meta($post->ID,'post_types',true); $post_taxonomies = get_post_meta($post->ID,'post_taxonomies',true); ...
1
vote
3answers
3k views

How to modify Publish metabox?

I'm trying to remove "Pending Review" (Status) and "Password protected" (Visibility) options from Publish metabox. Any ideas how can I do it?
2
votes
1answer
412 views

In what sequence are the hooks fired when a post is “published”?

I would be grateful if someone could point out a link. I understand this may have a very lengthy answer but I searched and couldn't find any resource. Alternatively, it would also be nice if someone ...
1
vote
3answers
590 views

Peer Review Plugin for Posts? [closed]

Is there a plugin that allows for peer review of articles before you post them? IE, like a professional writer would send their work to a friend or editor to review and comment on their work before ...
0
votes
2answers
238 views

Condition display metabox in case the post is saved

I need to register a metabox in my WordPress custom post, but only in case the post is permanent saved in database. What I mean, when the user click on "Add new" I don't want to display the metabox. ...
1
vote
2answers
170 views

Print a message if excerpt is empty after posts have been publish/update!

I don't think I can make the excerpt required, but if anyone knows a workaround please share. At least I want to print a message if excerpt is empty after posts have been publish/update, maybe a red ...
1
vote
2answers
1k 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
41 views

way to make all pages with certain tags public?

I want a way to make all pages with certain tags public. I don't care if a solution is programatic or via GUI (though I prefer programatic), I just want to be able to make all pages with a certain ...
0
votes
1answer
2k views

add_action hook for publish_post not working

I can't get my function to trigger on post update or save. I've found a couple of other forum posts around with the same problem, but never an answer :( My code is as simple as: function ...
1
vote
2answers
537 views

How can I move (or create another) publish button?

How do I create a "publish" button to put in a custom metabox? Or if you can point me to the code that creates the current publish box, that'd help me out. -attempting to simplify my custom post ...
0
votes
2answers
66 views

Publish issue after upgrading to 3.3

I have a weird issue after upgrading to WP 3.3. Currenty I have a Dreamhost dedicated server with WP 3.2. I've tried two times to upgrade to WP 3.3 and both times I had the same issue. First time, I ...
0
votes
1answer
1k 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
1answer
68 views

Is Wordpress “publish” atomic?

If it is atomic, this must be a bug. What I have noticed is that, when a post is being published and I close the window, the post gets published partially - one time only body came but not the ...
2
votes
1answer
638 views

Posts created in a Custom Post Type are lost if published without a title

I searched around and the URL below is all I could find on this problem. If I publish a custom post type's post without entering in a post title, it wipes the whole post's info and says "published". ...
1
vote
2answers
724 views

How to allow a user to make their post (ad) a draft, and then publish again without needing approval?

I'm using WordPress as a directory site, where a user can submit a post, which becomes their ad/listing. The users are assigned a custom wordpress role. Posts need to need to be approved and ...
0
votes
1answer
93 views

How to move post process to background

We have a large wp install that is freezing up whenever an editor hits "publish". It seems that the culprit is the pinging processes that run, such as re-building the sitemap, etc. Is it possible to ...
0
votes
1answer
390 views

run script on publish

I am trying to run a script when a user publishes / updates a post. I am using the filter: wp_insert_post_data The problem I am having is the script is a php file outside of WordPress but on the ...
2
votes
2answers
377 views

Display future posts?

Is there a way to display posts, scheduled for the future? I want to use the published data as an event date and time, which is obviously in the future. I still would like to use these posts for a ...
3
votes
1answer
734 views

How to programmatically create a connection with [Plugin: Posts 2 Posts] on cpt publish?

How can I programmatically create a connection between one custom post type, cpt, (with post id known) to another on cpt on publish? I am using VoodooPress's front-end posting method to publish a ...
5
votes
5answers
5k 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 ...
3
votes
2answers
881 views

Restrict the Number of Posts an Author can Publish (over time)?

I'm thinking maybe limit the number of posts a user can make in a given period of time. (Say a user can only publish 1 post per 5 minutes?) Is there such a plugin?
1
vote
1answer
1k views

How can I automatically set a post slug based on the post title during post publish?

When you create a post in WP, if you don't specify a title rapidly, WP generates a default slug on autosave, based on the post ID. Then, when you add the title later, unless you modify the slug by ...
0
votes
1answer
117 views

Set page to draft on plugin deactivation

Im working on a little plugin that when activated creates a theme page and then a function sets this page to published this is the code i have for published: // function that creates the new ads page ...
0
votes
2answers
1k views

Stop wordpress from creating empty/null entries

Fiddling around with a custom post type which is quite heavy modified. Started doing some testing to see if I had broken some function, and realized that wordpress doesn't have a function that checks ...
0
votes
2answers
103 views

I want to print a message in post “ After one month from publish date”

I need to showing message in post , but after one month from publish date. I try to make it before ask you, but I can't this is my code $publish_date = $post->post_date_gmt; ...
0
votes
1answer
207 views

How do I manage my users post before publish?

In my website , I allow to the new user to write posts. but the problem is when the user write post. the state of post is publish. it is appear in front page. I want to read it before the publish , ...
3
votes
2answers
612 views

WordPress prompt checklist before publish?

Does anyone have a suggested plugin that does the following: when a user hits publish on a post for the first time, it should have a popup, notice, or alert that asks the following: Do you have a ...