diff --git a/functions.php b/functions.php
index 2ff3e1e..2937f75 100644
--- a/functions.php
+++ b/functions.php
@@ -67,7 +67,7 @@ function sponsors_shortcode() {
$result= '
'.pll__('Спонсори').'
';
- $sponsors_args = array( 'post_type' => 'sponsors', 'orderby' => 'rand' );
+ $sponsors_args = array( 'post_type' => 'sponsors', 'orderby' => 'rand', 'nopaging' => 'true');
$sponsors = new WP_Query( $sponsors_args );
ob_start();
@@ -102,7 +102,7 @@ function partners_shortcode() {
$result= ''.pll__('Партньори').'
';
- $sponsors_args = array( 'post_type' => 'sponsors', 'orderby' => 'rand' );
+ $sponsors_args = array( 'post_type' => 'sponsors', 'orderby' => 'rand', 'nopaging' => 'true' );
$sponsors = new WP_Query( $sponsors_args );
ob_start();
diff --git a/page-sponsors.php b/page-sponsors.php
index b2db166..f805a26 100644
--- a/page-sponsors.php
+++ b/page-sponsors.php
@@ -16,7 +16,7 @@ get_header(); ?>