Jump to content
  • 0

помогите


Nomack
 Share

Question

Помогите сделать навигацию с query_posts на главной странице.

Вот мой код:

<?php get_header(); ?>

<section id="middle">

<div id="container">

<div id="content">

<?php query_posts('category_name=fun&showposts=3'); ?>

<?php while(have_posts()): the_post();?>

<div class="con_border"><div class="post">

<div class="download"><h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2></div>

<div class="con">

<?php the_excerpt (); ?>

<div class="read_more">

<span class="date"><?php the_date_xml(); ?> | </span><span>Просмотров:

<?php if(function_exists('the_views')) { the_views(); } ?></span>

<a href="<?php the_permalink(); ?>">Подробнее</a>

</div>

</div>

</div></div>

<?php endwhile; ?>

</div><!-- #content-->

</div><!-- #container-->

<?php include("left-sidebar-dota.php"); ?>

<?php include("right-sidebar.php"); ?>

<?php get_footer(); ?>

Edited by Nomack
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy