![]() |
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! |
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 ... http://img46.imageshack.us/img46/660...exampleis0.gif 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. |
Re: Pages displaying Featured Content posts and Featured posts
Edit "category.php" and find:
Code:
<?php the_excerpt(); ?>Code:
<?php the_content_rss('', TRUE, '', 25); ?> |
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. |
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.
|
Re: Pages displaying Featured Content posts and Featured posts
Ahh, true RSS feed, and display the number of lines... you rock!
|
Re: Pages displaying Featured Content posts and Featured posts
WordPress rocks... ;)
|
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. |
| All times are GMT -5. The time now is 12:08 PM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.