taylortay
Member
Posted 1 year ago #
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.
Are you sure that you've set the "Page" meta value on that particular page?
taylortay
Member
Posted 1 year ago #
100% positive. I even re did it twice :)
taylortay
Member
Posted 1 year ago #
Has anyone else ran into this problem? I'm not sure what to do. Could it have something to do with the fact that its using the index template?