How to Display Listing Address on Multiple Lines (the_listing_address)?
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
<h3 class="address" itemprop="address"><?php the_listing_address(); ?></h3> which works great to display the business address, but it displays the address on 1 line and I need it on multiple lines.
Currently Displayed as:
2555 Grandview Rd., Colorado Springs, CO 80910, USA
Needs 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 has a Suite or Room # such as:
2555 Grandview Rd.
Suite #10
Colorado Springs, CO 80910, USA
Any ideas?