#173 new
webken

excerpts?

Reported by webken | December 7th, 2008 @ 09:10 PM

Hi,

I just want to publish excerpts not the full content. Is there a way to do it?

Thank you in advance,

Kenan SAHIN

Comments and changes to this ticket

  • Marcin

    Marcin March 18th, 2009 @ 12:06 PM

    I have used your patch Robert, everything works great but it only pulls text and no images. Any way to fix this so it will still pull images ?

  • Ricardo Rauch

    Ricardo Rauch April 15th, 2010 @ 08:50 AM

    • Assigned user changed from “Guillermo Rauch” to “Ricardo Rauch”
  • marius

    marius December 6th, 2010 @ 07:46 AM

    • Milestone order changed from “0” to “0”

    Hi Robert,

    ANy idea where to input the

    // Form an excerpt (code cribbed from wp-includes/post.php)

     $excerpt = strip_tags($content);
     if (strlen($excerpt) > 255) {
       $excerpt = substr($excerpt,0,252) . '...';
    }`
    

    in wpomatic.php or somewhere else?

  • marius

    marius December 6th, 2010 @ 08:07 AM

    using your code it seems is not getting an excerpt of the article... it only gets the title, no content...

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

WP-o-Matic project.

Attachments

Tags

Pages