Show a specific post in wordpress with links

They’re not clickable because that output doesn’t include any of the post permalinks. You can try this: By <?php the_author_posts_link(); ?> on <?php the_time(‘F jS, Y’); ?> in <?php the_category(‘, ‘); ?> <?php $post_id = 1; $queried_post = get_post($post_id); ?> <h2><a href=”<?php echo esc_url( get_permalink( $post_id ) ); ?>”><?php echo $queried_post->post_title; ?></a></h2> <?php echo $queried_post->post_content; … Read more

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)