Orderby conditional
-
I’m trying to sort a list of Pages by Title in the sidebar and I can’t get it to work.
Where exactly would I enter ‘orderby’ => ‘title’, ‘order’ => ‘DESC’ in the below statement?
global $post; return (is_page(‘speaking-services’) || ($post->post_parent==”34″));
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Orderby conditional’ is closed to new replies.