WordPress Post Views Count Without Plugin

 Step1″Add this code in current WordPress active theme in function.php file <?php function get_PostViews($postID){    $count_key = ‘post_views_count’;    $post_count = get_post_meta($postID, $count_key, true);    […]

Read More

How to Custom Pagination For Custom Post in WordPress?

  There are very simple steps for Pagination for any type of Post in WordPress by Shortcode with Ajax.  Write this below code in you active WordPress theme’s funcntion.php file. ie: wp-contentthemestwentytwentyfunctions.php  Put this shortcode […]

Read More

How to disable automatic updates in wordpress?

Write below code in current WordPress themes in function.php /wp-content/themes/twentytwenty/functions.php/* Disable Automatic Updates in WordPress */function remove_core_updates(){ global $wp_version;return(object) array(‘last_checked’=> time(),’version_checked’=> $wp_version,);}add_filter(‘pre_site_transient_update_core’,’remove_core_updates’);add_filter(‘pre_site_transient_update_plugins’,’remove_core_updates’);add_filter(‘pre_site_transient_update_themes’,’remove_core_updates’);/* .Disable Automatic Updates […]

Read More