Manga+Press Documentation
  • Introduction
  • Guides
    • Frequently Asked Questions
    • Contributing
  • Getting Started
    • Installation
    • Configuring Manga+Press
    • Using Manga+Press
    • Theme Customization
  • Developer API
    • Image Sizes
  • Template Tags
    • Conditional Tags
    • mangapress_comic_navigation
    • mangapress_get_calendar
    • mangapress_theme_supports_cover_images
    • mangapress_has_cover_image
    • mangapress_the_comic_cover
  • Functions
    • mangapress_comic_navigation
    • mangapress_day_link
    • mangapress_end_latest_comic
    • mangapress_get_calendar
    • mangapress_get_next_post_in_loop
    • mangapress_get_previous_post_in_loop
    • mangapress_month_link
    • mangapress_start_latest_comic
  • Filters
    • Manga+Press Template API — Filters
    • mangapress_archive_gallery_style
    • mangapress_options_fields
    • mangapress_comic_front_slug
    • mangapress_options_sections
    • mangapress_comic_navigation_args
    • mangapress_comic_navigation_items
    • mangapress_get_adjacent_comic_args
    • mangapress_get_boundary_comic_args
    • mangapress_archive_gallery_style
    • mangapress_comic_front_slug
    • mangapress_options_fields
  • Actions
    • Manga+Press Template API — Actions
    • save_post_mangapress_comic
    • mangapress_comic_page_content
    • mangapress_theme_compatible-$theme
Powered by GitBook
On this page
  • mangapress_opening_article_tag
  • Parameters
  • mangapress_closing_article_tag
  • Parameters
  1. Filters

Manga+Press Template API — Filters

mangapress_opening_article_tag

Filter and then output the opening article tag. Returns string

The $style parameter is only used for the archive-comic.php template. If $style is provided, it will check against the three known archive page styles, and return an li tag for list and gallery. Overrides will be provided in the near future.

@since 4.0.0

Parameters

  • $archive_style (string) Defines the tag used to wrap the post area. Defaults to article.

  • $args array $args Array of arguments to pass

    • $style (string) $style The comic archive page style, can be 'list', 'gallery', or 'calendar'

mangapress_closing_article_tag

Filter and then output the closing article tag. Returns string.

The $style parameter is only used for the archive-comic.php template. If $style is provided, it will check against the three known archive page styles, and return an li tag for list and gallery. Overrides will be provided in the near future.

@since 4.0.0

Parameters

  • $archive_style (string) Defines the tag used to wrap the post area. Defaults to article.

  • $args array $args Array of arguments to pass

    • $style (string) $style The comic archive page style, can be 'list', 'gallery', or 'calendar'

Previousmangapress_start_latest_comicNextmangapress_archive_gallery_style

Last updated 5 years ago