Connect with us

Публикации

‘;
$recentPosts = new WP_Query( array (‘cat’ => ’69’, ‘posts_per_page’ => ‘-1’ ));
while ($recentPosts->have_posts()) : $recentPosts->the_post();
echo ‘

‘;
echo ‘

‘;
if (has_post_thumbnail($post->ID)) {
$retina = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), ‘homepage-thumb-retina’ );
echo ‘‘ ;
};
echo ‘

‘;
$link_url = get_permalink();
$link_title = get_the_title();
echo ‘

‘.$link_title.’‘;
echo ‘
‘;
echo the_tags();
echo ‘
‘;
$content = strip_tags( get_the_content());

$result = iconv(«utf-8», «windows-1251», $content);
$result = implode(array_slice(explode(‘
‘,wordwrap($result,150,’
‘,false)),0,1));
$result = iconv(«windows-1251″,»utf-8», $result);
echo $result;
if($result!=$content)echo’…’;

echo ‘

‘;
echo ‘

‘;
endwhile;
echo ‘

‘;

?>

Наши партнеры:

LEGALBET

Мобильные приложения для ставок на спорт
Хорошие новости

Telegram