Thanks Josh I find it inconsistent that 'echo $post->content_out;' is passed through the autop filter whereas 'echo $post->content_excerpt;' doesn't.
Andy On Mar 26, 7:30 pm, Josh Wood <[email protected]> wrote: > Nevermind request for a code sample. I think > thehttp://nbrightside.com/sandpit/ > test area actually *does* display the bug. Posts subsequent to the > first do not have surrounding <p>. So I grabbed the default source > from andyc. > > I think this is due to the design of the theme as explained by this > comment in theme.php: > "// Limit post length to 1 paragraph or 100 characters. As currently > implemented > // in home.php and entry.multiple.php, the first post will be > displayed in full > // and subsequent posts will be excerpts. search.php uses excerpts for > all posts. > // Comment out this line to have full posts." > > Every post but the first post in _out'd with content_excerpt, rather > than content_out. However, the instruction to "comment out this line" > to change the behavior won't work, exactly, because then entry.php > will be making calls to a content_excerpt that does not exist. > > What I did was apply autop to post_content_excerpt in theme.php:28, > like so: > > Format::apply('autop', 'post_content_excerpt'); > > This applies autop to posts after the first one on home.php and > entry.multiple views. > > HTH - > > -Josh > > On Mar 26, 12:04 pm, Josh Wood <[email protected]> wrote: > > > Tatsui: > > > If you'd post your theme.php & home.php files to pastoid.com or a > > similar place, we can probably be of more help. It seems from blackbox > > guess that you have modified your filters or posts loops such that > > autop is only happening for the first post. > > > -Josh > > > On Mar 25, 8:10 pm, Tatsui <[email protected]> wrote: > > > > Hi Dazzlin' D, > > > > I noticed that the succeeding posts were not between <p> tags however > > > do not know where or how to have them tagged automatically. I notice > > > the top posts of each page is formatted when viewing source and are > > > embedded with the <p> tags. I tried looking into each and every php > > > file to see where I can modify this but to no avail. > > > > Additionally as I'm leaving my blog as is right now for reference, I > > > just saw on page two, the bottom 2 posts are definitely formatted out > > > of sync! No other pages are looking like that except for the current > > > issue I have of having them in sync. Why are those 2 the only posts > > > that are not formatted like the top post and is styled entirely > > > different than the others? > > > > I hope I didn't change some CSS settings in my style.css when I was > > > tweaking some things. > > > > Much appreciate the assistance on this forum. > > > > Thanks > > > Jeff > > > > On Mar 25, 9:32 am, DazzlinDonna <[email protected]> wrote: > > > > > I believe it is because the succeeding posts are not wrapped in > > > > paragraph tags <p></p>. Make sure each post is within p tags and it > > > > should fix itself. > > > > > On Mar 25, 8:23 am, Tatsui <[email protected]> wrote: > > > > > > Hi, > > > > > > I've been running habari for a few months already and love the ease of > > > > > it. I have some coding background and can get into the codes to figure > > > > > out what does what, but for whatever reason I can't find a way to > > > > > correct multiple entries on one page. > > > > > > For instance, if I were to select more than 1 entry to be shown per > > > > > page, the first (latest) entry will be shown at top with the correct > > > > > CSS styles (font, paragraph spacing, line height, etc...) but then the > > > > > rest of the entries are not formated in the same way (no CSS style > > > > > applied). > > > > > > Where in the codes can I modify to allow me to show multiple entries > > > > > with CSS styles applied to all? > > > > > > I appreciate any assistance. Thank you. > > > > > > I'll include my link to show what I'm referring to. > > > > > >http://www.tatsuidesign.com/habari > > > > > > Jeff --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/habari-users -~----------~----~----~----~------~----~------~--~---
