wickedplugins
Forum Replies Created
-
Hey @mars29dr,
I’ve tested the plugin with PHP 8 and, as far as I’m aware, the plugin is fully compatible with the latest version of PHP.
Have you tried testing for a plugin conflict? It’s possible that another plugin is having trouble with PHP 8 that is causing it to interfere with the Wicked Folders functionality. You can verify by temporarily deactivating all other plugins to see if the issue goes away. If it does, reactivate the plugins a handful-at-a-time until the issue returns to narrow down which plugin is causing the conflict.
Let me know what you find out.
Forum: Plugins
In reply to: [Wicked Block Conditions] Conditions on Custom HTML isn’t savedAhhh, okay, I didn’t realize this was on the Widgets screen. I’ll have to do some digging to figure out why the behavior is different there.
Forum: Plugins
In reply to: [Wicked Block Conditions] Conditions on Custom HTML isn’t savedHi @ashf,
Hmmm, it appears to be working for me when I add a post ID or slug condition to a Custom HTML block. Do other conditions work for you?
If you do a hard browser refresh, does that change anything?
Forum: Plugins
In reply to: [Wicked Block Conditions] Page/Post conditions?Hey @ashf,
I think this is a great idea. I went ahead and added two new conditions: one to check the page/post ID and another to check the slug.
If you need to check another page/post property, you can always add a user-defined function condition and write a function that returns the value you want to test.
I hope this helps! I’m marking this as resolved but feel free to continue the thread if you still have issues.
Forum: Plugins
In reply to: [Wicked Block Conditions] Page/Post conditions?Hi @ashf,
What do you have in mind? Are you wanting to show/hide blocks based on the page/post ID? Or something else?
Hey @bharatk,
I apologize for the delay in responding. If I understand correctly, it sounds like Thrive Apprentice is always filtering out those three pages. The pages exist but don’t appear which causes the unassigned item count to be incorrect.
There are two work-arounds I can think of. If you disable Thrive Apprentice, do the pages appear? If so, you can then drag them to a folder to assign them which will fix the unassigned items count.
Alternatively, if that won’t work, you could filter the folders and adjust the item count that way. You can do that by adding the following code to the end of your theme’s functions.php file:
add_filter( 'wicked_folders_get_folders', function( $folders ){ // Loop through folders and look for unassigned items folder foreach ( $folders as $index => $folder ) { if ( 'unassigned_dynamic_folder' == $folder->id ) { // Reduce item count to account for $folder->item_count -= 3; } } return $folders; } );Hope this helps!
Hey @bharatk,
So are the 3 pages that aren’t appearing always hidden by Thrive Apprentice? For example, if you click on All Folders, do they appear then? What happens if you edit one of the hidden pages and assign it to a folder via the Folders panel in the sidebar? Does that drop the unassigned items count?
Hi @bharatk,
Thanks for reporting this. This is most commonly caused by another plugin that is also filtering the pages. Would it be possible for you to try temporarily deactivating all other plugins to see if that fixes things? If it does, re-activate the plugins one-at-a-time until the issue returns to determine which plugin is causing the conflict. Let me know which plugin and I can research further to see if it’s something we can work around on our end.
Forum: Plugins
In reply to: [Wicked Block Conditions] About the internationalization of the pluginHey @yordansoares,
Thanks for taking the time to translate the plugin. It looks like the JavaScript files were already internationalized; however, I forgot to call
wp_set_script_translations. I’ve added that to the plugin so hopefully your translations work now. Let me know if you still see any issues.Hey @a4jpcom,
Just closing the loop on this. I’ve updated the plugin to use the latest functions so there should no longer be any deprecated warnings.
Hey @hardtruth3456, I’m really sorry to hear you had issues with the layout. If you’d like to contact us through our website, you can easily upload a screenshot that way and I’d be happy to help troubleshoot the issue.
The other thing you could try is temporarily deactivating all other plugins to see if the issue goes away. If it does, you can reactivate a handful at a time until the issue returns to determine which plugin is causing the conflict. Once you’ve identified the conflicting plugin, let me know and I can look into it further to see if it’s something we can address on our end or if it’s something the other plugin would need to fix.
Hi @a4jpcom,
Sorry for the delay in responding. Thanks for pointing this out. I’ll look into it and get it resolved.
Hi @bmfoco,
I looked into this a bit further and reviewed the WordPress code that organizes the pages based on hierarchy. Unfortunately, it doesn’t appear that WordPress offers any filters or actions in that function to override the logic/behavior so, at the moment, I’m afraid I’m not seeing an obvious solution for how to avoid the issue you’re describing.
I think work-arounds would be to either include the parent pages in the folder or look into removing the dashes to help avoid the confusion.
Hi @bmfoco,
You may be able to use the
the_titlefilter to remove the dashes in order to make it less confusing.However, since the parent page doesn’t exist in the folder, there isn’t really a way to keep the page hierarchy in tact (WordPress adds the dashes to indicate the hierarchy even if the parent page is filtered out).
Hi @wpdevcity,
I’m going to mark this as resolved but if you still need help, just let us know.