Forums

Relationship in database (3 posts)

  1. youradds
    Member
    Posted 4 years ago #

    Hi,

    I'm trying to write a script that will automatically create a blog "category" for everyone, so they can post their blogs on my site.

    The wp_users table is a piece of cake - that's all fine.

    However, that's where it ends :/ In older versions - there was a wp_categories table - which made it nice and easy to manage category names, and who was in charge of that category. I can't seem to work out how to do that now though :/

    Anyone got any ideas/suggestions, I would be much obliged.

    TIA

    Andy

  2. youradds
    Member
    Posted 4 years ago #

    Is it really that hard? :/

    Cheers

    Andy

  3. erikiva
    Member
    Posted 4 years ago #

    Not sure this will help but I am trying to work out the differences in the database from one version to another and seems to me the wp_categories table has been more or less replaces by wp_terms although I think it is a little more complex than that since there are wp_term_relationships and wp_term_taxonomy so maybe it is something you have to work out with those three tables.

Topic Closed

This topic has been closed to new replies.

About this Topic