Forums

convert a static contact page (definition list) (2 posts)

  1. zyrq
    Member
    Posted 3 years ago #

    I'm trying to convert a static "contact" page to a WP page.
    Right now the contact info is coded as a definition list, example:

    <dl>
    <dt>Address</dt>
    <dd>MyStreet</dd>
    <dd>Anytown, USA</dd>
    <dt>Phone</dt>
    <dd>12345678</dd>
    <dt>Fax</dt>
    <dd>23456781</dd>
    <dt>Email</dt>
    <dd>zyrq@anywhere.com</dd>
    </dl>ยด

    Does anybody have a clue where I could let the user input this data?

    I thought about using a (sub)Page for every <dt> with Title= the <dt> and the Content = the <dd>, and return the data in a custom template. Are there any examples how to do this?
    Extra problem: there can be more than one <dd>, so I would have to split the Content on a <p> tag or even a <break>tag.

  2. zyrq
    Member
    Posted 3 years ago #

    pf

Topic Closed

This topic has been closed to new replies.

About this Topic