$args = array( 'post_type' => 'slides',
'meta_key' => 'slideshow_image',
);
$slides = get_posts($args);
I am unable to get “meta_value” in $slides array. Please do help me how can I get meta_value from the $slides array using magic fields.
Olof, I am sorry to again disturbing you. Can you please tell me how to get the “meta_value” from $custom_post = get_posts($args); because magic field save the values in meta_value column?
Thanks In advance! Have a nice day
Thank you Olof. I really appreciate you for quick and positive response.
Thanks for the help.
Cheer!
Irfan Lateef
Hey Olof,
Can you please post the code or tell me the why how you fix the issue? I am facing same issue and getting empty array. Please help me and tell me the solutions.
Thanks in advance.