How to show custom posts

In the template for your recordings page you’ll want to specify a custom query for the post type in question.

$rec_query = new WP_Query('post_type=recording');

And then later in your template, you will refer to the query object you created directly instead of relying on the default. For example:

while ($rec_query->have_posts()) : $rec_query->the_post();

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