Get input form data posted by users

The most straightforward way is to utilize the $_POST super global variable. For example, if the form had a field named post-text, you could access the posted data at $_POST[ ‘post-text’ ]. Of course, you’d want to sanitize it properly before using it.

Optimize and delete images in WordPress

Good question, I have a chance to write a small wrapper that basically implements such functionality… I was thinking about when I should run my optimization and what exactly I should process files. Ended up in next conclusions… The main Image will be changed somewhere later, using wp_cron schedule. Nothing particularly interesting… you taking your … Read more

How to display widget in front end?

In order to display widget in the front end, on any page template, just add this line. the_widget(‘widget class name’) for more details, read wordpress codex: https://codex.wordpress.org/Function_Reference/the_widget