• Hey guys,

    I am designing a business directory site like YP and I am trying to display a business’s address on multiple lines within the business’s “listing” page. I am displaying the address using the function
    <?php the_listing_categories(); ?> which works great to display the business address within the post, but it displays the address on 1 line and I need it on multiple lines.

    So I need:
    2555 Grandview Rd., Colorado Springs, CO 80910, USA

    To be displayed as:
    2555 Grandview Rd
    Colorado Springs, CO 80910, USA

    I would also like to be able to add another line if the address have a Suite or Room # such as:
    2555 Grandview Rd.
    Suite #10
    Colorado Springs, CO 80910, USA

    Any ideas?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Split Single Custom Term into Multiple Lines (from single line)’ is closed to new replies.