Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Web Design (WordPress, Joomla, etc.) Creating/Finding “Hooks” – WordPress as CMS

  • Creating/Finding “Hooks” – WordPress as CMS

    Posted by Andrew Saliga on April 13, 2010 at 2:25 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

    Andrew Saliga replied 16 years ago 2 Members · 2 Replies
  • 2 Replies
  • Fernando Mol

    April 18, 2010 at 2:35 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.

  • Andrew Saliga

    May 5, 2010 at 4:32 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

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy