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 11-06-2008, 11:13 AM
absolute absolute is offline
Registered User
 
Join Date: Nov 2008
Posts: 11
Default Using tabber.jpg images

How do I control the tabber.jpg images in the featured posts?

Do they have to have a specific size, if so what is the size?

I suppose the image has to be called from a custom theme if I remember correctly... but I couldn't find the exact instructions anywhere...
__________________
Revolution are the best themes out there! By faaaar :)
  #2  
Old 11-06-2008, 11:54 AM
John Flynn's Avatar
John Flynn John Flynn is offline
Registered User
Pro Plus Member
 
Join Date: Oct 2008
Location: Sherman, TX
Posts: 2,021
Default Re: Using tabber.jpg images

"homepage" is the word you use in custom fields to call the image and the size is 600px × 200px
  #3  
Old 11-06-2008, 12:47 PM
absolute absolute is offline
Registered User
 
Join Date: Nov 2008
Posts: 11
Default Re: Using tabber.jpg images

Thanks John will give that a try!

Can you give me an example of the exact code to put into custom field?
__________________
Revolution are the best themes out there! By faaaar :)
  #4  
Old 11-06-2008, 02:05 PM
John Flynn's Avatar
John Flynn John Flynn is offline
Registered User
Pro Plus Member
 
Join Date: Oct 2008
Location: Sherman, TX
Posts: 2,021
Default Re: Using tabber.jpg images

sure. Under "key" in the custom fields section write "homepage" and under "value" paste the url to your image. You get the url of your image by uploading it (look to the right of your post title and you'll see "add an image" and then copying the url that it assigns to your uploaded image.)
  #5  
Old 11-07-2008, 06:02 AM
absolute absolute is offline
Registered User
 
Join Date: Nov 2008
Posts: 11
Default Re: Using tabber.jpg images

Ok perfect thanks a lot that has worked.

Now I realised I needed to edit tabber.php file to call the categories.

I did that but only the first one shows, the other ones don't pull any categories for some strange reason.

Any ideas about what I am doing wrong?
__________________
Revolution are the best themes out there! By faaaar :)
  #6  
Old 11-07-2008, 06:27 AM
Rebecca Diamond's Avatar
Rebecca Diamond Rebecca Diamond is offline
Administrator
 
Join Date: Oct 2008
Location: somewhere in the wilds of Canada
Posts: 11,498
Default Re: Using tabber.jpg images

url please?
__________________
Rebecca, Copyblogger Community Manager & Admin
StudioPress on Facebook!
  #7  
Old 11-07-2008, 07:14 AM
John Flynn's Avatar
John Flynn John Flynn is offline
Registered User
Pro Plus Member
 
Join Date: Oct 2008
Location: Sherman, TX
Posts: 2,021
Default Re: Using tabber.jpg images

Did you change the cat=1 to the category ID you want to pull?
  #8  
Old 11-07-2008, 08:14 AM
absolute absolute is offline
Registered User
 
Join Date: Nov 2008
Posts: 11
Default Re: Using tabber.jpg images

Yes I did...

Here is the first two:

Code:
<div class="tabber">

	<div class="tabbertab">
	
		

		<h2>Headlines</h2>
		<?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
		<?php if( get_post_meta($post->ID, "homepage", true) ): ?>
			[img]<?php echo get_post_meta($post->ID, [/img]" alt="<?php the_title(); ?>" />
		<?php else: ?>
			[img]<?php bloginfo('template_url'); ?>/images/tabber.jpg[/img]" />
		<?php endif; ?>				
		<h1><?php the_title(); ?></h1>
		<?php the_content_limit(275, "[Read more...]"); ?>
		<?php endwhile; ?>
		
	</div>

	<div class="tabbertab">
	
		

		<h2>Markets</h2>
		<?php $recent = new WP_Query("cat=4&showposts=1&offset=1"); while($recent->have_posts()) : $recent->the_post();?>
		<?php if( get_post_meta($post->ID, "homepage", true) ): ?>
			[img]<?php echo get_post_meta($post->ID, [/img]" alt="<?php the_title(); ?>" />
		<?php else: ?>
			[img]<?php bloginfo('template_url'); ?>/images/tabber.jpg[/img]" />
		<?php endif; ?>				
		<h1><?php the_title(); ?></h1>
		<?php the_content_limit(275, "[Read more...]"); ?>
		<?php endwhile; ?>
		
	</div>
The first one (with the default post) shows, but when I select the tabs for other categories they don't show...
__________________
Revolution are the best themes out there! By faaaar :)
  #9  
Old 11-07-2008, 08:31 AM
Rebecca Diamond's Avatar
Rebecca Diamond Rebecca Diamond is offline
Administrator
 
Join Date: Oct 2008
Location: somewhere in the wilds of Canada
Posts: 11,498
Default Re: Using tabber.jpg images

I pm'ed you with this, but for anyone else reading - it's the &offset=1 that's causing the problem - it needs to be removed. That offset tells it to pull the second post from the category.
__________________
Rebecca, Copyblogger Community Manager & Admin
StudioPress on Facebook!
  #10  
Old 11-07-2008, 08:50 AM
absolute absolute is offline
Registered User
 
Join Date: Nov 2008
Posts: 11
Default Re: Using tabber.jpg images

Just to confirm. That solved the problem!

Thanks reb :D
__________________
Revolution are the best themes out there! By faaaar :)
  #11  
Old 11-07-2008, 08:56 AM
Rebecca Diamond's Avatar
Rebecca Diamond Rebecca Diamond is offline
Administrator
 
Join Date: Oct 2008
Location: somewhere in the wilds of Canada
Posts: 11,498
Default Re: Using tabber.jpg images

you're welcome :) best of luck to you!
__________________
Rebecca, Copyblogger Community Manager & Admin
StudioPress on Facebook!
  #12  
Old 11-07-2008, 06:14 PM
FireFleitz FireFleitz is offline
Registered User
Pro Plus Member
 
Join Date: Nov 2008
Posts: 16
Default Re: Using tabber.jpg images

Ok, there has to be a shortcut for resizing images to 600x200.

What is the secret shortcut over resizing and cropping an image?

Thanks in advance!!
  #13  
Old 11-08-2008, 04:14 AM
absolute absolute is offline
Registered User
 
Join Date: Nov 2008
Posts: 11
Default Re: Using tabber.jpg images

I create my images in photoshop so not much of a secret shortcut
__________________
Revolution are the best themes out there! By faaaar :)
  #14  
Old 11-08-2008, 08:43 AM
Rebecca Diamond's Avatar
Rebecca Diamond Rebecca Diamond is offline
Administrator
 
Join Date: Oct 2008
Location: somewhere in the wilds of Canada
Posts: 11,498
Default Re: Using tabber.jpg images

if you don't have time for photoshop (or are posting mobile) this is a great and free resource: http://www.flipmyphotos.com/
__________________
Rebecca, Copyblogger Community Manager & Admin
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
FCG gets stuck on the tabber if > 5 images Sandal Woods General Discussion 7 02-21-2010 01:52 PM
Tabber images and category order darius.moeini General Discussion 3 12-10-2009 06:00 PM
Home page tabber and images candyellie General Discussion 3 11-14-2009 03:23 AM
How to make images in tabber much bigger? speedmouse General Discussion 17 10-07-2009 05:47 AM
Tabber Images Help Needed eastgirl General Discussion 4 03-17-2009 01:17 PM


All times are GMT -5. The time now is 02:50 AM.

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