'' . esc_html__( 'Previous:', 'nesiapress' ) . ' %title',
'next_text' => '' . esc_html__( 'Next:', 'nesiapress' ) . ' %title',
)
);
?>
'ids'] );
$args = [
'post__not_in' => array( get_queried_object_id() ),
'posts_per_page' => 4,
'ignore_sticky_posts' => 1,
'orderby' => 'rand',
'tax_query' => [
[
'taxonomy' => 'post_tag',
'terms' => $tags
]
]
];
$my_query = new wp_query( $args );
if( $my_query->have_posts() ) {
echo '
';
while( $my_query->have_posts() ) {
$my_query->the_post(); ?>
';
}
?>