Show just one sticky post on a page
-
I’ve looked all over but I can’t seem to find the info I was looking for. My goal is to have a page be the index. On that I want static text(not a problem), custom sidebar(also not a problem) and then below the static text, I want to show the most current sticky post. I’m somewhat confused as to how to accomplish this. I think I would have to create a page template, add the loop, then tell the loop to only return sticky posts and limit it to one.
Only problem is, I have no idea how to actually add the loop and tell it to return only sticky posts. I looked through the Codex, but I couldn’t really find it. Am I on the right track? Is there are better/easier way to do what I want to do?
Thanks, I greatly appreciate your help.
- The topic ‘Show just one sticky post on a page’ is closed to new replies.