Thanks for the info.
I’ve tried that but I’m not getting any comments.
<?php
define(‘WP_USE_THEMES’, false);
require(DOCUMENT_ROOT . ‘/wordpress/wp-blog-header.php’);
$wp_posts = get_posts(‘numberposts=10&order=ASC&orderby=post_title’);
if($wp_posts[0]->post_title == $product[‘name’]) {
foreach ($wp_posts as $wp_post) {
start_wp();
the_date();
echo ‘
‘;
the_title();
the_excerpt();
echo ‘
‘;
wp_list_comments();
echo ‘
‘;
}
}
?>
So what am I doing wrong here?
I got it. Appreciate the help though, sorry for wasting anyone’s time.