Multiple Featured Images
Work in Post Parent (1 post)

  1. quintalbrasil
    Posted 2 years ago #

    How do I get url of a thumbnail that belongs to a parent post (one page above the level that I am seeing)?
    For the default thumbnail I use:

         <? php if ($ post-> post_parent) {
             $ parent_thumbnail = wp_get_attachment_image_src (get_post_thumbnail_id ($ post-> post_parent), 'thumbnail');>
             <img src = "<php echo $ parent_thumbnail [0];?>" />
             <? php}>

    How do I call function kdMultipleFeaturedImages for this case?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Multiple Featured Images
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic