Support » Fixing WordPress » Get Featured Image

  • Hi everybody

    I’m using the following command to get my post data
    $query = new WP_Query('pagename=module/'.$slug);

    But, the featured image wasn’t there. how can I get the featured image?

    Thanks

  • The topic ‘Get Featured Image’ is closed to new replies.