Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-11-2008, 05:58 AM   #1
DWB
Registered User
 
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
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?
DWB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-11-2008, 06:02 AM   #2
TheSenator
Too lazy to set a custom title
 
TheSenator's Avatar
 
Industry Role:
Join Date: Feb 2003
Location: NJ
Posts: 13,332
Post link.
__________________
ISeekGirls.com since 2005
TheSenator is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-11-2008, 08:46 AM   #3
DWB
Registered User
 
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
Quote:
Originally Posted by TheSenator View Post
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).
DWB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-11-2008, 08:55 AM   #4
HorseShit
Too lazy to set a custom title
 
Join Date: Dec 2004
Posts: 17,513
show us what's it doing, much easier to give you advice
HorseShit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-11-2008, 01:00 PM   #5
DWB
Registered User
 
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
Quote:
Originally Posted by jdavis View Post
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 [+]...
DWB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-11-2008, 01:08 PM   #6
RTP
aka Jimmy James
 
RTP's Avatar
 
Industry Role:
Join Date: Nov 2006
Location: Newport
Posts: 1,335
Quote:
Originally Posted by DirtyWhiteBoy View Post
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
RTP is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-11-2008, 01:50 PM   #7
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
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.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-11-2008, 01:52 PM   #8
Fat Panda
Porn is Dead. Move along.
 
Fat Panda's Avatar
 
Industry Role:
Join Date: Aug 2006
Posts: 13,295
are you using an excerpt call instead of content
Fat Panda is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-11-2008, 01:57 PM   #9
Super Negro
So Fucking Banned
 
Join Date: Aug 2006
Posts: 215
find the_excerpt();
and replace with
the_content();
Super Negro is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2008, 02:17 AM   #10
DWB
Registered User
 
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
Thanks guys, I'm back on this today.

Fris, if I fail, and I may... I'll hit you up. Thanks!
DWB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2008, 03:13 AM   #11
DWB
Registered User
 
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
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
}
?>
DWB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2008, 03:34 AM   #12
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
Quote:
Originally Posted by Super Negro View Post
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...)'));
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2008, 03:37 AM   #13
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
Quote:
Originally Posted by DirtyWhiteBoy View Post
</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
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2008, 04:58 AM   #14
DWB
Registered User
 
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
Quote:
Originally Posted by Antonio View Post
^^^ 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.
DWB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2008, 05:47 AM   #15
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
fixed
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2008, 10:32 AM   #16
DWB
Registered User
 
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
Fris took care of it. Thanks for everyones help.
DWB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2008, 10:38 AM   #17
2012
So Fucking What
 
2012's Avatar
 
Industry Role:
Join Date: Jul 2006
Posts: 17,189
post the index.php from the theme [ oops ] forget itttttttttttttttttt
__________________
best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself
2012 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2008, 11:27 AM   #18
HorseShit
Too lazy to set a custom title
 
Join Date: Dec 2004
Posts: 17,513
wordpress ninjas
HorseShit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2008, 12:07 PM   #19
DWB
Registered User
 
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
Quote:
Originally Posted by jdavis View Post
wordpress ninjas
Yup.

Fris went in there and threw down on them.
DWB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.