Display values of current POST request on page

You can use filter_var or, more directly, filter_input to retrieve data from the REQUEST data. $var_a = filter_input( INPUT_POST, ‘var_a’, FILTER_SANITIZE_STRING ); The above code will get var_a out of the $_POST data, and sanitize according to PHP’s FILTER_SANITIZE_STRING. You can read the PHP Manual on Types of filters for other data types.

How to hardcode header and footer in WP?

You can always edit header.php and footer.php manually and entering HTML there, just be sure to call appropriate DIVI functions like elegant_description(); elegant_keywords(); elegant_canonical(); do_action( ‘et_head_meta’ ); etc., and WordPress wp_head(); and others. Be warned that DIVI does a lot of tweaking and you must call necessary functions and find which are not necessary, so … Read more

WordPress – Query specific category and automatically change category each month

Natively, I would suggest you to create an option page with some options value. Take a look at this : https://wisdmlabs.com/blog/create-settings-options-page-for-wordpress-plugin/ After created your options, do you logic by getting the options value (= category id) per key (= month number) Some plugin does that easily (such as ACF, but premium version)

Gutenberg block don’t save rich text content

Short Answer: When saving an attribute, always respect the attribute type. So if your attribute is of the array type, then save the value as an array, e.g. props.setAttributes( { innerContent: [ content ] } ). Longer Answer Your register_block_type() call is missing the editor_script parameter. See the block editor handbook for details, but basically, … Read more