Skip to main content

Timeline for GET the excerpt by ID

Current License: CC BY-SA 2.5

7 events
when toggle format what by license comment
Mar 20, 2011 at 19:54 comment added MikeSchinkel @Robin I Knight - I don't see anything in your loop, but you might try calling setup_postdata($post) at the beginning of your loop, as @Rarst suggests. If that doesn't work it might be a plugin you need to disable; have you tried that? And you probably don't want to call it get_the_excerpt_id() because WordPress could add that function in the future and break your site. And you could probably do without the function in your loop by using foreach($stories as $story): global $post; $post = $story; instead.
Mar 20, 2011 at 15:29 vote accept Robin I Knight
Mar 20, 2011 at 15:11 comment added Robin I Knight BTW I changed the name of the function to get_the_excerpt_id($post_id)
Mar 19, 2011 at 20:28 comment added Robin I Knight Loop source code in question above ^^
Mar 19, 2011 at 20:19 comment added MikeSchinkel @Robin I Knight: Please post your loop source code as an update to your question; it's very hard to debug code without seeing code. It's also possibly a plugin that is causing the problem; try disabling them one at a time.
Mar 19, 2011 at 19:48 comment added Robin I Knight It works. Sort of. Very odd results. It is definitely performing its function but the results are odd. I am using it in conjunction with GET_Posts and for some reason the top 2 get posts are always the same. Here is a link and you will see what I mean. Look at the 4 posts on the right hand side. divethegap.com/update/community/feedback/2010/06/steve-riches
Mar 19, 2011 at 18:33 history answered MikeSchinkel CC BY-SA 2.5