Home › Forums › General Issues › the_image not returning value in media attachments › Reply To: the_image not returning value in media attachments
When I enter that code into functions.php (btw, awesome clean way to do that. Always just did a var_dump, so thanks!)
WP_Post Object ( [ID] => 169 [post_author] => 1 [post_date] => 2013-09-30 04:12:52 [post_date_gmt] => 2013-09-30 04:12:52 [post_content] => [post_title] => Our Shop [post_excerpt] => [post_status] => publish [comment_status] => open [ping_status] => open [post_password] => [post_name] => our-shop [to_ping] => [pinged] => [post_modified] => 2013-10-01 06:29:28 [post_modified_gmt] => 2013-10-01 06:29:28 [post_content_filtered] => [post_parent] => 0 [guid] => http://www.pspfit.dev/?page_id=169 [menu_order] => 0 [post_type] => page [post_mime_type] => [comment_count] => 0 [filter] => raw [format_content] => )
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We’re hard at work on ACF 6.1, and Beta 1 is now available 🚀— Advanced Custom Fields (@wp_acf) March 16, 2023
This release includes custom post type and taxonomy registration, an improved experience when selecting field types, PHP 8.1 and 8.2 compatibility, and more!
Let’s take a look 🧵https://t.co/Y0WcAT11l4
© 2023 Advanced Custom Fields.