Conditional Tags
Manga+Press has a few conditional template tags that work similar to Template Tags in WordPress
is_comic()
Returns true
if post is a comic, otherwise returns false
. Used to detect comic posts from regular posts.
Short example of using is_comic()
:
is_comic_page() * behavior changed in 4.0
Returns true
if page is a Comic Page, otherwise returns false
.
Short example of using is_comic_page()
:
is_latest_comic_page()
Returns true
if the page is the Latest Comic page, otherwise false
Short example of using is_latest_comic_page()
:
is_comic_archive_page()
Returns true
if page is the Comic Archive Page, otherwise returns false
.
Short example of using is_comic_archive_page()
:
Last updated