Forum Replies Created
-
AuthorPosts
-
SteveKeymasterIs the “Classic Editor” plugin active?
SteveKeymaster@aridaniv– Welcome to the Piklist community!
Currently, Piklist does not play nice with Gutenberg. If you use the Classic Editor plugin it should work fine:
Let us know.
SteveKeymasterThis reply has been marked as private.
SteveKeymaster@chris007– it would be best if we could see your form code. Can you post it here, or https://gist.github.com/?
SteveKeymasterYou can download v1.0.2 at the bottom of this page: https://wordpress.org/plugins/piklist/advanced/
Please let us know if it fixes your issue.
SteveKeymasterYou can use the
piklist_save_fieldorpiklist_save_field-{$scope}action. They both fire after a form has been saved.https://github.com/piklist/piklist/blob/develop/includes/class-piklist-form.php#L3801-L3819
SteveKeymaster@nuralamsiddikashik– We’re actively working on it, but don’t have a release date yet.
January 25, 2019 at 1:07 pm in reply to: Metabox Field Condition Work is good , problem is piklist admin panel error #9307
SteveKeymaster@nuralamsiddikashik– looks like the gist was removed. Has this been resolved?
January 25, 2019 at 1:06 pm in reply to: How to make the default value in categories dropdown? #9306
SteveKeymasterYou can use the
valueparamater to set the default. Set it to the KEY of the value you want.January 20, 2019 at 8:40 am in reply to: Organize fields with columns without being in a group? #9298
SteveKeymasterHappy to help!
SteveKeymaster@nuralamsiddikashik– this is doable with Piklist. That field is essentially a radio field, but you select images instead of text.
You probably want your field to look something like this:
piklist('field', array( 'type' => 'radio' ,'field' => 'my_icon_picker' ,'value' => 'first' ,'label' => 'Choose an icon' ,'list' => false ,'choices' => array( 'icon_1' => '<img width="28px" src="http://my-first-image.jpg" />' ,'icon_2' => '<img width="28px" src="http://my-second-image.jpg" />' ,'icon_3' => '<img width="28px" src="http://my-third-image.jpg" />' ) ));If you have an array of the icons with their urls, you can populate the
choicesarray automatically.Hope this helps.
SteveKeymaster@nuralamsiddikashik– Piklist can probably build this for you. Can you provide an example of an Icon Picker field you like?
SteveKeymastergreat! Let us know if you have any questions.
And, welcome to the Piklist community!
SteveKeymasterYou can probably use JS or jQuery. Any tutorial on resetting form data will work.
-
AuthorPosts