Restrict Custom Post Type to One Item

Thanks to @WebElaine — I’m converting my custom post type into a Settings page. Can you tell I’m new to this? =)

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