Display all posts on one page
-
Hi,
Its quite simple really, I would like to display all posts on one page no matter when they were published (I will introduce pagination also). I don’t mean display just each posts title & publish date I would like the full post to be displayed. That includes the content (of the post) in full. Here is the code I have so far on PasteBin http://wordpress.pastebin.com/WMK0hNGv
This code currently pumps out just the title & the dates, missing out the code i’ve put in for displaying the actual posts content. The line that keeps being ignored is this:
<?php $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); ?>I got that code from the codex pages: under the Alternative Usage section.
Why won’t the full posts content get pumped out aswell? Can anyone help?
The topic ‘Display all posts on one page’ is closed to new replies.