wickedplugins
Forum Replies Created
-
Hi @solerous,
Thanks for sending the files and your help with this.
Can you please try changing the priority of your
initaction to 10 and adding the following code to the end of yourfunctions.phpfile:$wicked_folders_admin = Wicked_Folders_Admin::get_instance(); add_action( 'manage_pages_custom_column', array( $wicked_folders_admin, 'page_custom_column_content' ), 10, 2 );I’m hoping this will fix it. Let me know.
Great, glad to hear it worked!
Thanks @solerous. I’ve enabled zip uploads on the contact form. Would you mind trying again?
Thanks again for the additional info, that’s very helpful. I still haven’t figured out a way to reproduce the issue though. Is there any chance you could send me a link to a zip of your theme files (the main theme and the child theme)? If you don’t want to post it publicly, you could send it via our contact page.
Hi @tagtag,
We changed the prefix of the folder taxonomies from
wicked_towf_to correct a bug with the taxonomy names being too long in certain cases. So, to get the previous code to work, you just need to change the prefix towf_.Here is the updated code:
// Add body class filter add_filter( 'body_class', 'custom_body_classes' ); function custom_body_classes( $classes ) { // Folder taxonomies are named in the format 'wicked_{$post_type}_folders' $taxonomy = 'wf_' . get_post_type() . '_folders'; // Get slugs of folders that the current post belongs to $folders = wp_get_object_terms( get_the_ID(), $taxonomy, array( 'fields' => 'slugs' ) ); // Merge the folder slugs into the body classes array $classes = array_merge( $classes, $folders ); return $classes; }Hope this helps! Let me know if you still have trouble.
Thanks for the additional info. So far I’m not having any luck reproducing the issue for some reason.
Can you try moving the post type registration into an init action to see if that makes a difference? If that still doesn’t work, can you try changing the
priorityparameter of yourinitaction, once to -100 and then try again using 100?Let me know if that makes a difference.
FYI, I’m going to be out of the office the rest of the day but will continue looking into this later tonight or tomorrow.
If you visit the admin page for your custom post types and click “Screen Options” in the upper right, is there a “Move to Folder” column?
I assume you registered the post type in the child theme’s functions.php file? If so, is it within a WordPress action such as
init?Would it be possible for you to paste the code that is used to register the post type so I can try it?
Hi @solerous,
Sorry to hear you’re having trouble.
When you hover over one of your custom post type items, does the “move” icon show up in the first column (like it does for posts)? If so, what happens when you try to drag it to a folder?
How did you create the custom post type? Did you use a plugin or did you register it yourself via
register_post_type?Hi @yotam12,
Thanks for the suggestion! I’ve made a note of this as a possible feature to add in the future.
If it’s okay with you, I’d like to mark this issue as resolved since it’s more of a feature request rather than something that’s broken. Is that okay with you?
Hi @yotam12,
We have added right-to-left support to the plugin. Please note: if you previously attempted to resize the folder pane (or if the folder pane isn’t displaying properly after updating), please follow these steps to fix:
- Temporarily switch the site language back to English
- Visit the “Pages” screen and resize the folder pane to the desired width (even if it is already the width you want, make a small adjustment)
- Change the site language back to the desired language
Finally, please note that the folder pane is currently not resizable when used with a right-to-left language due to a possible issue with jQuery’s Resizable widget. If you want to change the width of the folder pane, you can use the work-around above to change it to a new fixed width.
Please let us know if you still have any issues.
Thanks again for pointing this out. Hope this helps!
Hi @yotam12,
Thanks for pointing this out. We’ll get it fixed this week and I’ll follow up here once we’ve addressed the issue.
Thanks so much for the positive review @psysolo!
Hi @rusliko,
Thank you so much for the positive review! And thanks for the suggestion of adding folder support for users; we’ll look into that!
Great, glad you got what you needed!
I’m going to mark this as resolved but, if you have any other issues or questions, please feel free to start another thread. Thanks!
Sorry @christer_f, I think I may have misunderstood your original question.
When you say you “would like to use the ‘order’ information”, can you clarify what you mean by that?