cahgend where clause of home posts