Trying to integrate wordpress query on other website – getting redirection to wp-install
Providing this will work if it’s all on the same server. This is the PHP I use at the top of non-wordpress site. define(‘WP_USE_THEMES’, false); require(‘/home/sites/example.co.uk/www/wp/wp-load.php’); Obviously you just need to put your server path to the wp-load.php file. Just write your news query and loop it should feed in the content to your non-wordpress … Read more