Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author wickedplugins

    (@wickedplugins)

    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.

    Thread Starter Bharat Karavadra

    (@bharatk)

    Hello @wickedplugins,

    Thanks for the quick response.

    Yes, it’s one plugin called Thrive Apprentice which is a course building plugin. The 3 pages that don’t show are specific to the plugin, however there are other pages used and created by the plugin which do appear.
    I’m also using other plugins from the Thrive Themes (creator of Thrive Apprentice) and none of the others that I’m using are causing the pages to not appear in the Unassigned folder.

    I hope that helps.

    Plugin Author wickedplugins

    (@wickedplugins)

    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?

    Thread Starter Bharat Karavadra

    (@bharatk)

    Hello @wickedplugins,
    The 3 pages don’t appear in All Folders.
    One of the pages is the course home page which can be edited in Thrive Apprentice but after editing it doesn’t appear in All Folders.
    A 2nd page is a Certificate verification page which again can be edited in Thrive Apprentice but doesn’t appear in All Folders.
    The 3rd is a registration page which is blank for some reason and not used (I have one created anyway in Thrive Apprentice but this is not so much a page but a template in Thrive Apprentice). So I’m not quite sure what this page is for.
    So when Thrive Apprentice is activated, the 3 pages don’t appear in All Folders for them to be moved. 2 can be edited from within Thrive Apprentice so that’s OK and as above I’m not quite sure what the 3rd one is for as I already have a template for the registration.
    So it doesn’t seem to be an issue that they’re not appearing in the Folders but that the page count is incorrect when they don’t appear.
    As we’ve found out which pages are not showing and 2 of which can be edited in Thrive Apprentice, it doesn’t affect me from editing the pages but the page count being correct would be better.
    I’ll find out from Thrive Themes what the blank registration page is for and update here if it helps.
    I hope that helps.

    Plugin Author wickedplugins

    (@wickedplugins)

    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!

    Plugin Author wickedplugins

    (@wickedplugins)

    Hi @bharatk,

    I’m marking this issue as resolved but if you still need help, please let me know.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Unassigned items count is not correct’ is closed to new replies.