Forums
Forums / Fixing WordPress / Menu and query problems…
(@flayks)
15 years, 11 months ago
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 and look the screenshot for the visual touch 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.