All Documents Limit

Following on from this post I have learned that there is a limit in the number of documents that appear in the All Documents menu in Cornerstone. Can you explain why there is a limit to the number of documents returned? I nearly had a meltdown thinking some of my pages and components were deleted before I used the filter to show all. Surely the words “All Documents” is slightly misleading…?

Hi @boomfly,

Thanks for reaching out. Default limit is 100 but you can increase the limit by adding the following code in the Child Theme’s functions.php file:

add_filter( 'cs_locator_limit', function() {
      return 200;
    });

Feel free to change the limit number. Hope this helps!