• Resolved lvorwald

    (@lvorwald)


    We want the option to display items side by side when using a posts feed static list instead of stacked.

    So the terms tag would be beside the title tag in this example on the home page:
    {terms taxonomy=”post_tag” includes=”service-update” class=”post-tag”}
    Service Update:
    {/terms}
    {terms taxonomy=”post_tag” includes=”update” class=”post-tag”}
    Update:
    {/terms}
    {terms taxonomy=”post_tag” includes=”service_change” class=”post-tag”}
    Service Change:
    {/terms}
    {title link=”post”}

    Another example with the title and the time on the news page:
    {title link=”post”}
    {time class=”post-time” before=”— posted “}

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author metaphorcreations

    (@metaphorcreations)

    You can change the html wrapper of the terms and title (see the new attribute added to each dynamic tag) to be span tags and wrap it all in a heading tag:

    <h3>
      {terms wrapper="span" taxonomy="post_tag" includes="service-update" class="post-tag"}
        Service Update:
      {/terms}
      {terms wrapper="span" taxonomy="post_tag" includes="update" class="post-tag"}
        Update:
      {/terms}
      {terms wrapper="span" taxonomy="post_tag" includes="service_change" class="post-tag"}
        Service Change:
      {/terms}
      {title wrapper="span" link="post"}
    </h3>

    This is probably the easiest way. There are other methods tha could be used but it would involve adding custom css as well.

    Thread Starter lvorwald

    (@lvorwald)

    Great, thank you for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display items side by side on posts feed static list’ is closed to new replies.