Add extra elements to the_post in a custom post_type

-RESOLVED

I was able to do it by copying the template functions that wordpress gives and modifying them to fetch what I needed to in the DB instead of what they were supposed to get.

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