Site icon Hip-Hop Website Design and Development

WordPress pagination returns the same posts

I did search the other posts here related to this problem, and tried all of them in my case, but I can’t seem to make it work (probably because I don’t know enough code)

Can you please help me with the code below, as it stopped working lately with the latest WordPress updates. I am using it in a page whish is set as the hompeage, but it shows the same posts on all the pages. I tried adding page-navi instead of my query, but it’s not solving the problem.
I also tried this code but no result:

   <?php
$args = array(
    'posts_per_page' => 20,
    'post_type'      => 'post',
    'paged'          => get_query_var( 'paged' ),
);
$wp_query = new WP_Query( $args );
while ( $wp_query->have_posts() ) : $wp_query->the_post();?>

This is my query:

<div id="content" class="site-content col-md-9" role="main">
            <?php

            $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
            $args = array('post_type' => 'post','paged' => $paged);
            query_posts($args); 

            if ( have_posts() ) :
                while ( have_posts() ) : the_post();
                    get_template_part( 'post-format/content', get_post_format() );
                endwhile;
            else:
                get_template_part( 'post-format/content', 'none' );
            endif;

            ?>
           <?php                                 
            $page_numb = max( 1, get_query_var('paged') );
            $max_page = $wp_query->max_num_pages;
            echo moview_pagination( $page_numb, $max_page ); 
            ?>
        </div>

Thanks a lot