User WordPress menu in custom page

You’ll need to load in the external wordpress library first, and then you can call the admin bar.

// Load the external WordPress files
define( 'WP_USE_THEMES', false );
require( './wp-load.php' );

and then call wp_head() and wp_footer() accordingly to load the relevant display code.

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