Home › Forums › Back End › [Solved] 2 loops, 2 categories – can I do this? › Re: [Solved] 2 loops, 2 categories – can I do this?
October 1, 2009 at 12:07 pm
#64939
Member
That is the proper way to do it, unless you are going to reuse that template page though, I’d suggest naming it something like portfolio.php to better keep track of things as you go. Index2.php is not very descriptive. Also, when you declare the template name, you should name it something cohesive live "Portfolio" or "portfolio-template"
As far as the query_posts code though, I ran in to a situation where when the Page was not the index page, it would not respect the read more links, but just show the entire post. (You may experience this) I never bothered to fix it… Just a heads up as far as that goes.