WordPress as a backend only. How to output database content on public side without WordPress?

You want to include wp-load.php at the beginning of your script/page like this :

require_once("/path/to/wordpress/wp-load.php");

You then have access to any WP functions. To manipulate the DB directly, have a look at wpdb.

Leave a Comment

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