Custom Post Type Root Template

There are a couple of solutions:

  1. Create archive-vendors.php, that displays whatever output you want (including static content or a secondary query, for example), and omitting the default loop (CPT archive index query).
  2. Set has_archive to false in your register_post_type() call, then create a static page named Vendors, that you can use to display whatever content you want (including via a custom page template).

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