☰
d2jsp
Rules
Help
Forum Gold FAQ
Live Streams
Photo Gallery
Hourly Raffle
Ladder Slasher
Log In
Register
Log In
Register
Account Recovery
Resend Validation Email
d2jsp Forums
>
Off-Topic
>
Computers & IT
>
Programming & Development
> Quick Question Regarding Wordpress Php Query > Permalink Stuff
Prev
1
2
Add Reply
New Topic
New Poll
Views: 833
Replies: 12
Track Topic
BlindzF
Retired Moderator
Posts: 18,570
Joined: Feb 27 2004
Gold
:
11,858.00
Trader:
Trusted
#11
Aug 12 2014 04:10pm
Try the following, notice the underscore instead of the dash:
Code
$args = array(
'posts_per_page' => 6,
'cat' => 2,
'order' => 'DESC'
);
This post was edited by Blind[zF] on Aug 12 2014 04:34pm
smokenugz420
Member
Posts: 9,202
Joined: Sep 22 2009
Gold
:
18,819.66
#12
Aug 13 2014 09:37am
Quote (Blind[zF] @ Aug 12 2014 06:10pm)
Try the following, notice the underscore instead of the dash:
Code
$args = array(
'posts_per_page' => 6,
'cat' => 2,
'order' => 'DESC'
);
Ahhh that's what it was. Thanks for all the help Blind!
SelfTaught
Member
Posts: 1,358
Joined: Dec 30 2012
Gold
:
0.10
#13
Aug 13 2014 11:51am
nvm
This post was edited by SelfTaught on Aug 13 2014 11:52am
Go Back To
Programming & Development
Topic List
Prev
1
2
Add Reply
New Topic
New Poll
© 2003-2026 d2jsp
Contact