get_post_meta selectivly working
-
I’m using the get_post_meta(); function as a JavaScript variable to know what page has been selected.
var page = "<?php print get_post_meta($post->ID, "Page", true); ?>";
Its working like a charm on all of my pages but one. The data just comes up blank. Consequently it is the page I have chosen to display my blog on. Not sure if this has anything to do with it.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘get_post_meta selectivly working’ is closed to new replies.