The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
18 views

wp.getPosts with status = 'trash' using node.js

I was wondering how to set the filter option for wp.getPosts. I want to get posts with a status of 'trash'. filter is currently blank, and returns all posts other than trash. I am using the xmlrpc ...
0
votes
0answers
23 views

How to set post status to draft when theme membership expires

First post here and I'm not really a coder but have some understanding - I need to do the following in a directory theme that has a custom membership package as part of the theme. Its Atlas theme. The ...
0
votes
0answers
36 views

Why can't I update the post status?

I am struggling to work out why a simple sql update is not changing the post status. Help would be greatly appreciated. I'm running woocommerce on wordpress 3.8 I'm running the following code: ...
0
votes
1answer
40 views

Get publish post link?

Is there a way I can call a link so when clicked it publishes the post via the ID I provide? I have get_delete_post_link( $postID ) set fine, and would like to do the same to make a draft go to ...
0
votes
1answer
120 views

Admin - create custom post status and display above table

How do I create a custom post status and display it above the table of my custom post type? Example: All(9) | Published (7) | Custom_Status(2) I used the advance custom fields plugin to create a ...
0
votes
0answers
544 views

WooCommerce After Payment Hook

I have made a custom post type called press_release, and connected it to the custom post type of woocommerce shop_order using a custom field, where the order_id is the same as the custom field value. ...
0
votes
0answers
145 views

WooCommerce New Order Check if Paid

I am creating a press release system, where I want to check if the new order has been paid or not, and accordingly I will set the post meta. I am using the following code, but it's not working, maybe ...
0
votes
1answer
402 views

Template redirect template loaded, but the header 404

I've created a template redirect for a given url, ex.: test.com/test Test is page is not exists, i'm just checking the url from query_vars, if its match, i load the template with ...
0
votes
1answer
315 views

418 header status, I'm a teapot [closed]

I'm just backing up a clients via ftp site prior to working on it, when suddenly all urls are returning an error page with the header status being 418. A quick Google finds that this was created for ...
0
votes
1answer
77 views

Show 'add comment' link for status updates in Twenty Thirteen

I have WP 3.6 running on my server. After playing around with it, I noticed that it's not very intuitive to add comments to a status update; Guess how? After some thought, I have decided I would ...
0
votes
1answer
49 views

Identify and display the fact that user is admin next to username in comment section

For all users to see. Not only the admin in cause. Also I am using a plugin called simple user ranking for displaying the user rank which is calculated for the number of comments posted, so I need to ...
1
vote
0answers
190 views

Restrict edit, but allow preview for custom post status

I am developing a Wordpress site with Edit Flow plugin, so I can create custom post statuses to manage author and contributor posts more easily. So I have created custom post status and I've got ...
1
vote
0answers
80 views

Wordpress capabilities on pending post status

I have user with contributor user role. In default if you publish article as contributor you can only view it and you can't delete or edit it. But when you submit new post for review, you can do all ...
1
vote
1answer
77 views

All, published and pending order

On the list tables of the administration panels, I want to change the order of the filters on top of the table. What I want: Pending Published All I tried to act on a line from the ...
2
votes
1answer
85 views

How do I batch create revisions of all posts?

I cleaned up an old-site from pasted tags, manually created lists, etc, and I'd like to keep the old posts as "revisions", so we can easily "compare" with the old posts and retrieve/revert the ...
0
votes
3answers
841 views

How to check if page has status published

How to check if page id(SomeID) is actually published?
1
vote
1answer
285 views

How do I limit the status options for bulk/quick edit to only Published and Draft?

For my custom post type, I only want to have "Published" and "Draft" as the available options in the bulk edit and quick edit screens, i.e. I tried hooking on to the filter ...
4
votes
1answer
713 views

How to change “Draft” string for status of custom post type to “Unavailable”?

ANSWER MOD: just an important mod to the chosen answer: // check if you actually have drafts; also avoids extra '|' separator if (isset($views['draft'])) { // 'Drafts' should be added (and come ...
2
votes
1answer
342 views

add filter to “quick edit menu” in wordpress admin

i am currently working on a wordpress plugin. the plugin includes a database table that being update every time a post is being created, edited or deleted with the data of that post. one of the ...
5
votes
1answer
2k views

How to display the status of users (online - offline) in archive.php

I am using the code the user status How to check if a user (not current user) is logged in?. On page profile of the author it works well (thank you guys). But if I put on the archive page, at the ...
0
votes
1answer
620 views

Remove Save Draft & Preview Buttions.. and also Statius: Draft & Visibility: Public

I want to remove the entire section that says Save Draft, Preview and Status: Draft and Visibility: Public. I want to not show it. Its ok if it is still fuctional. Attached is the part I do not want ...
1
vote
1answer
33 views

How to integrate blog status?

I want to add a "status" to my wordpress blog. My definition of status is a piece of text that say something about the blog that could be changed every day or not changed in month and completely ...
1
vote
1answer
273 views

Show user info in a hovercard [closed]

I whant to display user info in a hovercard. I use a jquery plugin to for the hovercard. I call my file like this <?php include 'includes/tooltip.php'; ?> and this is my code from tooltip.php. ...
11
votes
2answers
5k views

How to check if a user (not current user) is logged in?

I need to display the online status (online/offline) for each author page (custom author page template). is_user_logged_in() only applies to the current user and I can't find a relevant approach ...
1
vote
2answers
492 views

How to change post status from frontend?

I'd like to add the posts in my loop the ability to toggle them between different post statuses (e.g. publish/draft). What's the best way to do it? Thanks in advance!
1
vote
1answer
495 views

Allow users mark posts as “complete”?

Any search keyword suggestions to help would be appreciated - not sure how best to describe this query :) I have a custom post type "module". I have ~300+ modules in my install. I have ~100+ ...
2
votes
2answers
1k views

Turn Off Automatic Trash Deletion?

I have a client who wants to use the trash feature, but keep items in there indefinitely (I have no idea why, but they insist on it). From reading this codex article on the trash status, I see that ...
1
vote
1answer
217 views

What is a good wordpress 3.0+ plugin that supports automatic publishing to Twitter/Facebook?

I've tried Socialite and a couple others but they all appear to be reported as broken. When I tried them out, they were in fact broken. Can anyone suggest some that automatically publish to these ...