Forums

Include blog on a random page (2 posts)

  1. theodore
    Member
    Posted 1 week ago #

    Hey everybody !

    I've been banging my head on walls with this...I don't seem to manage to include my wordpress blog on a website i am currently making.

    Basically i want all the articles i have written to be shown on my page, so i tried to include the file 'wordpress/index.php' on it but it didnt work!
    i tried loads of ways, none of them work!! I'd love some help :)

    here is how my ftp looks:

    ROOT
    - my website
    - the page i want to include the blog in. (http://kallily.net/theodore/beta/portfolio_photo.php)
    - wordpress
    (http://kallily.net/theodore/tfolio)

    i hope i was clear enough !!

    thank you for your help !! :)

  2. t3ch33
    Member
    Posted 1 week ago #

    It's a matter of figuring out the path to the WP blog. I'm clueless when it comes to that, but you can try something like include '../tfolio/index.php';

    And, why did you call wordpress/index.php? Am I missing something or did you really mean tfolio/index.php?

Reply

You must log in to post.

About this Topic