I am new to wordpress and I apologize ahead of time if this topic has been addressed before. I am trying to embed recent posts and its plugin for the given post into my website. I am doing this:
require('../wordpress/wp-blog-header.php');
$posts = get_posts('numberposts=10&order=DESC&orderby=post_date');
foreach ($posts as $post) : start_wp();
$title = get_the_title();
$date = the_date('l, F j, Y','','',FALSE);
$content = get_the_content();
$sociable = '';
echo "<div id='post_container'>
<h2>{$title}</h2>
<p>{$date}</p>
<div class='content'>{$content}</div>
<div class='social'>{$sociable}</div>
<div style='clear:both;'></div>
</div>";
endforeach;
I am able to get the content no problems. Now my question is this:
Is there a way to embed the plugin for the given post?
Thank you!