Forum Replies Created
-
AuthorPosts
-
December 22, 2016 at 11:07 am in reply to: Conditional inside group hides entire group instead of specific field #7685
SteveKeymasterThis seems to be working for me. Using the code you posted above:
cloudup.com/cnrET-hYg0t
SteveKeymasterLooks like their is a shortcode issue with Piklist and WordPress 4.7 right now
December 22, 2016 at 10:57 am in reply to: using piklist template file to easy handle multidimensional array fields #7683
SteveKeymasterTry this to get the data:
foreach ($editor_info as $info => $value) { echo 'name: ' . $value['editor_name']; echo 'image: ' . $value['editor_image'][0]; echo '<img src="' . wp_get_attachment_url($value['editor_image'][0]) . '"/>'; }Just to clarify, this is not piklist-specific. This is standard PHP/WordPress. Piklist does things the PHP/WordPress way, so any Google search on how to loop through an array would help you.
SteveKeymaster@trosario– I’m happy to log in and take a look if you want. Would need wp-admin credentials. Also, if you could export the database and send to me that would also be helpful. email to [email protected]
SteveKeymasterWhat changed on the site? Did you upgrade Piklist? Another plugin? WordPress?
If you can’t identify then disable all plugins except Piklist and see if that helps.
December 15, 2016 at 5:46 pm in reply to: Workflow Settings ends up with "ERROR: options page not found" on save #7661December 15, 2016 at 5:44 pm in reply to: How to send json response from piklist group with add more option #7660
SteveKeymaster@cegodai– Piklist fields will save as normal meta that you can access with the REST API.
SteveKeymaster@pierre– Anything is possible with WordPress! 😉
Don’t worry, Piklist has your back. In the Piklist Demos check out COMMON (tab) > LISTS > CHECKBOXES. You want to look at the GROUP LISTS field. It’s setup so your checkbox data will save in ONE field as an array.
Just and FYI, this is one of the reasons people stay away from these all-in-one themes… they do too much and take over your site.
December 15, 2016 at 5:38 pm in reply to: Error in saving taxonomy from front-end form for custom post type #7658
SteveKeymasterLooks like this is a bug in front end forms and taxonomies.
December 15, 2016 at 5:37 pm in reply to: Conditional inside group hides entire group instead of specific field #7657
SteveKeymaster@randymac– Welcome to the Piklist community!
This code seems to be working for me. Can you send some screenshots of what you see?
Also, you don’t need
,'field' => 'spec_hours'. If you remove it the data will save as individual meta keys which might be easier for you.
SteveKeymasterThis is still an open bug. Sorry for the inconvenience.
December 10, 2016 at 5:04 pm in reply to: Error in saving taxonomy from front-end form for custom post type #7643
SteveKeymasterI don’t see a taxonomy named book_type registered.
SteveKeymasterJust repeating in case it was missed, but there are lots of field examples here:
piklist/parts/fields/
SteveKeymaster@hozefasmile– Piklist itself uses this to create fields: piklist/parts/fields/
Check out the examples there.
SteveKeymaster@pierre– Welcome to the Piklist community!
Your code works fine for me. A few things:
1) Make sure you haven’t created another field with the same name by accident.
2) You may also want to try this: https://piklist.com/learn/doc/arent-fields-saving/ -
AuthorPosts