> For the complete documentation index, see [llms.txt](https://mangapress.gitbook.io/manga-press-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mangapress.gitbook.io/manga-press-documentation/template-tags/mangapress_the_comic_cover.md).

# mangapress\_the\_comic\_cover

## mangapress\_the\_comic\_cover()

Output the comic's cover image.

**@since** 4.0.0

### Usage

```php
<?php mangapress_the_comic_cover(null, 'comic', ['class' => 'comic-image']); ?>
```

### Parameters:

* `$post (\WP_Post)(optional)`: Current post object. If null, global `$post` will be used instead
* `$size (string)(optional)`: Image size to load. Defaults to `thumbnail`.
* `$attr (array)(optional)`: Query string or array of attributrues
