Display Firestore Collection with Pagination

This shortcode will help to retrieve a whole collection data from Firestore database and display it with pagination on your page or post.

Remember to set the security rule for your viewers.

[firestore_pagination 
    class='test' 
    collection_name='users' 
    display_fields='firstName,lastName,email' 
    order_by='createdAt|DESC' 
    limit="4" child_page='https://wordpress.dalenguyen.me/dynamic-display-firestore-data-from-table/' 
    child_page_target_field='firstName' 
    pagination="true"
]