Title: Menu and query problems&#8230;
Last modified: August 19, 2016

---

# Menu and query problems…

 *  Resolved [Flayks](https://wordpress.org/support/users/flayks/)
 * (@flayks)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/menu-and-query-problems/)
 * Hi,
 * I have conceived a menu which list all posts from each categories in a submenu.
   
   The categories and in them her posts are displayed but the rest of the theme 
   is broken… I can’t read the content of a category, a post or a page (a loop in
   fact).
 * Here is my code [http://pastie.textmate.org/private/e4mt1l29l9at1mcmxd3g](http://pastie.textmate.org/private/e4mt1l29l9at1mcmxd3g)
   and look the screenshot for the visual touch [http://snapplr.com/fdfn](http://snapplr.com/fdfn)(
   the submenu appear on rollover).
 * I think it’s the $posts = query_posts(‘cat=’.$cat->term_id.”); which pose the
   problem… But I’m don’t sure.
 * If you have an idea,
    Thanks in advance.

The topic ‘Menu and query problems…’ is closed to new replies.

## Tags

 * [all posts](https://wordpress.org/support/topic-tag/all-posts/)
 * [categories](https://wordpress.org/support/topic-tag/categories/)
 * [menu](https://wordpress.org/support/topic-tag/menu/)
 * [submenu](https://wordpress.org/support/topic-tag/submenu/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Flayks](https://wordpress.org/support/users/flayks/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/menu-and-query-problems/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
