Create placeholder Featured image for {marker_image} template tag
-
I have been working on a custom post type for Member Clubs using ACF, and Elementor, and have integrated a Map from Wp Google Maps Pro for the member clubs landing page, but am for the life of me unable to figure out how to get a placeholder image to display when the end-user has not uploaded a featured-image (their club’s logo) for their custom post type’s post
I tried using the post_thumbnail_html hook in the definition of the custom post type to catch when the return $html is empty and insert the placeholder image but it seems like your plugin skips over that if the featured image is empty and never gets to where I can trigger the hook (this is my guess)
is there any way for me to pull this off elegantly?
- The topic ‘Create placeholder Featured image for {marker_image} template tag’ is closed to new replies.