@prettyboymp Only thing I can think of is to make the button code a string and output it in the HTML markup to reduce the PHP in there.