//Get_post_meta(); with the parameters of the post/page id you're pulling from, the name you gave the element, and 'true'. /*this example is used for everything else. */ $sidetitle = get_post_meta($theId, 'book_sidebar', true); /*to pull from a Wysiwyg and retain formating, put wpautop(); around get_post_meta(); */ $sidetxt = wpautop(get_post_meta($theId, 'sidebar_txt', true));