![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Jan 2001
Location: Oakland, CA
Posts: 8,067
|
![]() Posts on Engadget's main page will sometimes be a summary of the main article, maybe 150 words or so. Clicking Read More or the post's title will open the page that has the 1200+ word full article.
How do I that in Wordpress? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
|
<!--more-->
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
So Fucking Lame
Industry Role:
Join Date: Jun 2009
Location: St. Petersburg, FL
Posts: 12,156
|
If the theme allows excerpts you use that field.
Otherwise, there is a button that lets you insert a read more line. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Apr 2009
Location: Alberta
Posts: 874
|
Code:
<?php the_excerpt(); ?> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Jan 2001
Location: Oakland, CA
Posts: 8,067
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Too lazy to set a custom title
Industry Role:
Join Date: May 2003
Location: icq: 71462500 Skype: Jupzchris
Posts: 27,880
|
you should just have a button that will break your post for you...
__________________
[email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Apr 2009
Location: Alberta
Posts: 874
|
Do you want excerpts on your index page? You may need to modify one (or more) files of your theme if you're currently not getting that. It's very easy, though.
I'm gonna assume you want it on your index page and that at present time your index page displays full length posts. You will need to open your theme's Main Index Template file (index.php), search for the_content() and change it to the_excerpt. Voila... instead of having full posts on your front page, you will have excerpts. Of course, if you are using a caching plugin (such as WP Super Cache), you may need to dump the cache in order to see the changes. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Jan 2001
Location: Oakland, CA
Posts: 8,067
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Datetronix.com
Industry Role:
Join Date: Jan 2001
Location: Chill-A-Wack BC
Posts: 6,524
|
![]() ![]() more - <!--more--> WordPress tag that breaks a post into "teaser" and content sections. Type a few paragraphs, insert this tag, then compose the rest of your post. On your blog's home page you'll see only those first paragraphs with a hyperlink ((more...)), which when followed displays the rest of the post's content. ![]()
__________________
ICQ: 2588560 Skype: Pornocop |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
|
If you want it to work like the first article on http://www.gotbuddy.com/ use the code I pasted where you want the break.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Confirmed User
Industry Role:
Join Date: Jan 2001
Location: Oakland, CA
Posts: 8,067
|
Quote:
PHP Code:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Industry Role:
Join Date: Oct 2001
Location: Toronto
Posts: 7,103
|
Quote:
Open loop.php and find this: <?php the_content(); ?> Replace it with this: <?php the_excerpt(); ?> When you make a post, the index page will show an abbreviated version of the post text. For a better result: When you finish your main post (in the WP editor), scroll down and enter an abbreviated version into the "Excerpt" field. Your front page will have a brief description, your main post will have the full text and content. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Confirmed User
Industry Role:
Join Date: Jan 2001
Location: Oakland, CA
Posts: 8,067
|
Quote:
Thanks. I tried pasting <!--more--> into the post and that didn't do anything except for make that tag appear in the post itself. When I hit the "More" button on WP, that did the trick. Sweet. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
|
Sorry . . . I figured you could not see it or something.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Join Date: Apr 2009
Location: Alberta
Posts: 874
|
Yeah, manual except is probably your best bet (see garce's post), even though it requires an extra step you will need to take each time you are making a new post. However you can manually create your excerpt (and you can add formatting to it), whereas the automatic one truncates the text (sometimes cutting off the sentence at a wrong spot) and strips all formatting.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Confirmed User
Industry Role:
Join Date: Jan 2001
Location: Oakland, CA
Posts: 8,067
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
She is ugly, bad luck.
Industry Role:
Join Date: Jan 2010
Posts: 13,177
|
Needs to be on html view to paste in <!--more-->
__________________
↑ see post ↑ 13101 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
Registered User
Industry Role:
Join Date: Jul 2009
Location: Orlando
Posts: 88
|
A big
![]() looking today on how to do this on my own blog, and you guys hooked me up already, awesome. Seems easier than I would of thought, thanks again.
__________________
Contact Info: ICQ: 561317340 Email: gfy (at) thebedshark.com - More Trades At TheBedShark babesbycity.com - bigtittedgirls.com - explicitamateur.com - freehustlersex.com - hustlersexvideo.com - amateurteenphotos.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
So Fucking Banned
Industry Role:
Join Date: Jul 2010
Posts: 2,578
|
<!--
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |