Support » Plugin: Kontrol Developer Kit » Get /Display Post image

Viewing 2 replies - 1 through 2 (of 2 total)
  • never mind.. I figured it out:
    this is my code:

    <?php $plink = get_setting('headline2');?>
     <?php $postid = url_to_postid($plink);?>
    
    <?php echo get_the_post_thumbnail($postid);?>
    <h2>
    <a href="<?php  echo get_setting('headline2');?>"> <?php echo get_the_title($postid); ?>  </a>
    </h2>

    Plugin Author Kontrolwp

    (@kontrolwp)

    Glad you figured it out lizzy, I’ll mark this as resolved now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get /Display Post image’ is closed to new replies.