Home Forums Basel support forum Add posts in the footer of my web the other blog?

Add posts in the footer of my web the other blog?

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

    webberry
    Participant

    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
    Participant

    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
    Participant

    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

    Artem Temos
    Keymaster

    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
    Participant

    Ok, thank you very much

    Regards
    Jav

    #3660

    Artem Temos
    Keymaster

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

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