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
  #1  
Old 06-20-2009, 07:55 PM
NateP NateP is offline
Registered User
Genesis Member
 
Join Date: May 2009
Posts: 13
Default Thumbnails Won't Show

Hello,

I know this topic has been discussed numerous times, but mine don't work for some reason. I've searched the threads, but most of topics were about making sure the custom field and path were correct. I've done that.

I'm trying to add a thumbnail image in the top right section of my hompage. I'm using thumbnail for the custom field. My articleimg works and I have my thumbnail image in the same directory. The path is correct - I've checked it numerous times. My image is 70 x 70.

I have no clue what is wrong. Is there another setting that I need to change?

I've double checked things like the path and custom field name.

My url is http://natesonfire.com/. I'm trying to add an image for the I-News category at the top right.

Any ideas?

Thanks,
Nate
  #2  
Old 06-20-2009, 08:50 PM
CharlesClarkson's Avatar
CharlesClarkson CharlesClarkson is offline
Community Moderator
 
Join Date: Feb 2009
Location: Stephenville, TX, USA
Posts: 11,356
Default Re: Thumbnails Won't Show

Can you paste the contents of home.php here?
__________________
Charles "Rubeus Hagrid" Clarkson
StudioPress on Facebook

I'm not really a smart person. I just play one on the Internet.

Please use the HTML or PHP tags for pasting code.
Please make your links click-able: this_is_annoying.com
http://this_is_not_annoying.com.
  #3  
Old 06-20-2009, 08:58 PM
NateP NateP is offline
Registered User
Genesis Member
 
Join Date: May 2009
Posts: 13
Default Re: Thumbnails Won't Show

Hi Charles,

Thanks for the help. Here is the code:

Code:
<?php get_header(); ?>

<div id="content">

	<div id="homepage">
    
    	<?php /*Check for the 'gallery_styles' function. if it's there, then include it. If not, do nothing*/ ?>
		<?php if (function_exists('gallery_styles')) : ?>
		
        <div id="homepagetop">
			
            <div class="featuredtop">
            
				<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
                
			</div>
            
		</div>
        
		<?php endif; ?>
					
		<div id="homepageleft">
				
			<div class="hpfeatured">
			<?php $feature_cat_1 = get_option('church_feature_cat_1'); $feature_cat_1_num = get_option('church_feature_cat_1_num'); if(!$feature_cat_1) $feature_cat_1 = 1; //setting a default ?>
			<h3><?php echo cat_id_to_name($feature_cat_1); ?></h3>
			
				
                
				<?php $recent = new WP_Query("cat=".$feature_cat_1."&showposts=".$feature_cat_1_num); while($recent->have_posts()) : $recent->the_post();?>
				<?php if( get_post_meta($post->ID, "thumbnail", true) ): ?>
				    [img]<?php echo get_post_meta($post->ID, [/img]" alt="<?php the_title(); ?>" />
				<?php else: ?>
				<?php endif; ?>				
				<?php the_title(); ?>
				<?php the_content_limit(80, ""); ?>
				
				<div style="border-bottom:1px dotted #94B1DF; margin-bottom:10px; padding:0px 0px 10px 0px; clear:both;"></div>
				
				<?php endwhile; ?>
				
				Read More Posts From This Category
				
			</div>			
				
		</div>
		
		<div id="homepageright">
		
			<div class="hpfeatured">
			<?php $feature_cat_2 = get_option('church_feature_cat_2'); $feature_cat_2_num = get_option('church_feature_cat_2_num'); if(!$feature_cat_2) $feature_cat_2 = 1; //setting a default ?>
			<h3><?php echo cat_id_to_name($feature_cat_2); ?></h3>
			
				
			
				<?php $recent = new WP_Query("cat=".$feature_cat_2."&showposts=".$feature_cat_2_num); while($recent->have_posts()) : $recent->the_post();?>
				<?php if( get_post_meta($post->ID, "thumbnail", true) ): ?>
				    [img]<?php echo get_post_meta($post->ID, [/img]" alt="<?php the_title(); ?>" />
				<?php else: ?>
				<?php endif; ?>				
				<?php the_title(); ?>				
				<?php the_content_limit(80, ""); ?>
								
				<div style="border-bottom:1px dotted #94B1DF; margin-bottom:10px; padding:0px 0px 10px 0px; clear:both;"></div>
				
				<?php endwhile; ?>
								
				Read More Posts From This Category
				
			</div>		
			
		</div>
		
		<div id="homepagebottom">
		
			<div class="hpbottom">
			<?php $feature_cat_3 = get_option('church_feature_cat_3'); $feature_cat_3_num = get_option('church_feature_cat_3_num'); if(!$feature_cat_3) $feature_cat_3 = 1; //setting a default ?>
			<h3><?php echo cat_id_to_name($feature_cat_3); ?></h3>
	
				
				
				<?php $recent = new WP_Query("cat=".$feature_cat_3."&showposts=".$feature_cat_3_num); while($recent->have_posts()) : $recent->the_post();?>
				<?php if( get_post_meta($post->ID, "hpbottom", true) ): ?>
				    [img]<?php echo get_post_meta($post->ID, [/img]" alt="<?php the_title(); ?>" />
				<?php else: ?>
				<?php endif; ?>				
				<?php the_title(); ?>
				<?php the_content_limit(350, "[Read more of this review]"); ?>
					
				<div style="border-bottom:1px dotted #94B1DF; margin-bottom:10px; padding:0px 0px 10px 0px; clear:both;"></div>
					
				<?php endwhile; ?>
						
				Read More Posts From This Category
			
			</div>
		
		</div>
		
	</div>
	
<?php include(TEMPLATEPATH."/sidebar.php");?>
		
</div>



<?php get_footer(); ?>
  #4  
Old 06-21-2009, 03:02 AM
CharlesClarkson's Avatar
CharlesClarkson CharlesClarkson is offline
Community Moderator
 
Join Date: Feb 2009
Location: Stephenville, TX, USA
Posts: 11,356
Default Re: Thumbnails Won't Show

Quote:
Originally Posted by NateP
I'm trying to add a thumbnail image in the top right section of my hompage.
Are you referring to the I-News section?


Quote:
Originally Posted by NateP
I'm using thumbnail for the custom field. My articleimg works and I have my thumbnail image in the same directory. The path is correct - I've checked it numerous times. My image is 70 x 70.
What is the url (http://) of the thumbnail image?

Are you referring to the Next Gen Online Communication With Google Wave article.

If so:
What is the value in the "thumbnail" custom field for that article?
__________________
Charles "Rubeus Hagrid" Clarkson
StudioPress on Facebook

I'm not really a smart person. I just play one on the Internet.

Please use the HTML or PHP tags for pasting code.
Please make your links click-able: this_is_annoying.com
http://this_is_not_annoying.com.
  #5  
Old 06-21-2009, 11:04 AM
NateP NateP is offline
Registered User
Genesis Member
 
Join Date: May 2009
Posts: 13
Default Re: Thumbnails Won't Show

Hi Charles,

I did have the wrong path. I included the public_html directory in my url. It shows that it's part of the path, but I guess it doesn't need to be included.

Thanks,
Nate
 

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
Thumbnails do now show up sotto General Discussion 4 03-07-2010 08:47 AM
Thumbnails won't show? BP123 General Discussion 7 01-13-2010 12:33 PM
How to get thumbnails to show? jessiegoh General Discussion 2 10-06-2009 10:21 PM
How do I get the thumbnails to only show when there is one? KyleA General Discussion 2 02-09-2009 08:34 PM


All times are GMT -5. The time now is 03:40 AM.

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