Sibling pages in side bar with featured image
-
I’m using the following code to show sibling pages in the sidebar. What I’d love to be able to do is show the featured thumbnail to the left of the page link. Can anyone point me in the right direction? My php expertise is pretty much copy, paste, and modify. Thanks in advance!
<ul> <?php global $post; $current_page_parent = ( $post->post_parent ? $post->post_parent : $post->ID ); wp_list_pages( array( 'title_li' => '', 'child_of' => $current_page_parent, 'depth' => '1' ) ); ?> </ul>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Sibling pages in side bar with featured image’ is closed to new replies.