I have custom fields to display in a post. But all of the custom fields are displaying in a single continuous line, while i want them in separate lines. I am not a coder. I tried <br>, <li> but still no luck. I also searched in stack exchange and web for similar problem, but could not get answer. Please help.
Below is the Code i have in single.php after - while ( have_posts() ) : the_post(); $key_name = get_post_custom_values ($key = 'country'); echo 'Country : ', $key_name[0]; $key_name = get_post_custom_values ($key = 'status'); echo 'Status : ', $key_name[0];
The result in the post is as below:
Country : Saudi ArabiaStatus : Announced
I want it to appear it like the one below:
Country : Saudi Arabia
Status : Announced