WPIntell

Source evidence

How to Add Multiple Featured Images

Multiple Featured Images · support · 2023-11-15T08:06:00+00:00

complaintsentiment
mediumseverity
0.93relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 33 rows with source links

12.1% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
llaiz unresolved
Hello everyone, I try to make multiple featured images for my articles on WP. I looked everywhere, but couldn’t find any solutions. I use Divi and I maked a modele for my articles by the divi theme builder. I’ve installed this module https://wordpress.org/plugins/multiple-featured-images/ but it doesn’t work… I followed many tutorials like this one : https://astucesdivi.com/ajouter-plusieurs-images-a-la-une-divi/ , but the image not displayed. In my functions.php file, I added this : add_filter( 'kdmfi_featured_images', function( $featured_images ) { $args = array( 'id' => 'featured-image-2', 'desc' => 'Your description here.', 'label_name' => 'Featured Image 2', 'label_set' => 'Set featured image 2', 'label_remove' => 'Remove featured image 2', 'label_use' => 'Set featured image 2', 'post_type' => array( 'page' ), ); $featured_images[] = $args; return $featured_images; }); And in my single.php : kdmfi_the_featured_image( 'featured-image-2', 'full' ); I manage to add it in the back office, but the image doesn’t appear in the front. I’d like to use this image to put it on the left in my template : Would you have a solution please ? With a plugin or other. Kind regards, The page I need help with: [ log in to see the link] How did you go with getting this resolved, I am having the same issue. All seems to be working, but not showing on the Front End. I think I have an issue with the placement of the short code kdmfi_the_featured_image( ‘featured-image-2’, ‘full’ ); Hi, I haven’t been able to solve this problem, sorry. If anyone has a solution…

Comments

2 shown
oatsvszombies 2024-01-30T03:48:00+00:00

How did you go with getting this resolved, I am having the same issue. All seems to be working, but not showing on the Front End. I think I have an issue with the placement of the short code kdmfi_the_featured_image( ‘featured-image-2’, ‘full’ );

llaiz 2024-02-29T15:35:00+00:00

Hi, I haven’t been able to solve this problem, sorry. If anyone has a solution…