Add this to the custom query: ‘paged’ => get_query_var(‘paged’, 1) Refer: Query Anything On WordPress Anywhere
Add this to the custom query: ‘paged’ => get_query_var(‘paged’, 1) Refer: Query Anything On WordPress Anywhere
/** * Modify WordPress Main Query – The Right Way * * @refer https://millionclues.com/wordpress-tips/modify-wordpress-main-query/ */ function modify_wp_main_query_done_right( $query ) { if ( $query->is_main_query() ) { $query->query_vars[‘meta_key’] = ‘statusverified_13141’; $query->query_vars[‘meta_value’] = 1; } } add_action( ‘pre_get_posts’, ‘modify_wp_main_query_done_right’ ); Refer WP Query to…
One of the top Content Management System (CMS), WordPress has grown to become one of the basic elements powering most websites in the world. High interactivity combined with easy to use interface has made it the first choice for many…
An awesome video series on Git and GitHub concepts. No coding experience required to follow.
Add this to your jQuery file. // Smooth scroll When Clicking Anchor // @refer https://stackoverflow.com/a/7717572/8255629 var jQueryroot = $(‘html, body’); $(‘a[href^="#"]’).click(function () { jQueryroot.animate({ scrollTop: $( $.attr(this, ‘href’) ).offset().top }, 1000); return false; });