StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-10-2010, 10:31 PM
mamabzz mamabzz is offline
Registered User
Genesis Member
 
Join Date: Dec 2009
Posts: 18
Default Problems with formatting front page?

Hello, we removed the read-more from the front page, but we have to add lots of code to make the post format correctly, only on front page. My wife makes a post previews it and it looks perfect, but when she publishes and looks at front page it has lost all formatting, if we click on title and go to single page the formatting is still there. I believe it has to do with the removing read more function, but cannot figure it out. I guess you would say my featured posts are having the formatting removed.
Thanks
Dan

Here is home.php info.

PHP Code:
<?php get_header(); ?>

<div id="content">

    <div id="homepage">
    
        
        
        <div id="homepagebottom">
        
            <div class="hpbottom">
            
                
                <?php $recent = new WP_Query("cat=".get_theme_mod('featured_bottom')."&showposts=".get_theme_mod('featured_bottom_num')); while($recent->have_posts()) : $recent->the_post();?>
                <?php if( get_post_meta($post->ID"thumb"true) ): ?>
                <a href="<?php the_permalink() ?>" rel="bookmark"><img class="thumb" src="<?php bloginfo('template_directory'); ?>/tools/timthumb.php?src=<?php echo get_post_meta($post->ID"thumb"$single true); ?>&amp;h=<?php echo get_theme_mod('featured_bottom_thumb_height'); ?>&amp;w=<?php echo get_theme_mod('featured_bottom_thumb_width'); ?>&amp;zc=1" alt="<?php the_title(); ?>" /></a>     
                <?php else: ?>
                <?php endif; ?>                
                
                <h7><strong><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></strong></h7>
                <span class="time"><?php the_time('F j, Y'); ?></span><br /><p>
                

                  <h8><?php the_content(); ?></h8>      
                               <span class="icomment"><a href="<?php the_permalink(); ?>#respond"><?php comments_number(__('Leave a Comment''studiopress'), __('1 Comment''studiopress'), __('% Comments'
'studiopress')); ?></a></span></p>
                    
                <hr/>
                    
                <?php endwhile; ?>
                        
                <?php if(get_theme_mod('featured_bottom')) : ?>
                <strong><a href="<?php echo get_category_link(get_theme_mod('featured_bottom')); ?>" rel="bookmark"><?php _e("Read more posts from "'studiopress'); echo get_cat_name(get_theme_mod('featured_bottom')); ?></a></strong>
                <?php endif; ?>
            
            </div>
        
        </div>
        
    </div>
    
<?php get_sidebar(); ?>
        
</div>

<?php get_footer(); ?>

Last edited by SoZo; 03-10-2010 at 10:50 PM.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Front Page preview formatting. Brian Wawryshyn General Discussion 4 09-08-2009 10:33 PM
Front page formatting subheads candrews9 General Discussion 1 12-27-2008 02:43 AM
New User Problems: Image Display & Front Page Issue maison2 General Discussion 1 12-07-2008 10:34 AM
IE Problems with front page columns Jason Sandquist General Discussion 7 11-12-2008 10:02 PM


All times are GMT -5. The time now is 12:10 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.