Support » Plugins and Hacks » Show post meta fields on parent & child themes via widget
4 years, 5 months ago
I’m creating a widget that shows specific custom fields.
if (get_post_meta(get_the_id(), date, true))
echo "<strong>Datum</strong>: ".get_post_meta(get_the_id(), date, true);
This will show my custom post meta on the current page, but i would like it to show on the sub / child pages too. How do i do that?