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
  #2  
Old 01-25-2010, 12:37 PM
Kris Themstrup Kris Themstrup is offline
Registered User
 
Join Date: Oct 2009
Location: Seattle, WA
Posts: 3,627
Default

Open up enhanced.php and remove this code:
Code:
<h3><?php echo cat_id_to_name(get_theme_mod('featured_posts')); ?></h3>
                   
        <div class="homeblock-bottom">
                            
			<?php $recent = new WP_Query("cat=".get_theme_mod('featured_posts')."&showposts=".get_theme_mod('featured_posts_num')); while($recent->have_posts()) : $recent->the_post();?>
			<?php if(sp_get_image()) : ?>
			<a href="<?php the_permalink() ?>" rel="bookmark"><img class="thumb-posts" src="<?php bloginfo('template_directory'); ?>/tools/timthumb.php?src=<?php echo sp_get_image(); ?>&amp;h=<?php echo get_theme_mod('featured_posts_thumb_height'); ?>&amp;w=<?php echo get_theme_mod('featured_posts_thumb_width'); ?>&amp;zc=1" alt="<?php the_title(); ?>" /></a>	
			<?php else: ?>
			<?php endif; ?>					
                
			<h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
			<?php the_content_limit(400, "[Read more...]", 'agentpress'); ?>
            
			<hr/>
				
			<?php endwhile; ?>
                
			<?php // begin code that shows the link to the category archive - if all categories are selected, nothing is shown ?>
				<?php if(get_theme_mod('featured_posts')) : ?>
                <div class="featured-posts">
                    <strong><a href="<?php echo get_category_link(get_theme_mod('featured_posts')); ?>" rel="bookmark"><?php _e("More Posts From ", 'agentpress'); echo get_cat_name(get_theme_mod('featured_posts')); ?></a></strong>
                </div>
                <?php endif; ?>
            <?php // end code ?>     
                                				
        </div>
__________________
Recommended StudioPress Designer

KristianThemstrup.com
WordPress Web Design | Real Estate & IDX | Identity & Branding | SEO & Marketing
Follow me on Twitter | StudioPress on Facebook
 

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
Remove Sidebar for Blog Post dailyrunner General Discussion 1 03-03-2010 06:38 PM
remove date, 'by' and leave a comment from blog post patiprana General Discussion 1 04-12-2009 10:33 AM
Home Page Showing Blog Post Not Featured Property Post brentbrodie General Discussion 1 03-01-2009 04:24 PM


All times are GMT -5. The time now is 01:18 AM.

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