Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Restrict front page to showing sticky posts only

Old Aug 26, 2009, 06:30 AM
3 posts · Aug 2009
Restrict front page to showing sticky posts only

Hi all

I've been having fun fiddling around with the theme (great work developers - really appreciated!) but would like to be able to make it so that only sticky posts show on the front page. Can anyone help with this? I can't seem to find out how.

Thanks very much.

Old Aug 26, 2009, 11:56 AM
40 posts · Jan 2009
I should probably do that with a silly work-around ('cause I'm not good at coding):
Since the sticky posts are the first posts to appear, and you know how much sticky posts you have, you could configure WordPress (not Atahualpa) to show no more than the number of sticky posts on one page.

So, when you have 5 sticky posts, on the dash-board you should go to Settings -> Reading, and set 'Blog pages show at most 5 posts'.
Old Aug 26, 2009, 02:19 PM
3 posts · Aug 2009
Thanks Anne

However, I've tried this and setting it to show 1 post shows 1 post and my sticky post. It also restricts every category page and the search results to showing just 1 post.

I was hoping for a solution which works along the lines of "if front page, show 1 post" or "show only sticky post".

So I've got
<?php if ( is_front_page() ) { ?>
<?php } ?>
but am at a loss as to what to put in to get my desired effect.

I appreciate any help anyone could offer

In the meantime, I'll see what I can figure out

Old Nov 13, 2009, 11:12 AM
1 posts · Nov 2009
Pacfic Northwest
Doug (et al)

Did you ever get this figured out?

I want to do the same thing for a site that needs to keep it's "hot news" and "next meeting" announcements on the front page. The rest of the day-to-day "follow the legislation" posts can go on another page.


Old Nov 13, 2009, 01:28 PM
juggledad's Avatar
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
shiny, there is a post 'How to: Create a announcement box at the top of the center column of the landing page' but it is in the gold forum.

What s allows you to do is set a post to the category of ANNOUNCEMENT and it will display it in a box on the front page (blog page or static) in what ever color you pick
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show sticky posts in category pages c32v Atahualpa 3 Wordpress theme 3 Dec 12, 2010 08:37 AM
[SOLVED] Posts marked sticky don't show up with sticky formatting genevieve Atahualpa 3 Wordpress theme 12 Jun 30, 2009 08:06 AM
Private posts not showing up on category bar wing23 Atahualpa 3 Wordpress theme 0 Mar 27, 2009 07:57 PM
Posts showing up twice on category pages? michiganbasketball Atahualpa 3 Wordpress theme 1 Mar 12, 2009 04:56 PM
Categories not showing any posts paulae Atahualpa 3 Wordpress theme 2 Mar 10, 2009 06:35 AM

All times are GMT -6. The time now is 02:22 PM.

Powered by vBulletin® Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.