Forum Replies Created

Viewing 15 posts - 1,171 through 1,185 (of 2,964 total)
  • Author
    Posts
  • in reply to: single taxonomy on multiple post types #5359
    Steve
    Keymaster

    You’re very welcome. Closing ticket.

    in reply to: single taxonomy on multiple post types #5357
    Steve
    Keymaster

    @friendlyfire3– The Piklist-way is the WordPress-way!

    When you register the taxonomy with Piklist, pass an array of Post Types not just one.

    $taxonomies[] = array(
     'post_type' => array('post','page','custom_cpt') // multiple CPTs
     ,'name' => 'taxonomy_name'
    

    This also works if you want to register your Taxonomy with the WordPress function register_taxononmy.

    Let me know if this helps.

    in reply to: required but conditional filed is validated #5356
    Steve
    Keymaster

    @fritsgarrer– It’s not that we choose not to, it’s just that we haven’t implemented yet. Currently, we are working on getting our unit tests complete and getting Piklist to v1.0. We want to implement this, but it’s a feature request, and we are holding off on feature requests until v1.0.

    in reply to: Multiple images when using frontend forms #5355
    Steve
    Keymaster

    Currently, on front-end forms you can only use the standard HTML file upload field which only allows one at a time. You cannot use the WordPress media uploader on the front.

    in reply to: Showing field if post has parent #5354
    Steve
    Keymaster

    Great! Closing ticket.

    in reply to: Disable options on select #5348
    Steve
    Keymaster

    Nice! Closing ticket.

    in reply to: Dropdown with onchage part 3 :D #5347
    Steve
    Keymaster

    I’ve used this in the past and it works pretty well:

    return is_ssl() ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
    
    in reply to: Disable options on select #5344
    Steve
    Keymaster

    I think you mean OPTION GROUPS

    You can see an example in Piklist Demos > Common > Lists > Select with Option Groups

      piklist('field', array(
        'type' => 'select'
        ,'field' => 'select_optgroup'
        ,'label' => __('Select with Option Groups', 'piklist-demo')
        ,'value' => 'third'
        ,'choices' => array(
          'Group 1' => array(
            'first' => __('First Choice', 'piklist-demo')
            ,'second' => __('Second Choice', 'piklist-demo')
            ,'third' => __('Third Choice', 'piklist-demo')
          )
          ,'Group 2' => array(
            'first' => __('First Choice', 'piklist-demo')
            ,'second' => __('Second Choice', 'piklist-demo')
            ,'third' => __('Third Choice', 'piklist-demo')
          )
        )
      ));
    

    Let us know if this works for you.

    in reply to: Odd application of the default field styling #5337
    Steve
    Keymaster

    Guessing it’s not CSS, it’s something else on your site blocking the load. Possibly jquery itself.

    Try using Chrome devtools to see how long everything is loading. When I try it looks like admin-ajax.php slows down on so many repeaters.

    Also, Firefox seems to be loading the same page faster for me than Chrome.

    in reply to: Saving post meta from front-end not working #5335
    Steve
    Keymaster

    @fbgm– If you want to edit an existing post you’re going to need the post id. Then add this to the end of the form url:
    ?_post[ID]=ID

    So your url would look like this:
    http://mydomain.com/my_form/?_post[ID]=84

    Is that what you are looking for?

    in reply to: Odd application of the default field styling #5333
    Steve
    Keymaster

    @kplaneta– This shouldn’t be an issue unless you are using a field like the editor. Can you post your field code here?

    in reply to: Add_More issues #5332
    Steve
    Keymaster

    @marcusig– Can you post your field code so we can see how you created the button field?

    in reply to: Unknown number of conditions #5331
    Steve
    Keymaster

    @jordisanchez– Welcome to the Piklist community!

    That should work if you format the array properly.

    in reply to: Piklist and UserPro issue #5330
    Steve
    Keymaster

    Did you also submit this ticket to Userpro?

    in reply to: Disable options on select #5329
    Steve
    Keymaster

    @kabadabra– Piklist uses standard HTML form attributes.

    Add this to any Piklist field array that you want disabled:

    'attributes' => array(
      'disabled' => 'disabled'
    )
    

    This will make the form disabled

Viewing 15 posts - 1,171 through 1,185 (of 2,964 total)