Cool drill-down directory with WordPress
I’d love to see if anybody else has used WordPress in this way:
I’m building a neighborhood directory. I’m making good use of advanced WordPress features such as subpages, metadata, custom templates, and strange php calls to template functions. See what you think, and please post anything similar you’ve done, for comparison:
nice. and particularly handy for me, since I am an Alberta Streetian. i look forward to it fleshing out. are you not listing hours because you don’t want to keep up with seasonal changes etc? ‘cos I think it’d be useful to provide a general sense of “closed around 6” or “open lateish.” A man needs to know that La Bonita is closed on Mondays, and that Sirenita is generally open an hour later, for stragglers.
Thanks for the kudos – and yep, I totally intend to put hours on there, too. I just started adding hours to the first store. Here’s how I’m doing it:
Each place is a page with a category-page as a parent.
Each category (coffee shop, grocery…) is a page with subpages for the actual places.
Each attribute (address, citysearch url, phone #, hours, wifi…) is a custom tag.
In the page templates, I test for the existence of each tag one by one. If found, it’s displayed appropriately.
I have two custom page templates – one for the place, and one for the place category.
So far, this is scaling well and is easy to manage. To add a new place, I just create a new page with the appropriate template and assign it to the appropriate parent. It’ll then automatically appear where it should.
This is really so far just a fun but useful project because I haven’t found anything like it for my neighborhood so far.
I also have Yahoo maps nearly integrated.
- The topic ‘Cool drill-down directory with WordPress’ is closed to new replies.