Sidebar loop – Thematic Framework

I think the problem is that you’re calling get_post() (note: singular) instead of get_posts() (note: plural).

EDIT

Other problems:

  • The get_posts() function uses the category array key, rather than category_name. The category array key expects category ID, rather than category slug.
  • You’re not wrapping your looped list items (<li>...</li>) properly (i.e. within <ul></ul> tags)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)