How can i show post views using specified post ID?
You can pass post id as argument in the views function. Please check following example. An optional argument is passed in the function. If nothing is passed, id is fetched from get_the_ID(). if ( !function_exists( ‘mvp_post_views’ ) ) { function mvp_post_views( $post_id = ” ){ if ( $post_id ) { $post_id = absint( $post_id ); … Read more