Live search by custom tag

'post_type' => 'custom_type' is a reference to your post type.

You need to change custom_type to the actual post type that you created / registered.

So, if your post type was my_cool_dregs then the line would be:

'post_type' => 'my_cool_dregs'

The same holds true with 'taxonomy'=>'custom_tags'

You need use the actual taxonomy name that you registered. If your taxonomy was my_dreg_types then that line would be:

'taxonomy'=>'my_dreg_types' 

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