Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php if ( have_posts() ) : query_posts('p=1');
while (have_posts()) : the_post(); ?>
<?php the_title(); ?>
<?php the_content(); ?>
<?php the_post_thumbnail(array(100, 100)); ?>
<?php endwhile; endif; wp_reset_query(); ?>
@pivovar

This comment has been minimized.

Copy link

commented May 6, 2015

Выдавал ошибку пока не исправил последнюю строчку на

@shhhmel

This comment has been minimized.

Copy link

commented Jun 30, 2016

pivovar +

@kohav

This comment has been minimized.

Copy link

commented Apr 25, 2017

Не исправил на что?

@Scordavis

This comment has been minimized.

Copy link

commented Apr 27, 2017

@kohav Какие проблемы?

@yuriitaran

This comment has been minimized.

Copy link

commented Oct 14, 2017

В последней сточке <?php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.