php - Wordpress: How to add additional folder for articles, besides draft and published/unpublished? -
i automatically add articles drafts wordpress script, moderator approves articles , publishes them or sends "storage" folder, able train machine learning algorithms on them. i've used use folder "trash" storing unapproved articles
define( 'empty_trash_days', 999 );
in wp-config.php not seem work, articles getting deleted anyway. think should add additional category articles besides "draft", "published", etc. i've read wordpress codex seems topic isn't covered , googling yields nothing useful, "101 wordpress tips" types of pages.
another question, how implement additional category in such way further updates won't break it? or may i'm doing wrong?
using custom post type best solution in situation. here references creating , managing custom post types in wordpress:
http://www.wpbeginner.com/wp-tutorials/how-to-use-custom-post-types/
http://blog.teamtreehouse.com/create-your-first-wordpress-custom-post-type
Comments
Post a Comment