Title: Jonathan Ogden's Replies | WordPress.org

---

# Jonathan Ogden

  [  ](https://wordpress.org/support/users/jonathanogden/)

 *   [Profile](https://wordpress.org/support/users/jonathanogden/)
 *   [Topics Started](https://wordpress.org/support/users/jonathanogden/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jonathanogden/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jonathanogden/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jonathanogden/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jonathanogden/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jonathanogden/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CPT-onomies: Using Custom Post Types as Taxonomies] [Plugin: CPT-onomies: Using Custom Post Types as Taxonomies] Not updating wp_term_relationships](https://wordpress.org/support/topic/plugin-cpt-onomies-using-custom-post-types-as-taxonomies-not-updating-wp_term_relationships/)
 *  Thread Starter [Jonathan Ogden](https://wordpress.org/support/users/jonathanogden/)
 * (@jonathanogden)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-cpt-onomies-using-custom-post-types-as-taxonomies-not-updating-wp_term_relationships/#post-2617599)
 * OK, I figured it out. There were remnants from old pre-CPT-onomies taxonomy experiments
   that were getting in the way.
 * I had a sneaky feeling it was me and not CPT-onomies.
 * Again, great job on a great script. A donation will be forthcoming! 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CPT-onomies: Using Custom Post Types as Taxonomies] [Plugin: CPT-onomies: Using Custom Post Types as Taxonomies] Not updating wp_term_relationships](https://wordpress.org/support/topic/plugin-cpt-onomies-using-custom-post-types-as-taxonomies-not-updating-wp_term_relationships/)
 *  Thread Starter [Jonathan Ogden](https://wordpress.org/support/users/jonathanogden/)
 * (@jonathanogden)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-cpt-onomies-using-custom-post-types-as-taxonomies-not-updating-wp_term_relationships/#post-2617593)
 * Thanks for the quick response!
 * I insert the post with wp_insert_post and then set the terms for the CPT-onomies
   using $cpt_onomy->wp_set_object_terms().
 * I am calling both functions on my own – outside of WordPress.
 * wp_post_meta is being updated – meta_key(s): _custom_post_type_onomies_ is/are
   correct and the post has the correct taxonomy and terms, but wp_term_relationships
   is not being updated which is affecting if a post is showing up in a loop that
   uses that information. However, two weeks ago, wp_term_relationships was being
   updated…
 * It probably is something I’m doing and not an issue with CPT-onomies. But I wanted
   to make sure before I tear my hair out (difficult – I don’t have much hair).

Viewing 2 replies - 1 through 2 (of 2 total)