Create widget that filters posts on current page based on entered value

To search through the category, I think you would want to use get_posts to fetch all the posts in the particular category and then go through them with a for loop and check the custom value in each one and then echo the appropriate items to a results page.

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