This is what I'm looking for:
Website Setup
- Index Page
- Blog Page
- Portfolio Page
The Portfolio Page needs custom fields Title (text)/Description (textarea)/Image (image) for each item/post. Again, seems doable.
The Index Page needs to take pieces from the blog/portfolio pages and display them in this kind of way:
<h1>Index Page</h1> <div> <h2>Recent blog posts (TITLE FIELD ONLY)</h2> <ul> <PW:ShowStuffFromThisPage page="blog" limit="10" sort="descending"> <li><PW:title/></li> </PW> </ul> </div> <div> <h2>Recent portfolio items (TITLE AND IMAGE ONLY)</h2> <PW:ShowStuffFromThisPage page="portfolio" limit="4" sort="descending"> <PW:title/> <PW:image/> </PW> </div>
And the Blog Page would have something like this:
<h1>Blog Page</h1> <PW:ShowStuffFromThisPage page="blog" limit="10" sort="descending"> <div class="blog-post"> <h2><PW:title/></h2> <PW:body/> </div> </PW>
Also, can I do a conditional to make the most recent blog post look different? Like:
<if blogpostindex > 1>
Use different template code
</if>













