1. Home
  2. Docs
  3. AnimeBatch
  4. How to Use Shortcode Area

How to Use Shortcode Area

Taxonomy

  • post_tag
  • category
  • studio
  • season

Meta key & value

  • hot (Yes, No)
  • status (Ongoing, Completed)

Order by

  • title (by name)
  • modified (by modified post)
  • date (by date post)
  • rand (random)

Order

  • DESC
  • ASC

Slug Operator

  • OR
  • AND

Shortcode

[ch title="#" tax="#" slug="#" key="#" value="#" slug_operator="#" orderby="#" order="#" total="#" style="#" more="#"]

where is taxonomy slug?? click here

In this tutorial, I give an example to create latest ongoing ‘action’ anime with view more link to https://animebatch.themesia.com/tag/action/ and using style 2.

  • Goto AnimeBatch settings > Homepage
  • In the Shortcode Area, write the shortcode like this
    [ch title="Latest Action Anime" tax="post_tag" slug="action" key="status" value="ongoing" orderby="modified" total="5" style="2" more="https://animebatch.themesia.com/genres/action"]

Multiple Meta Value

Example showing Anime from 2019 or 2020

[ch title="Anime 2019 or 2020" key="date" value="2019,2022" orderby="modified" total="5" style="3"]

Multiple Slug

Example showing Anime TV Series or Movie

[ch title="Anime TV or Movie" tax="category" slug="movie,tv" slug_operator="OR" orderby="modified" total="5" style="3"]

Example showing Anime Action ‘or’ Adventure genre

[ch title="Anime Action or Adventure" tax="post_tag" slug="action,adventure" slug_operator="OR" orderby="modified" total="5" style="3"]

Example showing Anime Action ‘and’ Adventure genre

[ch title="Anime Action and Adventure" tax="post_tag" slug="action,adventure" slug_operator="AND" orderby="modified" total="5" style="3"]