There is a provider date:
$dataProvider = new ActiveDataProvider([ 'query' => Shop::find()->where(['status'=>1, 'men' => 1])->orderBy('id DESC'), 'pagination' => [ 'pageSize' => 10, ], ]); Now it automatically inserts pagination immediately after the last article, how to change its location?