I’m going crazy because I can’t get any fields to display next to each other, for example, an employee name and their position. What on earth am I missing?! I’ve tried just using the field tags and wrapping them in p, div and h2 tags, but they always output on separate lines. Here’s the basic code:
{exp:weblog:entries weblog="team" limit="1" disable="comments|trackbacks"}
<h2>{name} | {position}</h2>
<p>{/exp:weblog:entries}It always comes out:
Name
|
Position
when I want:
Name | Position
This is my first EE site and this is driving me crazy; I feel like a complete idiot not being able to figure this out.
Thanks!