colonelegz
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Site is not displayed in GoogleYou’re a lifesaver!
Have an awesome day!
Forum: Fixing WordPress
In reply to: How to get the simplified title from the permalink of a postYou’re a life saver keesiemeijer!
All the best!
Forum: Fixing WordPress
In reply to: Get get_posts to deliver… a very complex list, please help?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.Forum: Fixing WordPress
In reply to: Get get_posts to deliver… a very complex list, please help?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 PreviewYes, I found it 😉 Thanks.
Forum: Plugins
In reply to: Post PreviewI 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