Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter colonelegz

    (@colonelegz)

    You’re a lifesaver!

    Have an awesome day!

    Thread Starter colonelegz

    (@colonelegz)

    You’re a life saver keesiemeijer!

    All the best!

    Thread Starter colonelegz

    (@colonelegz)

    Hey, that actually makes sense C:

    But it doesn’t work as expected. The first query only retrieves the first post of cat 6… I figure there may be something wrong with the #myids replication, there should be commas between them and I don’t see any in the code…

    :EDIT:
    I’ve been tinkering with the code and I located the problem, though I don’t know how to fix it. It’s the ‘showposts’ => 5 part, it’s searching the first posts of ALL categories for cat 6 posts instead of searching the first five posts of cat 6. Sounds complicated…

    :EDIT:
    Indeed, I’m certain of it. The showposts argument is relating to all posts instead of just cat 6 posts. It seems to me a viable fix would be to first make a query for all at 6 posts and then make a query for the first 5 posts of the first query… Sounds complicated to me, but I know next to nothing about php…

    :EDIT:
    No, I am an idiot. It works perfectly, I was just all messed up by the multiple categories and not knowing what posts were actually supposed to show up and all that. Thanks a lot for the help Otto42, thanks a lot.

    Thread Starter colonelegz

    (@colonelegz)

    The closest I think I got (and sorry for the double post, why can’t we edit?) was this, but it delivers a T_DOUBLE_ARROW error…

    php query_posts(‘showposts=3&cat=7&post__not_in’ => array(‘cat=6&showposts=5’));

    and then the whiles and the endwhiles and whatnot.

    :EDIT:
    Oup, there it is, the edit button, why can’t we delete? 😛

    Forum: Plugins
    In reply to: Post Preview
    Thread Starter colonelegz

    (@colonelegz)

    Yes, I found it 😉 Thanks.

    Forum: Plugins
    In reply to: Post Preview
    Thread Starter colonelegz

    (@colonelegz)

    I don’t see that button… :S Where is it? Can you please post some screenshot or something?

    Oh! And thanks for the help! ^^

    :EDIT:
    Oh! I found it! Thanks! =D

Viewing 6 replies - 1 through 6 (of 6 total)