WordPress.org

Ready to get started?Download WordPress

Forums

Cool drill-down directory with WordPress (5 posts)

  1. umdenken
    Member
    Posted 8 years ago #

    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:

    http://greenfabric.com/alberta-street-guide/

  2. btipling
    Member
    Posted 8 years ago #

    That's pretty cool, nice looking blog.

  3. slakethirst
    Member
    Posted 8 years ago #

    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.

  4. umdenken
    Member
    Posted 8 years ago #

    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.

  5. nzvcreview
    Member
    Posted 7 years ago #

    Hi,

    What you have done is awesome, I want to do something similar for my website... can you put your steps/code in a way that a WordPress newbie can copy what you've done?

    Thanks,

    Isaac

Topic Closed

This topic has been closed to new replies.

About this Topic