Tagged Questions
0
votes
2answers
133 views
How to query for a page, get data, then query for child pages of that page
Basically, I want to query PARENT for a bunch of custom field data and echo it out. Then, I want to query all of the CHILD pages of that parent and echo out more data.
What's the best way to do it?
...
0
votes
1answer
121 views
not empty categories don't show in menu [closed]
I'm trying to resolve a problem i have showing category posts.
I have added a category to my main menu, eventhough it has posts - in the basic theme it doesn't show, in my theme - it shows as a link ...
0
votes
1answer
56 views
Use get_posts() with 'post' and 'page' queries at the same time?
I'm trying to grab all posts which are 'posts' and not in category '3' and '5' and which aren't 'pages'. Is this possible to do using one single get_posts()? Because I'm querying both actual posts and ...
1
vote
1answer
157 views
Location-Based Pages displaying results near customer
I'm creating a website where the customer will enter their postal code and the pages (with a distance selected of 5, 10, 20 miles) will display on either a Google map or Bing map. The page results ...
0
votes
1answer
1k views
Newbie Question: How to create a “latest news” page showing a list of posts from blog category
I am using the Modest theme from elegant themes at http://lilsaintz.co.nz
Under the slider on the homepage, there are three content areas that are generated from pages.
I would like to make one of ...
0
votes
1answer
135 views
Page displays content from different query?
How can I reset all variables in order to get the actual page content?
I keep getting the last post's content I've called from a news-box I've implemented - but need the actual page's content ..
...
0
votes
2answers
664 views
Conflict between wp_list_pages and get_posts - list pages not displaying
This has only been a problem since I updated to Wordpress 3.1
I have a page that displays a list of custom post types. The page is the child of a parent page. There is a sidebar that lists sibling ...
3
votes
3answers
2k views
get_children() Not Working with orderby Parameter
I am trying to use the orderby parameter in the get_children function as below:
$navigation = get_children(array(
'post_parent' => $parent->ID,
'orderby' => 'menu_order'
));
But it is ...