Forum Replies Created
-
AuthorPosts
-
SteveKeymasterGreat. Glad you got it working.
Use the
valueparameter to set the default:
https://piklist.github.io/docs/fields/field-parameters/
SteveKeymasterIf you create a term and edit it, is the field there?
SteveKeymaster@marcus-eby– Good to hear from you! Hope you’re doing well.
If wp_debug is not returning any useful notices than the way I would debug this is to:
1) Roll back to WordPress 4.2.1 and verify everything is working correctly. It’s a minor version, so 4.2.1 shouldn’t be an issue.
2) Then upgrade to 4.2.2 and verify the everything is working correctly. If not, diff 4.2.1 and 4.2.2 to find the changes which will help you narrow down the issue.
3) If 4.2.2 is working correctly, then go to 4.2.3, and keep repeating.
It’s definitely a slow process, but I can’t think of a better way.
Good luck!
SteveKeymaster@achowell– if I change
'post_type' => 'mro_project'to'post_type' => 'post'you code works for me. So, two things to look at:1) Is the CPT
mro_projectregistered?
2) Where are the foldersparts/terms/located?
SteveKeymasterThis issue was recently fixed with this PR and will be in the next version of Piklist:
https://github.com/piklist/piklist/pull/97
SteveKeymaster"public" => trueis now the default in v0.11.2
SteveKeymasterGreat. Sorry about that.
SteveKeymasterWe reverted to the WordPress defaults for post statuses which does not make them public. Try this:
'publish' => array( 'label' => 'Published', 'public' => true ),
SteveKeymasterBy any chance, are you using Piklist to register custom post types with custom post statuses?
SteveKeymasterGreat. Closing ticket.
May 22, 2018 at 2:21 pm in reply to: Does piklist include anything special for rendering fields on the front-end? #9002
SteveKeymaster@blinkcursor– Welcome to the Piklist community!
Piklist does everything the “WordPress way”, and saves your data normally. If you open your database you would be able to read your data easily. Instead of helpers functions, you should use standard WordPress functions like
get_post_meta.Let us know if you have any questions.
SteveKeymaster@jeanne– Welcome to the Piklist community! We’re here to help.
Which “file” field isn’t showing?
SteveKeymasterFunctions.php or your plugin file
SteveKeymasterMay 16, 2018 at 12:22 pm in reply to: Emergency. My site is not accessible on installing Piklist. HELP PLEASE #8983
SteveKeymasterNot sure why Piklist would do this.
If you run WP_Debug, WordPress will give you error messages that should help with debugging:
https://codex.wordpress.org/WP_DEBUG -
AuthorPosts