Hey everybody,
I’ve setup a custom post type called “features” that will be queried on a page in the interior of my site via WP_Query(). It’s a couple levels down in the site map and elsewhere in the site, I am using YT Tree Menu. Everything is working fine with the query and I’ve even got pagination working correctly. But, somehow, my tree menu disappears on these blog-level pages. Any idea why? Any help someone could provide would be most appreciated. Unfortunately, I don’t have a test site up yet, so I can’t really point anyone to an example, but here is the code I’m using to query the custom posts. I’m hoping that might provide some clues as to what’s going on?
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$loop = array(
'post_type' => 'feature',
'posts_per_page' => 3,
'caller_get_posts' => 1,
'orderby'=> 'date',
'paged'=>$paged,
'tax_query' => array(
array(
'taxonomy' => 'feature-type',
'terms' => $featuretype,
'field' => 'slug',
'operator' => 'IN',
)
)
);
$temp = $wp_query; // assign orginal query to temp variable for later use
$wp_query = null;
$wp_query = new WP_Query($loop);
if (have_posts() ) {
etc, etc…
]]>Excellent plugin! Thanks.
I wonder if it is possible to have it so that the name of the page you are on is highlighted in a different colour. This would then effectively work like a breadcrumb.
best wishes
Heimir
]]>Setting “Show Levels” to “All” does not work…
My 3rd level pages do not show up below the 2nd level (when I’m on the 1st level parent page).
]]>Hi…
I have installed yt-tree-menu plugin in my non blog website.
But i am not getting the tree menu as i exactly want.
I want all level pages when clicking on parent.
Can you please anyone guide me in this ?
Thanks….
]]>Hi,
I recently incorporated YT-TREE-MENU into a clients site. The client was looking for a split menu where the Main top level menu was horizontally up top AND the sub menu Items were in a vertical menu down the left sidebar.
They also needed where one clicks the top level menu item and only the subs for that menu item appeared left. I emailed Chris teh developer about this, he added this feature over night and worked a charm.
Thanks Chris,
Aidan O Driscoll, Netactive Solutions, Cork, Ireland