Weighted Word Plugin - View outside of blog directory? (2 posts)

  1. jtwright
    Posted 10 years ago #

    The Weighted Words Plugin is fantastic and I recently installed it on my blog. However, my blog is not the homepage of my web site and I would like to have the Weighted Words list displayed on my home page. I tried the sama php call on my home page as in the blog directory but, as I expected, it returned an error.

    I'm not sure hot to call the function from outside of the directory. Any help would be much appreciated. Thanks!

  2. davidhosier
    Posted 10 years ago #

    These posts asked/answered the same question: 1, 2, 3

    <?php require($_SERVER['DOCUMENT_ROOT'].'/your-wordpress-directory/wp-blog-header.php'); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic