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!

Hi @nabeel,

Thanks for the code. I’m not seeing a change when this is used. Just to confirm it’s the All Documents panel and the truncated list of Pages. Even if you total up all document areas they are less than 100 so I’m not sure what the cs_locator_limit is returning. Can you tell me what I should see?

Hello @boomfly,

In order to help you with your concerns, we need to check your settings. I would request please share the admin login details meanwhile I would suggest you troubleshoot a few of the common issues before we investigate your settings. Please share your details in a secure note. Please provide the following details

  • WordPress Login URL
  • Admin-level username and password

You can find the Secure Note button at the bottom of your posts

Thanks