Get current taxonomy and display query accordingly

I think you’re on the right path with splitting some of your categories out to separate taxonomies. Have a look at the Query Multiple Taxonomies plugin that will give visitors a widget interface for filtering posts: Query Multiple Taxonomies Widget http://s.wordpress.org/extend/plugins/query-multiple-taxonomies/screenshot-1.png

Auto post Spams on my wordpress blog?

You have malware, either by downloading a free theme with malware in it or someone exploited your site. Verifying that I have fully removed a WordPress hack? http://codex.wordpress.org/FAQ_My_site_was_hacked

How to assign a post to a post parrent?

Posts & Pages are “built in” Custom Post Types. So something that was delivered as a pre-configuration when WP was installed. There’s also other built in stuff like Tags & Categories which are basically nothing other than custom taxonomies. And you’re lucky: You can simply use the API and add your own, hierarchical custom “post” … Read more

Order posts by years

i found this code snippet a couple of days ago. can´t remember where… copy this snippet in your archive template <?php $year_prev = null; $months = $wpdb->get_results( “SELECT DISTINCT MONTH( post_date ) AS month , YEAR( post_date ) AS year, COUNT( id ) as post_count FROM $wpdb->posts WHERE post_status=”publish” and post_date <= now( ) and … Read more