Skip to main content

Timeline for Meta Box value not been pulled in

Current License: CC BY-SA 3.0

10 events
when toggle format what by license comment
Aug 28, 2014 at 12:09 comment added dannyw24 I've just checked if the value's are saved in the db and they all are but under a metakey of _my_meta_value_key - I've changed this to 'link_url' however its saved in the DB with its old name.
Aug 28, 2014 at 12:02 comment added dannyw24 How Can I check I'm getting the correct id?
Aug 28, 2014 at 11:38 comment added Shail Here, $link = get_post_meta(get_the_ID(), 'link_url', true); Make sure you are getting proper id and first check is really your value stored in database post_meta table.
Aug 28, 2014 at 11:26 comment added Nicolai Grossherr But the get_post_meta in your callback works? Does get_the_ID return an ID?
Aug 28, 2014 at 11:22 comment added dannyw24 I've been looking in inspect element after putting the word "test" in the metabox it should appear between the href tags. But as you can see nothing appears.
Aug 28, 2014 at 11:21 history edited dannyw24 CC BY-SA 3.0
added 51 characters in body
Aug 28, 2014 at 11:03 comment added Nicolai Grossherr What does your var_dump show? Besides the text/link inside the href of an a tag won't visibly displayed.
Aug 28, 2014 at 10:53 history edited dannyw24 CC BY-SA 3.0
added 54 characters in body
Aug 28, 2014 at 10:51 answer added Shail timeline score: 0
Aug 28, 2014 at 10:44 history asked dannyw24 CC BY-SA 3.0