• I am trying to embed blog posts onto a website that does not use ww.wp.xz.cn.

    <?php // Include WordPress define(‘WP_USE_THEMES’, false); require(‘/http://theplayfullife.polarnopyretusa.com/var/www/html/wordpress/site/htdocs/blog/wp-blog-header.php’); query_posts(‘showposts=3’); ?>

    I have added this code to my index.php file on the non-wordpress site to run the blogposts.

    My path I think is the area that is not connecting.

    The blog that is wordpress is http://www.theplayfulllife.polarnopyretusa.com it is using the grisaille theme.

    Any help much appreciated!

Viewing 1 replies (of 1 total)
  • '/http://theplayfullife.polarnopyretusa.com/var/www/html/wordpress/site/htdocs/blog/wp-blog-header.php is not a path. It’s part url and part path.

    Assuming both sites are on the same server, try something like ../wordpress/site/htdocs/blog/wp-blog-header.php

Viewing 1 replies (of 1 total)

The topic ‘Loop Path incorrect?’ is closed to new replies.