function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sfdc Developer07_dev_07Sfdc Developer07_dev_07 

Contact record details are not getting displayed in public community ?

Public community guest user profile - Given access of contact object.

How to display contact details into public community(public community page) ?
SwethaSwetha (Salesforce Developers) 
HI Akash,
Can you enable "Allow community users to see contacts that have not been enabled for communities" in community settings and see if that fixes the issue?

Reference: https://help.salesforce.com/articleView?id=000316672&language=en_US&type=1&mode=1
 
Also see, https://success.salesforce.com/answers?id=9063A000000t2M7QAI

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful.
 
Thank you