Skip to content

devanthonyp/Clarity-Manga-Reader

 
 

Repository files navigation

No longer mainained

Working on another, better, reader.

Clarity Manga Reader

Clarity Manga Reader is WordPress plugin that turns your site into a manga reader.

Demo site

https://claritymanga.xyz

Installation

  • Download zip
  • Go to your dashboard > Plugins > Add New > Upload Plugin and upload the plugin
  • Activate
  • Go to settings page (Settings > Manga Settings) and enable the manga post type if not already available
  • If you had a Read page before installing the plugin you'll need to select a page for the reader (on the settings page) and add the [cmr_read] shortcode.

Usage

  • After enabling the manga post type open the add new page, add a title for the manga and save draft.
  • Now you have the form to add chapters (chapter name, number and volume, name and number being required)
  • Add a name and a number click add and the chapter is added through ajax
  • Now you can upload the images by clicking the add images button, then click start upload
  • Publish your post/manga and view it, you should have a list of chapters after post content

Shortcodes

Currently there are two shortcodes:

  • [cmr_read] - should be added to the page you want to use for displaying the images (deafult is Read)
  • [cmr_chapters_list] - adds the chapters list of a manga, by default the list is added after the manga content (what you add in the editor when creating the manga), but you can disable this behavior and add the shortcode directly in the editor, recommended is to add it in your theme's php file <?php echo do_shortcode('[cmr_chapters_list]'); ?> or leave it as it is.

###[cmr_chapters_list] attributes

  • before - string to appear before the list (default <div class="chapters-container">);
  • after - string to appear after the list (default </div>);
  • title - a title for the chapters list (default <h2>Chapters</h2>);
  • order - how to order chapters and volumes, ascending or descending (accepted values ASC, asc, DESC, desc, default DESC);

About

Clarity Manga Reader is a WordPress plugin that turns your site into a manga reader. https://claritymanga.xyz

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.1%
  • CSS 0.9%