Forum Replies Created
-
AuthorPosts
-
May 23, 2019 at 9:16 pm in reply to: post_meta vs taxonomy scope confusion, error message broken #9390
SteveKeymasterThis is not broken. You just didn’t take the time to go through the code.
If you take a look in the Piklist Demos you would see that the when the scope is set to
taxonomy, we usepiklist_demo_typeas the field, because that is the taxonomy we want to save against.
https://github.com/piklist/piklist/blob/develop/add-ons/piklist-demos/parts/meta-boxes/field-taxonomies.php#L22-L23I also updated the docs to explain this:
https://piklist.github.io/docs/fields/field-parameters/#field
SteveKeymaster@hannan11– Welcome to the Piklist community!
Please verify that your localhost is running the same versions of WordPress, Piklist and PHP as your server.
If they are, please post your code here or https://gist.github.com/ so we can take a look.
SteveKeymasterDoes the Piklist Demos repeater work as expected?
SteveKeymasterCan you explain what you are trying to accomplish?
SteveKeymasterhave you tried changing the priority of your function so it’s called later?
SteveKeymasterI recommend you break down the code and output the values so you can see what you have.
For example:
what does this output:
$logo = $top_sec[‘r_blog_logo’];
SteveKeymasterBy default I don’t think WordPress allows SVG files uploaded to the media library.
Do you see the file there?
SteveKeymaster@neilarnold– We’re still working on the update. It’s at least four weeks away.
Sorry, you’re having issues. We keep the “Tested up to” field up to date: https://wordpress.org/plugins/piklist/
SteveKeymasterPlease post your code here or in a gist so we can take a look.
SteveKeymasterYou should be able to redirect using the
redirectcomment block parameter:
https://piklist.github.io/docs/comment-block-parameters/#redirect
SteveKeymasterThis reply has been marked as private.
SteveKeymasterI was able to reproduce.
So, Piklist is not 100% compatible with WordPress 5.0+. Many features will work with the Classic Editor plugin, but not all.
We’ll address this when we come out with our Gutenberg compatible version of Piklist.
SteveKeymasterwhoops! Look like you already did:
I’m going to mark this resolved.
SteveKeymasterI think this is the correct way. Looks good to me.
-
AuthorPosts