WordPress.org

Support

Support » Themes and Templates » Yahoo Styled Directory – using category templates

Yahoo Styled Directory – using category templates

  • Hi Guys

    I am trying to build a Yahoo Styled directory at this site:
    <http://www.lostwithiel.org.uk/directory/&gt;

    I am struggling to get this right!

    I have built the index.php file as standard. I have then built a number of category-21.php type files to reflect the categories.

    The idea is that we have a parent called Businesses. This then breaks down into three children – Accommodation, Eating Out and Shops. Each of these then breaks down into further categories. Accommodation is Apartments, B & B, Cottages, etc…

    So I have created a number of templates for each category. For businesses I have asked it to exclude the uncategorised and Community categories. For each of the next I have asked it to list the ‘child-of’ and the same for the next. Finally I have asked the last category to list the posts by their title tag.

    Apart from needing to create a ton of templates(!) there are some problems with what I have created.

    Each of the templates is repeating itself. The bottom of this complex layer is fine! The rest are repeating themselves. Any ideas please?

    Even better – any other suggestions how I might go about this please?

    Thanks.

    Rich

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Yahoo Styled Directory – using category templates’ is closed to new replies.
Skip to toolbar