Notice: Undefined index: suppress_filters

If $query->query_vars[‘suppress_filters’] is not set you will get that message. Use empty($query->query_vars[‘suppress_filters’]) instead of false == $query->query_vars[‘suppress_filters’] ) or use $query->get(‘suppress_filters’) like this false == $query->get(‘suppress_filters’). Untested (minimally tested) but I believe either of those should give you the same results minus the notice.

Better way to display posts from specific categories, in a grid layout

I think the general suggestion is to use WP_Query instead of query_posts partly because query_posts used WP_query in a simplified way and can cause problems down the road. So for sure check out the WP_Query page, specifically the Multiple Loops example: http://codex.wordpress.org/Class_Reference/WP_Query#Multiple_Loops So the code using WP_Query would look something like this: <?php $counter = … Read more

Overwrite style.css styles from index.php style

Add this code in your theme’s functions.php add_action(‘wp_footer’, ‘my_home_page_styles’, PHP_INT_MAX); function my_home_page_styles() { if(is_front_page()) { ?> <style> #main { margin-left: 0 !important; } .container { width: 95% !important; } </style> <?php } } Don’t forget to clearing your cache before refreshing. Use Ctrl + F5 to refresh in Google Chrome.

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