# yatra/3.0.13/resources/js/blocks/trip-category/block.json

Yatra – Travel Booking &amp; Tour Operator Software, version 3.0.13. 68 lines.

- Page: https://pluginprobe.com/plugins/yatra/3.0.13/code/resources/js/blocks/trip-category/block.json
- Raw: https://pluginprobe.com/plugins/yatra/3.0.13/raw/resources/js/blocks/trip-category/block.json
- Modified: 2026-05-25T04:28:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/yatra/3.0.13/code/resources/js/blocks/trip-category/block.json#L10-L20`.

```json
{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "yatra/trip-category",
  "title": "Trip categories",
  "category": "yatra",
  "icon": "category",
  "description": "Display trip category cards with trip counts and pricing (same layout as destinations).",
  "keywords": ["category", "trip", "taxonomy", "yatra"],
  "textdomain": "yatra",
  "attributes": {
    "align": {
      "type": "string",
      "default": ""
    },
    "order": {
      "type": "string",
      "default": "desc"
    },
    "columns": {
      "type": "number",
      "default": 3
    },
    "per_page": {
      "type": "number",
      "default": 10
    },
    "title": {
      "type": "string",
      "default": "Trip Categories"
    },
    "show_pagination": {
      "type": "boolean",
      "default": true
    },
    "categoryIds": {
      "type": "array",
      "default": []
    },
    "show_trip_count": {
      "type": "boolean",
      "default": true
    },
    "show_description": {
      "type": "boolean",
      "default": true
    },
    "show_image": {
      "type": "boolean",
      "default": true
    },
    "hide_empty": {
      "type": "boolean",
      "default": false
    },
    "featured_only": {
      "type": "boolean",
      "default": false
    }
  },
  "supports": {
    "html": false,
    "inserter": true,
    "align": ["wide", "full"]
  },
  "editorScript": "yatra-trip-category-block-editor"
}

```
