How to use the function buttons when creating a post