Add posts in the footer of my web the other blog?
-
Good morning;
I would like add my new posts the blog in the footer of my web. The problem is that My web and my blog are domain distinct (bblueberry.com – blog.bblueberry.com) but It is in the same server.
The blog path is \blog
How can I do it?
Thanks
Regards
Hello, I have been this option in php, is it possible works well?
<?php
define(‘WP_USE_THEMES’, false);
require_once($_SERVER[‘DOCUMENT_ROOT’] . ‘/blog/wp-blog-header.php’);
query_posts(‘showposts=7’);
echo ‘
‘;
?>
Excuse me, it isn“t paste well.
NOw is ok:
<?php
define(‘WP_USE_THEMES’, false);
require_once($_SERVER[‘DOCUMENT_ROOT’] . ‘/directorio-blog/wp-blog-header.php’);
query_posts(‘showposts=7’);
echo ‘
‘;
?>
Hello,
Thank you for contacting us.
But unfortunately, we can’t say exactly will it work or not. It needs additional code customization and it is not in our support scope, sorry.
Thank you for understanding.
Ok, thank you very much
Regards
Jav
Feel free to contact us if you have any additional questions.