Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Multiple Tags for CPT #8844
    Dan
    Participant

    Hi Steve,

    Version 0.9.9.16

    Cheers,

    Dan

    in reply to: Related posts vs postmeta? #7903
    Dan
    Participant

    Following

    in reply to: Multipe post-relate #7719
    Dan
    Participant

    Hi Charles,

    Not really a solution, but could you perhaps do the following:

    – Grapes – as tags to account for grape blends etc. allows multiple grape types to be selected.
    – Link the product to the estate.
    – Link the estate to the region.

    Dan

    in reply to: Woocommerce Product Variations #7414
    Dan
    Participant

    Hi, this is on my list to look into. However as a starting point this hook may be of interest. It’s where I’m staring this evening – will let you know how I get on!!

    woocommerce_cli_save_product_variation
    https://docs.woocommerce.com/wc-apidocs/source-class-WC_CLI_Product.html#1781

    in reply to: Shortcode form do not wok! #7390
    Dan
    Participant

    Hi, Have you just created a new file within the piklist examples folder? Or do you have these in your custom theme/plugin?

    If it’s in the piklist folder you’ll need to do it like this:
    [piklist_form form="my-form" add_on="piklist-demos"]

    Are you aiming for a theme or a plugin, because you need to activate Piklist within your plugin or theme within the comments section at the top.

    See this for activating Piklist. Getting Started

    in reply to: Auto-populate add_more fields #7272
    Dan
    Participant

    Don’t apologise, this is exactly what I needed. Thank you!

    in reply to: Auto-populate add_more fields #7269
    Dan
    Participant

    That’s really odd, I’m also on Piklist 0.9.9.9, WP 4.6 but I do not get the default fields come through?

    Copied your example into mine just in case I had a typo, but still not getting the desired results.

    <?php
    /*
    Title: Classes
    Post Type: mrc-event
    Order: 200
    */
    
    piklist('field', array(
      'type' => 'group'
      ,'field' => 'classes'
      ,'label' => 'Classes'
      ,'add_more' => true
      ,'fields' => array(
        array(
          'type' => 'text'
          ,'field' => 'class'
          ,'label' => 'Class Name'
          ,'columns' => 12
        )
        ,array(
          'type' => 'text'
          ,'field' => 'members'
          ,'label' => 'Members'
          ,'columns' => 6
        )
        ,array(
          'type' => 'text'
          ,'field' => 'non_members'
          ,'label' => 'Non-Members'
          ,'columns' => 6
        )
        ,array(
          'type' => 'text'
          ,'field' => 'section'
          // ,'label' => 'Section'
          ,'add_more' => true
          ,'columns' => 12
          ,'attributes' => array('placeholder' => 'Section Name')
          ,'value' => array('Section 1', 'Section 2', 'Section 3')
        )
      )
    ));
    Attachments:
    You must be logged in to view attached files.
    in reply to: Auto-populate add_more fields #7264
    Dan
    Participant

    Hi phil,

    I’ve tried this, doesn’t seem to work as a child add more.

    I’ve done a work around for now, adding this into a settings page and showing this as a multi select.

    Cheers

    in reply to: Auto-populate add_more fields #7261
    Dan
    Participant

    This is a screenshot of desired output on adding a post

    Attachments:
    You must be logged in to view attached files.
Viewing 9 posts - 1 through 9 (of 9 total)