Welcome to Micek Design, the personal portfolio and blog of Chris Micek. I am young freelance web and graphic designer based in Chicago, but working worldwide.

I like manhattans (the drink), star wars (the movie) and Apple (the company).

You can contact me at cmicek@gmail.com

What is RSS?

Colophon

Micek Design runs using the Wordpress Content Mangement System.

Logo and supporting elements are set using Aller. All other type is set in Georgia, with the body text using Verdana.

This site is compatible with all modern browsers. Note the use of 'modern.' Internet Explorer 6 is no longer a modern web browser, and is not being supported by my website design.

This site was designed and coded in November of 2008 using all Adobe Products. HTML/CSS and PHP were created using Dreamweaver 8.

Wordpress: Get the the page ID of the Posts Page

08/09/09 Blog

This took me over an hour of searching. I specified a static front page and then needed to write some custom functions to specifically target the separate post page; however it seemed almost impossible to get that page id, in or out of the loop.

Additionally, this was for a custom theme so I couldn’t use get_page_by_title() because I wouldn’t know what the title of the page was going to be.

Instead I dug around and found this Wordpress option that isn’t even documented in the Option Reference Table.

get_option(‘page_for_posts’)



posts-page-id

Comments & Discussion

Merlin41 said:   10/10/09   6:16pm

Any other advices, are welcome. ,

Eric said:   11/19/09   9:38pm

I really needed that, thanks!

Brian Richrds said:   12/09/09   3:18pm

Thanks so much for digging this out!

Add a Comment

National people search blog . Hotmail people search information . Excellent SEO firm . Nice free chess directory selected by chess masters . Check up advertising templates pictures . Click classified ads board