the_meta()
-
I’m building a custom theme, and have a custom field for storing text on pages. To display the text in the page templates, I use <?php the_meta(); ?>
However, when I’m displaying the blog, single.php, 404.php and so forth, nothing is displayed since these aren’t used for pages.
Is there a way that I can display the custom field values (from pages) randomly? Get_post_meta maybe?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘the_meta()’ is closed to new replies.