Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • byronyasgur
    Member

    Actually I think I figured this out … looks like I don’t need to set the scope for what I’m doing and setting it to taxonomy was wrong for what I was trying to do … I just left it out so it defaults to postmeta and it all works fine

    piklist('field', array(
        'type' => 'select'
        ,'field' => 'categoryreq'
        ,'label' => 'Categories'
        ,'description' => 'Terms will appear when they are added to this taxonomy.'
        ,'choices' => piklist(
          get_terms('product_cat', array(
            'hide_empty' => false
          ))
          ,array(
            'term_id'
            ,'name'
          )
        )
      ));
    
    in reply to: Separate Set of Taxonomy Terms for each user #2867
    byronyasgur
    Member

    Had a go … it worked perfectly, thanks. I used get_terms() to get the values out. What would you say about scalability. Every user will have a personal_tags_* entry in the term_taxonomy table I’m no database expert but I suppose there’s no issue with this?

    in reply to: Separate Set of Taxonomy Terms for each user #2861
    byronyasgur
    Member

    Wow … thanks … am flattered … had a quick look … maybe try it out at weekend

    in reply to: Separate Set of Taxonomy Terms for each user #2859
    byronyasgur
    Member

    Wow … that looks like it might do the trick. I’m swamped in client work right now but I can’t wait to try this. I’ll report my results here in case it’s of use to anyone in the future. Thanks

Viewing 4 posts - 1 through 4 (of 4 total)