Hello, I would like to add a brand logo as well as the featured image to post grid. 'Brand' is added to a page via advanced custom fields, and then shown on the product page, e.g. http://www.logicool-ac.com/products/mitsubishi-electric-air-conditioning-m-series-ln-wall/. The code below is used to add the brand logo to product pages.
Can you think of a way to display this logo in Post Grid as well? Thank you, Paul.
<div class="brand-logo">
<?php $brand_id = get_post_meta($post->ID, 'brand_link', true); ?>
<?php $logo_id = get_post_meta($brand_id, 'logo_image', true); ?>
<?php echo wp_get_attachment_image($logo_id, array(220,150)); ?>
</div>
![Showing additional image 1 Showing additional image 1](https://pickplugins.com/wp-content/litespeed/avatar/a0ce428c8fc53b07a2bfc3ef13009ee8.jpg?ver=1738292887)
![Showing additional image 3 Showing additional image 3](https://pickplugins.com/wp-content/litespeed/avatar/978ff02cf6cfb3e60ade623dd6942a3a.jpg?ver=1738285744)
![Showing additional image 4 Showing additional image 4](https://pickplugins.com/wp-content/litespeed/avatar/60b037d2fe05ceb39acb7f02dbd29bd8.jpg?ver=1738285093)
Welcome to our forum.
By default there is no way to display custom image under media/thumbnail image area, you will need to override or add via filter hook or via shortcode under layout editor.
Please see this documentation I have shared the code example to work with ACF
https://pickplugins.com/documentation/post-grid/filter-hooks/filters-post_grid_filter_html_media/
Let me know for more help.
Regards