FORUMS: list search recent posts

Creating/Finding "Hooks" - Wordpress as CMS

COW Forums : Web Design

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Andrew Saliga
Creating/Finding "Hooks" - Wordpress as CMS
on Apr 13, 2010 at 2:25:18 pm

I'm working on redesigning our company site and am using WP as a CMS since it'll be much easier than updating our existing Flash page.

I'm not an expert in HTML/CSS, but would consider myself knowledgeable. There is one thing I can't figure out though, even after Googling around.

I understand the difference between pages and posts, but how do I call that info in the PHP document? For example, a few of the primary pages on our site will be Home, Motion Design, and Animation. How do I make the link buttons I've created direct the user to this page? If anyone has a link to a tutorial that would be sufficient.

Thanks.

-Andrew Saliga

Steelehouse Productions
http://www.steelehouse.com (undergoing a much-needed redesign)
http://www.vimeo.com/steelehouse


Return to posts index

Fernando Mol
Re: Creating/Finding "Hooks" - Wordpress as CMS
on Apr 18, 2010 at 2:35:33 am

Let me see if I understood: you have a wordpress blog and you want to maintain the navigation for your full site?

*Always share a link to your site and rate the posts. This is a free service for you and for us.


Return to posts index

Andrew Saliga
Re: Creating/Finding "Hooks" - Wordpress as CMS
on May 5, 2010 at 4:32:49 pm

Sorry, it took me awhile to respond. I found the solution I needed and was engulfed in making it happen.

Basically I created a custom page template for each category on the portfolio site. I also created corresponding category tags for the posts. When a post is made it is assigned a category. Then there is some PHP code I found that queries all posts (in my scenario posts with a custom field of "thumbnail") an displays only the ones with the requested category ID#. This bit of PHP is unique to each page template. So the Motion Design page has a string of code that calls up all posts tagged in the motion design category and displays the thumbnails from those posts found in the custom field.



-Andrew Saliga

Steelehouse Productions
http://www.steelehouse.com (undergoing a much-needed redesign)
http://www.vimeo.com/steelehouse


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]