Custom fields on home page and blog page
-
Hi there,
I have a static page set as my home page, and I′m struggling to display custom fields on this home page. Is there a different practice for including custom fields on a page that is set as the home pages? This is the code I′m using:
<?php get_post_meta($post->ID, “punchline”, true); ?>
The “punchline” field is definitely defined in the admin panel, so what could be the problem then?
Thanks!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Custom fields on home page and blog page’ is closed to new replies.