• Hi

    I’ve been banging my head against a wall trying to acheive this

    CAT TEST1 CAT TEST2 CAT TEST3

    POST TEST1 POST TEST2 POST TEST3

    Instead I get

    CAT TEST1 CAT TEST2 CAT TEST3

    POST TEST1 POST TEST1 POST TEST1
    POST TEST2 POST TEST2 POST TEST2
    POST TEST3 POST TEST3 POST TEST3

    Can anyone help its driving me mad!
    Pastebin

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    I have to ask the question of what the classes are for all of the output posts? Is it all three classes for each class. ie: post1.video, post1.image post1.file ?? If that is the case the foreach loop is the issue.

    Thread Starter broadleon

    (@broadleon)

    sorry don’t understand

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    In your posts are they:

    POST1 <class=”icon-film”>
    POST1 <class=”icon-picture”>
    POST1 <class=”icon-file”>

    POST2 <class=”icon-film”>
    POST2 <class=”icon-picture”>
    POST2 <class=”icon-file”>

    POST3 <class=”icon-film”>
    POST3 <class=”icon-picture”>
    POST3 <class=”icon-file”>

    If so then the loop you are creating with the foreach loop is where your issue lies.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘categories wont show there posts in template.’ is closed to new replies.