Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Displaying contents of admin post on site\’s front page


thebigk
Participant

@thebigk

Boss,

This is not working. I pasted <?php if ($post->post_author==1) {?> just after <?php foreach ( $posts as $post ) : ?>

and put a } after the

I got an error saying unexpected end of foreach loop :(

What am I doing wrong?

Just out of curiosity -Is it possible to tweak the “recent posts” plugin to show the post text instead of the post link?

Skip to toolbar