Skip to content

Single Page Portfolios With WordPress

I recently needed to make an easily editable single page portfolio (this kind of thing) for a friend. As the budget was essentially nil, I headed over to ThemeForest and chose one of the awesomely designed HTML templates there, only spending about $10 and saving a ton of time in the process.

I then went about the usual porting HTML to WordPress, but I need some way of splitting up the various portfolio sections — about, “what I do” etc — into a separate page for each one so my friend could edit the About page and the about section would change, edit the “What I do” page and the what I do section would change and so on.

I had thought this would be a pain to do, but happily, I was wrong.

Using WP_Query (and not query_posts)I was able to output the contents of one page straight after the other. The code looked something like this:

Yay! 🎉 You made it to the end of the article!
Alex Denning
Share:

2 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Beau Bridges
January 30, 2012 8:25 pm

Thanks for the helpful tip Alex!

komiska
November 15, 2011 8:22 pm

AWESOME! thanks for this! i was alsoe sweating it, but now i can follow to use it for my own portfolio
THANK YOU!

Or start the conversation in our Facebook group for WordPress professionals. Find answers, share tips, and get help from other WordPress experts. Join now (it’s free)!