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 12-02-2008, 11:34 AM
charliemike charliemike is offline
Registered User
Pro Plus Member
 
Join Date: Oct 2008
Posts: 39
Default Pages displaying Featured Content posts and Featured posts

So if I go to http://208.109.120.151/wordpress/?cat=3 to show all the posts that are tagged as Headlines using the category ID that the FCC uses on the front page, I get bad formatting. If I go here, http://208.109.120.151/wordpress/?cat=4 it get proper formatting.

It seems to me that adding photo titles to images in the body of the post for Headlines (cat 3) is screwing up formatting and showing the actual text of the photo alt rather than excluding it. Plus it seems like I'll need to add a "read more" to the category page template to keep one post from running over the other.

Does anyone know how to fix the photo title issue I'm running into? I need to have it to caption photo credits for photos that are not taken by me.

Thanks for everyone's awesome help!
__________________
http://www.themidmajors.com ... Home to The Mid-Majors, a college basketball site
  #2  
Old 12-02-2008, 01:04 PM
charliemike charliemike is offline
Registered User
Pro Plus Member
 
Join Date: Oct 2008
Posts: 39
Default Re: Pages displaying Featured Content posts and Featured posts

Image captioning was redundant plugin activation. *sigh*

Still working on the text wrapping and formatting of the category page ...



I looked at .galleryitem in styles.css and #whitewrap but I think I'm missing something somewhere. I know the area the posts are shown in are a fixed height (125px) but moving to auto blows up the page formatting so that won't work. It's weird that the text on the page is formatted differently ... Each post is exactly the same. 310x240 image, a caption, and then the body text yet some show up differently than others.

Totally baffled.
__________________
http://www.themidmajors.com ... Home to The Mid-Majors, a college basketball site
  #3  
Old 12-02-2008, 05:18 PM
Jason Schuller Jason Schuller is offline
Registered User
Pro Plus Member
 
Join Date: Sep 2008
Posts: 1,367
Default Re: Pages displaying Featured Content posts and Featured posts

Edit "category.php" and find:

Code:
<?php the_excerpt(); ?>
Replace that with:

Code:
<?php the_content_rss('', TRUE, '', 25); ?>
That should fix you text overflow problem.
  #4  
Old 12-02-2008, 08:05 PM
Digital Pure
Guest
 
Posts: n/a
Default Re: Pages displaying Featured Content posts and Featured posts

Jason,

Is this not actually the gallery that causing the display of the category page, with the details from the post. So, changing it from excerpt to rss will only cause more data to be displayed not less right.

I put excerpts in my posts, and they format wonderfully on the category display pages. As for the flow of the text, the gallery p call in the css is set to 73px for a height, and that causes the item to disappear behind the box since overflow is turned off. I noticed that a list, or anything outside of a photo, or text nested in the paragraph causes a break in the flow, and also forces the text to continue to flow behind the other items as though it was trying to display a full post.

Would it be possible to use the post limiter plugin, and then trick the gallery into displaying only the first say 125 words, with a read more... to keep the flow. This would be similar to the fix on the home.php with the three box setup.

If I am way off base let me know.
  #5  
Old 12-02-2008, 10:28 PM
Jason Schuller Jason Schuller is offline
Registered User
Pro Plus Member
 
Join Date: Sep 2008
Posts: 1,367
Default Re: Pages displaying Featured Content posts and Featured posts

You can limit how much of the post is show by "<?php the_content_rss('', TRUE, '', 25); ?>". Edit "25" until the perfect amount is shown.
  #6  
Old 12-02-2008, 10:45 PM
Digital Pure
Guest
 
Posts: n/a
Default Re: Pages displaying Featured Content posts and Featured posts

Ahh, true RSS feed, and display the number of lines... you rock!
  #7  
Old 12-02-2008, 10:46 PM
Jason Schuller Jason Schuller is offline
Registered User
Pro Plus Member
 
Join Date: Sep 2008
Posts: 1,367
Default Re: Pages displaying Featured Content posts and Featured posts

WordPress rocks... ;)
  #8  
Old 12-02-2008, 11:38 PM
charliemike charliemike is offline
Registered User
Pro Plus Member
 
Join Date: Oct 2008
Posts: 39
Default Re: Pages displaying Featured Content posts and Featured posts

Well, this certainly isn't your fault Jason. I think it's WP.

If I use photo titles, it screws the formatting up. If I use captions, it's fine.

I need to adjust the heights a bit to consistently get the [...] but other than that it all looks okay now.

Really weird but if anyone else has this issue, that's something to consider.
__________________
http://www.themidmajors.com ... Home to The Mid-Majors, a college basketball site
 

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
Can I use the Featured Content Gallery not relating it to posts or pages? Nancy Strong General Discussion 5 02-18-2010 02:18 PM
Using Featured Content from Pages as opposed to Posts ranmano General Discussion 1 07-19-2009 03:16 PM
3 text blocks for Featured posts not displaying below FCG cq1 General Discussion 4 01-30-2009 01:59 AM


All times are GMT -5. The time now is 11:27 PM.

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