GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Wordpress question: Code or plugin to summarize post on blog. (https://gfy.com/showthread.php?t=845326)

Cory W 08-02-2008 11:08 AM

Wordpress question: Code or plugin to summarize post on blog.
 
Basically, I want to see about summarizing blog post, causing the user to only view the title, a paragraph of the text, and have to click through for the rest.

I seem to recall someone posting code that did that, but I can't find it.

Any help appreciated.

Thanks,

munki 08-02-2008 11:20 AM

Fired...

fris 08-02-2008 11:23 AM

its built into wordpress to do this

Cory W 08-02-2008 11:31 AM

Quote:

Originally Posted by fris (Post 14550898)
its built into wordpress to do this

That's what I thought. I am sure I am missing it. I found the RSS Summary.

Cory W 08-02-2008 11:32 AM

Nevermind. Munki showed me.

I am stupid. I just write.

stickyfingerz 08-02-2008 11:36 AM

To make this thread useful to those who don't know how to do this. To the right of the add image icon there is a little piece of paper that looks like its been split horizontally. You can either click that icon at the spot you want in your post, or under code you can add <!--more--> where you want the post to split. :winkwink:

Cory W 08-02-2008 11:56 AM

Quote:

Originally Posted by stickyfingerz (Post 14550921)
To make this thread useful to those who don't know how to do this. To the right of the add image icon there is a little piece of paper that looks like its been split horizontally. You can either click that icon at the spot you want in your post, or under code you can add <!--more--> where you want the post to split. :winkwink:

That's what Munki told me also, but I not only don't have the icon, but it doesn't work when I manually insert it. I am on 2.5, maybe that's the issue?

stickyfingerz 08-02-2008 12:06 PM

Quote:

Originally Posted by WEG Cory (Post 14551013)
That's what Munki told me also, but I not only don't have the icon, but it doesn't work when I manually insert it. I am on 2.5, maybe that's the issue?

Hmm no 2.5 should do it. Its been in wordpress for as long as I can remember.

Here is 2.6 version.

http://www.stickyboxbucks.com/moreblog.jpg

Cory W 08-02-2008 12:09 PM

Quote:

Originally Posted by stickyfingerz (Post 14551054)
Hmm no 2.5 should do it. Its been in wordpress for as long as I can remember.

Here is 2.6 version.

http://www.stickyboxbucks.com/moreblog.jpg

I'm a fucking moron.

Thanks.

stickyfingerz 08-02-2008 12:25 PM

Quote:

Originally Posted by WEG Cory (Post 14551064)
I'm a fucking moron.

Thanks.

hehe no worries. Happens to all of us from time to time. :winkwink:

datatank 08-02-2008 12:37 PM

+ Excerpt Excerpts are optional hand-crafted summaries of your content. You can use them in your template

That is the cleanest way to do it IMO, Unless you want to get into fancy things like Custom Fields

Cory W 08-02-2008 12:40 PM

Quote:

Originally Posted by datatank (Post 14551188)
+ Excerpt Excerpts are optional hand-crafted summaries of your content. You can use them in your template

That is the cleanest way to do it IMO, Unless you want to get into fancy things like Custom Fields

I tried filling in the Excerpt form field. It didn't seem to work for me.

datatank 08-02-2008 12:49 PM

Quote:

Originally Posted by WEG Cory (Post 14551196)
I tried filling in the Excerpt form field. It didn't seem to work for me.

I think you might have to add something to your theme then. Works on some themes and not others

<?php the_excerpt(); ?>
http://codex.wordpress.org/Template_Tags/the_excerpt

Cory W 08-02-2008 12:51 PM

Quote:

Originally Posted by datatank (Post 14551215)
I think you might have to add something to your theme then. Works on some themes and not others

<?php the_excerpt(); ?>
http://codex.wordpress.org/Template_Tags/the_excerpt

What's the advantage to doing it this way, as opposed to the < more > break?

Here's how it looks now:
http://surfelport.com/

datatank 08-02-2008 12:54 PM

Quote:

Originally Posted by WEG Cory (Post 14551220)
What's the advantage to doing it this way, as opposed to the < more > break?

Here's how it looks now:
http://surfelport.com/

You can use different text in there than the actual post
Just more flexible I like it better

StarkReality 08-02-2008 01:00 PM

Quote:

Originally Posted by WEG Cory (Post 14551220)
What's the advantage to doing it this way, as opposed to the < more > break?

By adding it to the index template, you can make all your posts just show excerpts automatically, without even inserting a more tag manually.

My favourite is displaying the latest post as full post, all the other ones as excerpts (on the frontpage).

Cory W 08-02-2008 01:51 PM

Quote:

Originally Posted by datatank (Post 14551229)
You can use different text in there than the actual post
Just more flexible I like it better

Quote:

Originally Posted by StarkReality (Post 14551244)
By adding it to the index template, you can make all your posts just show excerpts automatically, without even inserting a more tag manually.

My favourite is displaying the latest post as full post, all the other ones as excerpts (on the frontpage).

Thanks guys. I get it now. That's pretty cool.

d-null 08-02-2008 05:17 PM

Quote:

Originally Posted by StarkReality (Post 14551244)
By adding it to the index template, you can make all your posts just show excerpts automatically, without even inserting a more tag manually.

My favourite is displaying the latest post as full post, all the other ones as excerpts (on the frontpage).

good thinking, I know there are a couple of plugins around that do something like that automatically


All times are GMT -7. The time now is 08:07 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123