Interested in using WP as a CMS
I have a website that has been completely coded and designed using xhtml 1.0 strict and css. It’s got around 60 different pages, a global css file and about 8 or so local css files for the different sections (too keep bloat down on the global file). I would like to use WP to handle a few of the sections on the site as well as content on the main page. The program looks ideal — I can use it to manage articles and lists and can even create custom fields for non-article content. And it allows me to handle all of the mark-up — it just feeds me the content. (Having looked at TextPattern, Mambo, and others, I can’t believe how many programs interweave content management with the html.)
So I spent all day reading documentation and set-up WP on my Mac so I could fool around with it. No problem. Piece of cake. I read everything I could find about creating a theme, both here and through Google. I put together a basic theme, using my home page as the index.php file and breaking sections of it off into the header.php & footer.php and trying to figure out how to insert content dynamically into the layout.
This is where I started getting stuck. I started by trying to figure out how to make links work — for instance, I have a Support page that is styled differently from the index page that I wanted to try linking to the index page. As I understand it, there are two ways I can do this:
1. I can create Support as a Page in the admin;
2. I can create Support as a category and then have category.php hand off to my Support page using a query.
Okay, I get that. What I don’t get: How do I write the link to either one of these? Say I have this on my page:
What tag do I put into the link? I can’t find any tag on the WP tag page nor instruction in the template creation tutorials (or Page tutorial) that explains how to do this. I keep thinking I’m missing something — where can I find this info?
I also would like to know the best practice of how to link a stylesheet to one of my Page templates through the CMS (if I don’t want it to be style.css). Should I just explicitly declare it?
- The topic ‘Interested in using WP as a CMS’ is closed to new replies.