I'm doing a static site, where all the files are in PHP, however this site has a blog that must be managed by Wordpress, there you ask me and why not do everything by Wordpress? because it is rsrsr order are orders né.
Then I had the idea of creating a folder called "noticias" where I will install Wordpress, then it will be domain / news.
Only I need to display the last two news on the home page, ie outside of Wordpress, I know I'll have to create a file to connect to the database and do the include in index.php and write a sentence in SQL, but I'm very lazy about it, could you give me a light?