Answer the question
In order to leave comments, you need to log in
How to use Azure, AWS and VPS.ua without a credit card?
Hello! I have many projects that require VDS! But I am a minor and cannot use paid solutions. There are free options from Azure, Amazon, VPS.ua, etc., but they require a card and there is no way around it. PLEASE TELL ME WHAT TO DO! Thanks in advance for your detailed answer!!!
Answer the question
In order to leave comments, you need to log in
Modern laws of the USA, EU and RF require the hoster to identify clients. In the West, this is usually done with the help of a control charge from a credit card. Therefore, you can't do anything about it.
Good afternoon !
You, display your posts in such a variable $training=new WP_Query($args);
Therefore, in these places:
$paginate = paginate_links( array(
'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
'type' => 'array',
'total' => $query->max_num_pages,
'format' => '?paged=%#%',
'current' => max( 1, get_query_var('paged') ),
'mid_size'=>1,
'prev_text' => __('«'),
'next_text' => __('»'),
)
);
if ($query->max_num_pages > 1) :
$query на $training
$paged = ( get_query_var( 'paged' ) ) ? absint( get_query_var( 'paged' ) ) : 1;
$program = new WP_Query(
array(
'post_type' => 'program',
'posts_per_page' => 8,
'paged' => $paged) );
<?php if ( $program->max_num_pages > 1 ) : ?>
<div class="paginate">
<?php
$big = 999999999; // need an unlikely integer
echo paginate_links( array(
'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
'format' => '?paged=%#%',
'current' => max( 1, get_query_var('paged') ),
'total' => $program->max_num_pages,
'prev_text' => '',
'next_text' => ''
) );
?>
</div>
<?php endif; ?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question