Multple page thumbnails
-
Currently I’m developing a portfolio website for myself. I’m posting the featured image on the portfolio-item page like:
(img src="(?=wp_get_attachment_url( get_post_thumbnail_id() ); ?)" class="img-responsive showcaseimagesrc")Now I also downloaded the Multiple Thumbnail plugin in order to get a second image underneath the portfolio-item. Regarding the documentation I have to use this code:
if (class_exists(‘MultiPostThumbnails’)) :
MultiPostThumbnails::the_post_thumbnail(get_post_type(), 'secondary-image', NULL, 'secondary-featured-thumbnail'); endif;
Is it also possible to post this second image in the way I do with the first image, so within the image tags?
I tried some ways myself, but it didn’t work out.
- This topic was modified 8 years, 4 months ago by .
- This topic was modified 8 years, 4 months ago by .
- This topic was modified 8 years, 4 months ago by . Reason: put code in backticks
The page I need help with: [log in to see the link]
The topic ‘Multple page thumbnails’ is closed to new replies.