I can't get the_content() to work!
-
Here on this paste bin: https://pastebin.com/AC1fPwnz is my template for my front page. But I can’t get $content = get_the_content to print out when I do so like this:
echo $content; down on line 80.
I am totally lost. I feel like I”m not “in the loop” but I’ve got no idea how to get back in the loop. Help?
If I try to print out <?php if (have_posts()) : while (have_posts()) : the_post(); ?> for a second time on the page, nothing happens except error messages.
Any help would be awesome.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘I can't get the_content() to work!’ is closed to new replies.