The recursive tag has no wiki summary.
1
vote
1answer
37 views
Pushing stored procedure to a multisite database in WordPress
I am given a WordPress multisite and need to extract information from the site.
I have written a stored procedure that recursively builds a tree relationship for posts of a certain kind.
Now I am ...
0
votes
2answers
1k views
How to show only parents subpages of current page item in vertical menu?
I just can't find a way to make it possible to show only current parent items down to current page item in a vertical menu the "wordpress way".
What I want to achieve is the following dynamic ...
1
vote
3answers
303 views
Why am I getting an infinite loop with have_posts?
I have the following code, which causes an infinite loop for some reason. Can anybody explain what's going on please?
Thanks!
<?php
$flagged_stores = new WP_Query( array ( 'post_type' => ...
1
vote
3answers
177 views
A function like is_page() but returns true if on any sub page of given page
In my header I use this code:
if(is_page("stores")) {
// Do something
}
I run some code if on the page stores but what I want to do is run that code if the page is stores or any page that is a ...