wickedplugins
Forum Replies Created
-
Hi @wpdevcity,
Page folders are stored as terms in a custom taxonomy named ‘wf_page_folders’. So you should be able to do this using the WordPress get_the_term_list function. Something like this should work:
<?php get_the_term_list( get_the_ID(), 'wf_page_folders' ); ?>I hope this helps!
Hi @andrijafzv,
data-folder-idis the correct way to get the folder ID. The permission filters should return true if you want the user to have the permission for the specified folder ID or false if not. Note that the permissions only apply to folders; they don’t apply to content within the folders. Sowf_collection_policy_can_viewcontrols whether or not the user can view the folder with the specified folder ID.In order to filter the content within a folder, you’d likely need to use the
pre_get_postsaction to filter out the content you want to hide.I hope this helps. Let me know if you still have questions.
FYI, since this is a question/issue about a feature in the pro version that doesn’t apply to the free version here on WordPres, I’m going to mark this as resolved. If you still have trouble, feel free to respond to the email I sent you. Thanks.
Hi @siaroslaw,
I’m afraid newer versions of the plugin won’t work with versions of WordPress that old. I think your options are to update WordPress to a more current version or use an older version of the plugin. If you’re unable to update to the latest version of WordPress, I believe version 2.7 of Wicked Folders should work with WordPress 4.9.2.
You can download older versions of the plugin by going to the Advanced View tab and scrolling down to the “Advanced Options” section.
I hope this helps.
- This reply was modified 3 years, 8 months ago by wickedplugins. Reason: Clarify version 2.7 refers to Wicked Folders plugin
Forum: Reviews
In reply to: [Wicked Block Conditions] Flexible & elegantThank you so much for the nice review @martinsauter! Glad you’ve found the plugin useful.
Hi @zokkoz,
I’m going to mark this as resoled but if you still have questions, please let me know.
Hi @ogrish,
I’m going to mark this as resolved but if you still have questions, please let me know.
Hi @ogrish,
Wicked Folders uses the built-in WordPress taxonomy API to store folders. The folders are stored as taxonomies and terms in the database (in the wp_term_taxonomy, wp_term_relationships, wp_terms, and wp_termmeta tables).
The folder taxonomies are named
wf_{post_type}_folderswhere{post_type}is the machine name of a post type. For example, the taxonomy for page folders iswf_page_folders.Since folders are just terms, you can query pages and posts by them just like you would any other category. For example, you could use something like this to get all pages belonging to folder ID 1:
get_posts( array( 'post_type' => 'page', 'posts_per_page' => -1, 'tax_query' => array( array( 'taxonomy' => 'wf_page_folders', 'field' => 'term_id', 'terms' => 1, ) ) ) );I hope this helps. Let me know if I can answer any other questions.
Hi @zokkoz,
This isn’t something that is built into the plugin but I think you could accomplish it by using the add_attachment action and wp_set_object_terms to assign the media to the desired folder based on post type when a new file is added.
Thank you so much for the nice review @ribeiroeder!
Great, thanks for confirming!
Hi @leonardcraft,
This issue has been fixed in the latest version (2.18.14). If you still have any issues after updating, please let us know.
Hey @leonardcraft,
Thanks for reporting this. We’ll look into it and get it fixed!
Hi @bobbobbius,
I’m afraid Wicked Folders doesn’t currently support uploading to physical folders (although it’s something we may add in the future).
I don’t believe it would work to use both Wicked Folders and Media Folders Lite at the same time for media library folders; however, if you use Wicked Folders for other things such as pages, you could use the two plugins together and just disable media folders in the Wicked Folders settings.
Let us know if we can answer any other questions.
Forum: Plugins
In reply to: [Wicked Block Conditions] About the internationalization of the pluginHi @yordansoares,
Thanks for bringing this up. We’ll look into internationalizing the JavaScript files!
I’m marking this issue as resolved but if you still need help, please let us know.