Home Forums Basel – Premium Template Add posts in the footer of my web the other blog?

This topic contains 5 replies, has 2 voices, and was last updated by Artem Temos Artem Temos 3 years, 11 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #3613

    webberry
    Customer

    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

    #3619

    webberry
    Customer

    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 ‘

    ‘;
    ?>

    #3620

    webberry
    Customer

    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 ‘

    ‘;
    ?>

    #3628

    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.

    #3651

    webberry
    Customer

    Ok, thank you very much

    Regards
    Jav

    #3660

    Feel free to contact us if you have any additional questions.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.