1

I know the List category posts has an attribute to show only an excerpt from the post, but I can't seem to get the plugin to work for the Wordpress tag break. Does the plugin recognize the tag?

1 Answer 1

1

Well... if you are asking if you can get the List category posts plugin to recognize the tag then you can use the "get_extended()" function in WordPress.

Create a new List category template and then use the following code to get the part of the post before the more tag for display.

$moreTag = get_extended($single->post_content);
$beforeMore = $moreTag['main'];

If you are interested I am creating a List category template for use with the TwentyTen theme - specifically for use with a page template that will be used to display WordPress pages in custom Facebook tabs. Let me know and I'll get it to you.

2
  • Thanks - I'll try that now. And for the WP/Facebook items - yes, I'm interested!
    – Rushbuff
    Nov 2, 2011 at 20:52
  • Ok - here is the code for the "latest posts" TwentyTen theme List category template. gist.github.com/1401538 Nov 28, 2011 at 19:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.