Need only one Post on frontpage
-
Please help!!
I want to keep one post in the front page. i have achieved this already by assigning one post in the reading, but when i publish a newer post, that post is also appearing in the front page. i have tried to use as the instructions in the codex and inserted this code:
$sticky = get_option( ‘sticky_posts’ );
query_posts( ‘p=’ . $sticky[0] );in the functions.php, it works but then in my backend, i only get in the posts and pages section that post to appear.
can someone please advice? thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Need only one Post on frontpage’ is closed to new replies.