Forum Replies Created

Viewing 15 posts - 2,716 through 2,730 (of 2,964 total)
  • Author
    Posts
  • in reply to: Custom Taxonomy – User Permission Based #898
    Steve
    Keymaster

    You can use the standard WordPress function current_user_can(), just wrap the piklist_taxonomies filter in a conditional:

    if (current_user_can('edit_post'))
    {
     add_filter('piklist_taxonomies', 'your_taxonomy_function');
    }

    This is untested but should work. If it doesn’t, then move the conditional into your_taxonomy_function().

    in reply to: Custom Taxonomy – User Permission Based #896
    Steve
    Keymaster

    How do you want to use User Roles and Taxonomies? Hide/show taxonomy based on user role?

    in reply to: Nested taxonomies #883
    Steve
    Keymaster

    This is really nice. Good job!

    in reply to: Nested taxonomies #881
    Steve
    Keymaster

    Thanks for sending over this explanation.

    I think you have a very cool idea, but it may be more complicated then you need. Why not put the Color Picker as a custom field on the ceu_clientes taxonomy. When you want to assign RED to “The Client”, just edit “The Client” and choose the color from the color picker.

    Piklist then has a function to pull term_meta:
    piklist(get_term_custom,$term_id);

    Use it like this:
    $termmeta = piklist(get_term_custom,$term_id);

    Then user print_r to see the data:
    print_r($termmeta);

    You should see an array of fields and data, which should help you pull the correct field.

    in reply to: Nested taxonomies #880
    Steve
    Keymaster

    Nothing came through. Please post again.

    in reply to: Nested taxonomies #877
    Steve
    Keymaster

    I’m just a little confused. Is ceu_clients a dropdown of client names associated with the post, and then ceu_colors would be a dropdown of colors?

    Or do you just want to associate a Color with a dropdown of client names?

    in reply to: Nested taxonomies #874
    Steve
    Keymaster

    Can you post your Taxonomy code?

    in reply to: Grouped Fields Layout #871
    Steve
    Keymaster

    Nice explanation @jchamb!

    in reply to: Grouped Fields Layout #862
    Steve
    Keymaster

    @txhorselady– The first thing you should do is see how WordPress is saving the values. Something like this will help you visualize the data:`$meta = get_post_custom($post_id);
    print_r($meta);`

    Once you see the output, you can grab it properly.

    This is standard WordPress, using a standard WordPress function… Piklist doesn’t do anything accept help you create the field easily. That’s one of the things that makes Piklist awesome.

    in reply to: Repeat conditions #858
    Steve
    Keymaster

    @nateskin– Your code is fine. Piklist has a bug when multiple fields are conditionally based on one field. We’re working on a fix.

    in reply to: Nested Select Inputs #852
    Steve
    Keymaster

    @johnmcalester– Piklist currently does not support nested Select fields. This is something we can put on our roadmap. Can you give us an example of how you are using it?

    in reply to: Bug Report: admin css breaks wp-tabs #850
    Steve
    Keymaster

    Is the issue with the standard WordPress tabs, are fields you built with Piklist?

    in reply to: Custom Post Type Relationships #847
    Steve
    Keymaster

    YES… we’re still here.
    YES… we’re still coding.
    YES… the next version is almost ready.

    😉

    Steve
    Keymaster

    Closing this ticket!

    in reply to: Custom Post Type Relationships #843
    Steve
    Keymaster

    @ihuman– This is actually a very good idea, and we might have integrated it months ago. However, we already have this feature built-in the next release… and posts-to-posts is only the beginning… 😉

Viewing 15 posts - 2,716 through 2,730 (of 2,964 total)