If there is a long answer ,how to show part of the answer and hide the other part, add a botton like "press to view all " ?
CSS is most easiest way however it is not rock solid solution for your issue as php.
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.