How to edit archive/blog page to show full posts
i was wondering how you can make an achive/blog page show full blog posts instead of just the title. i am using a custom theme i made myself and i dont have an archive.php file or functions.php file i just have an index.php file and a style.css file. the code i have in my page template is `<?php
$posts_to_show = 100; //Max number of articles to display
$debut = 0; //The first article to be displayed
?><?php while(have_posts()) : the_post(); ?><h2><?php the_title(); ?></h2><ul><?php
$myposts = get_posts(“numberposts=$posts_to_show&offset=$debut”);
foreach($myposts as $post) :
?><li><a href=”<?php the_permalink(); ?>”><?php the_title(); ?></a></li><?php endforeach; ?>
</ul><?php endwhile; ?>` and you can check out what i have here. also if any one knows how to i would really like to have only like 3 or 4 posts per page and then they have to hit like a next button to go to the next page of posts. thanks for any help.
- The topic ‘How to edit archive/blog page to show full posts’ is closed to new replies.