DivaVocals, I've been following your advice for the past day or two (searching the forums), after experiencing the hardship that is WOZ... taring that off, and then going to the numinix solution. Afterwords, I developed a side box that is compatible with it. Now you can have your cake, and eat it too... this method uses the wordpress API, so you can change the format of how everything is displayed if you so wish, or even use other functions.. Haven't tried it, but you could also display the archives and last several posts no problemo with this route and some knowledge.
AFTER you have successfully integrated numinix’s solution for wordpress blog, paste this code into a brand new file, save it as: wordpress_posts.php and save it at: includes/modules/sideboxes/YOUR_TEMPLATE/wordpress_posts.php
Then, enable the box from your layout boxes controller… style the box appropriately, notice the width is coded into the style. Change that to match your page. Also change the link to match your blog’s URI. It may not be the best solution, but it works great.
PHP Code:
<?php
//Wordpress SideBox
// Display sidebox if TRUE
$show_wordpress_posts = true;
if ($show_wordpress_posts == true) {
?>
<div class=”leftBoxContainer” id=”wordpress-blog” style=”width: 195px;”>
<h3 class=”leftBoxHeading” id=”blog-heading”><a href=”http://litebrightraves.com/raveblog” title=”Blog”>Blog [more]</a></h3>
<div class=”categoriesContent centeredContent”>
<?php
if ($_GET['main_page'] != ‘blog’) {
// Include WordPress
define(‘WP_USE_THEMES’, false);
require(‘./wordpress/wp-load.php’);
query_posts(‘showposts=5′);}
while (have_posts()): the_post(); ?>
<h2><a href=”<?php the_permalink(); ?>”><?php the_title(); ?></a></h2>
<?php the_excerpt(); ?>
<?php endwhile;
?>
</div>
</div>
<?php }
?>
From the helpful folks at
New Corporate Image
Bookmarks