WordPress.org

Support

Support » Plugins and Hacks » wp_insert_post and tax_input problems

wp_insert_post and tax_input problems

  • Tammy Hart
    Member

    @tammyhart

    I am grabbing my Dribbble posts by RSS and inserting them as posts with wp_insert_post. This is working great except that rather than create a custom post type, i decided to add them as posts and use a custom taxonomy named “format” to distinguish them from other types of posts. Here’s where my problem comes in. ‘tax_input’ works okay from the taxonomy ‘category’, but it ignores my custom taxonomy. Here’s my code:

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘wp_insert_post and tax_input problems’ is closed to new replies.