Wordpress help - fxing truncated posts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DWB
    Registered User
    • Jul 2003
    • 31779

    #1

    Wordpress help - fxing truncated posts

    How do you stop the posts on the main page from truncating and not formatting?

    The front page post is all mushed together and if you click in to read more, THEN it formats correctly.

    Where do I fix this?
  • TheSenator
    Too lazy to set a custom title
    • Feb 2003
    • 13340

    #2
    Post link.
    ISeekGirls.com since 2005

    Comment

    • DWB
      Registered User
      • Jul 2003
      • 31779

      #3
      Originally posted by TheSenator
      Post link.
      Are you asking for me to post a link to my blog or telling me the fix is in the posts.php template (which I don't see a problem with).

      Comment

      • HorseShit
        Too lazy to set a custom title
        • Dec 2004
        • 17513

        #4
        show us what's it doing, much easier to give you advice

        Comment

        • DWB
          Registered User
          • Jul 2003
          • 31779

          #5
          Originally posted by jdavis
          show us what's it doing, much easier to give you advice
          Example:

          If I write text like this and then make a line break in the text, I can.

          It breaks and should look like this. It DOES once you click the perma link and the post opens in it's own page.

          However, on the main page it would look like this:


          If I write text like this and then make a line break in the text, I can.
          It breaks and should look like this. It DOES once you click the perma link and the post opens [+]...

          Comment

          • RTP
            aka Jimmy James
            • Nov 2006
            • 1335

            #6
            Originally posted by DirtyWhiteBoy
            Example:

            If I write text like this and then make a line break in the text, I can.

            It breaks and should look like this. It DOES once you click the perma link and the post opens in it's own page.

            However, on the main page it would look like this:


            If I write text like this and then make a line break in the text, I can.
            It breaks and should look like this. It DOES once you click the perma link and the post opens [+]...
            sounds like template problem, so for the fix and solution won't be universal.

            go to your wp-content/themes/whatveryourthemeis

            then compare code on your single.php to the other files page.php and index.php and match, your main index is bunching everything it sounds like
            Jimmy James ATKingdom/AMK Empire Since 1996 - My Movies
            Home of ATKGirlfriends - Where we take pornstars on trips...and fuck them.
            Connect with me on LinkedIn

            Comment

            • fris
              Too lazy to set a custom title
              • Aug 2002
              • 55679

              #7
              Hit me up DWB i will take a look for you.

              icq: 704-299
              Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

              Comment

              • Fat Panda
                Porn is Dead. Move along.
                • Aug 2006
                • 13296

                #8
                are you using an excerpt call instead of content

                Comment

                • Super Negro
                  So Fucking Banned
                  • Aug 2006
                  • 215

                  #9
                  find the_excerpt();
                  and replace with
                  the_content();

                  Comment

                  • DWB
                    Registered User
                    • Jul 2003
                    • 31779

                    #10
                    Thanks guys, I'm back on this today.

                    Fris, if I fail, and I may... I'll hit you up. Thanks!

                    Comment

                    • DWB
                      Registered User
                      • Jul 2003
                      • 31779

                      #11
                      So here it is... but as I play with it I can't get it to work. I'm messing something up.

                      </p>
                      <?php
                      the_content('...read the rest of this entry&raquo;');
                      ?>

                      <p>

                      </p>
                      <?php
                      }else{
                      ?>
                      <p>
                      <?php the_excerpt_main(140, '<p><img></p>', 'none', true, "[+]", true, 1, false);?>
                      </p>
                      <?php
                      }
                      ?>

                      Comment

                      • Antonio
                        Too lazy to set a custom title
                        • Oct 2001
                        • 14136

                        #12
                        Originally posted by Super Negro
                        find the_excerpt();
                        and replace with
                        the_content();

                        ^^^ this is your solution!

                        what theme are you using? find the index.php file of the THEME and edit it:

                        FTP to your site, navigate to wp-content/themes/THE-NAME-OF-THE_THEME, download the index.php, make a back up copy, find the_excerpt() and replace with the_content()
                        or you can have arguments like the_content(__('(more...)'));

                        Comment

                        • Antonio
                          Too lazy to set a custom title
                          • Oct 2001
                          • 14136

                          #13
                          Originally posted by DirtyWhiteBoy
                          </p>
                          <?php
                          the_content('...read the rest of this entry&raquo;');
                          ?>

                          <p>

                          </p>
                          <?php
                          }else{
                          ?>
                          <p>
                          the_content('...read the rest of this entry&raquo;');
                          </p>
                          <?php
                          }
                          ?>

                          this should work if you haven't messed it up

                          Comment

                          • DWB
                            Registered User
                            • Jul 2003
                            • 31779

                            #14
                            Originally posted by Antonio
                            ^^^ this is your solution!

                            what theme are you using? find the index.php file of the THEME and edit it:

                            FTP to your site, navigate to wp-content/themes/THE-NAME-OF-THE_THEME, download the index.php, make a back up copy, find the_excerpt() and replace with the_content()
                            or you can have arguments like the_content(__('(more...)'));
                            When I do that, it totally removes the post.

                            Hmmmm. This theme has a lot of extra files on it. One of them is theme functions had has a small book written about the excerpt.

                            Comment

                            • fris
                              Too lazy to set a custom title
                              • Aug 2002
                              • 55679

                              #15
                              fixed
                              Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                              Comment

                              • DWB
                                Registered User
                                • Jul 2003
                                • 31779

                                #16
                                Fris took care of it. Thanks for everyones help.

                                Comment

                                • 2012
                                  So Fucking What
                                  • Jul 2006
                                  • 17189

                                  #17
                                  post the index.php from the theme [ oops ] forget itttttttttttttttttt
                                  best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself

                                  Comment

                                  • HorseShit
                                    Too lazy to set a custom title
                                    • Dec 2004
                                    • 17513

                                    #18
                                    wordpress ninjas

                                    Comment

                                    • DWB
                                      Registered User
                                      • Jul 2003
                                      • 31779

                                      #19
                                      Originally posted by jdavis
                                      wordpress ninjas
                                      Yup.

                                      Fris went in there and threw down on them.

                                      Comment

                                      Working...