Jump to content
Sign in to follow this  
divineright00

Station Pro: Add blog

Recommended Posts

divineright00    0
divineright00

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
divineright00    0
divineright00

i still want the sidebar widgets to the right

Share this post


Link to post
Share on other sites
cmunns    16
cmunns

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
divineright00    0
divineright00

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
cmunns    16
cmunns

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
divineright00    0
divineright00

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
cmunns    16
cmunns

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
divineright00    0
divineright00

<?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
cmunns    16
cmunns

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
divineright00    0
divineright00

It worked Perfectly. Thank you so much

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×