[wp-hackers] parent page excerpt??

Andrew Johnson andrew at difted.com
Thu Jul 7 06:09:25 UTC 2011


I'm wanting to show the title and excerpt of a parent page (i've enabled excerpts for pages) when visiting a child page. If not a child, show the normal excerpt and title. TItle works but excerpt won't on the child pages. Here's simplified code:

http://www.pastie.org/2176199

Thanks for any help!

Andrew Johnson
@and_rwj









More information about the wp-hackers mailing list