Archived

This topic is now archived and is closed to further replies.

Station Pro: Add blog

10 posts in this topic

Posted · Report post

i want to add a blog to show post below the large rotating feature. of my station pro website. I currently have the homepage set to the Feature - Page Content

Share this post


Link to post
Share on other sites

Posted · Report post

i still want the sidebar widgets to the right

Share this post


Link to post
Share on other sites

Posted · Report post

You're looking to basically just add blog posts and a sidebar beneath the featured content on your home page?

Share this post


Link to post
Share on other sites

Posted · Report post

Correct! Here is what it looks like now after finagling some code www.mambosauceband.com/wordpress

Share this post


Link to post
Share on other sites

Posted · Report post

So did you get it the way you want it? Or are you still having sidebar problems?

Share this post


Link to post
Share on other sites

Posted · Report post

no i posted the site to show you that it does NOT display how i want it. So Yes, I need the code so that the blog will display under the feature (big) rotator with the sidebars to the right. I really need help :)

Share this post


Link to post
Share on other sites

Posted · Report post

Can you copy and paste the code that you have for the home page, I think all you need to do is include the sidebar.php, but I don't know what code you added or didn't add

Share this post


Link to post
Share on other sites

Posted · Report post

<?php if(VPRO) { /* Template Name: Feature Page - Default */ get_header(); require(PRO.'/template_feature.php'); query_posts('showposts=1'); ?> <div id="content"> <?php require(LIB.'/_posts.php');?> </div> <!-- end content --> <div class="clear"></div> <?php get_footer(); } ?>

Share this post


Link to post
Share on other sites

Posted · Report post

Try replacing this code with everything after `require(PRO...php');` ` query_posts('showposts=1'); ?>

<?php include (LIB . '/_posts.php'); ?>
<?php get_sidebar();?>
<?php get_footer();}?> `

Share this post


Link to post
Share on other sites

Posted · Report post

It worked Perfectly. Thank you so much

Share this post


Link to post
Share on other sites