پرش به محتویات

Post table of contents

فهرست مطالب بر اساس headingهای محتوای پست تولید می‌کند.

تنظیمات

  • Content (select) — محتوایی که فهرست مطالب از آن تولید می‌شود. گزینه‌ها: post_content، post_excerpt، custom_content. پیش‌فرض: post_content.
  • Heading selectors (text) — CSS selector‌ها برای headingهای موردنظر. پیش‌فرض: h1,h2,h3,h4,h5,h6.
  • List style (select) — استایل آیتم‌های لیست. گزینه‌ها: none، disc، circle، square، decimal، decimal-leading-zero، lower-roman، upper-roman، lower-greek، lower-latin، upper-latin، armenian، georgian، lower-alpha، upper-alpha. پیش‌فرض: none.
  • Item typography (typography) — تنظیمات typography برای آیتم‌های لیست.
  • Item padding (dimensions) — padding آیتم‌های لیست.
  • Item background color (color) — رنگ پس‌زمینه آیتم‌های لیست.
  • Item border (border) — تنظیمات border آیتم‌های لیست.
  • Active item typography (typography) — تنظیمات typography برای آیتم‌های فعال.
  • Active item background color (color) — رنگ پس‌زمینه آیتم‌های فعال.
  • Active item border (border) — تنظیمات border آیتم‌های فعال.

مرجع توسعه‌دهنده

برای JSON schema کامل به post-toc Schema مراجعه کنید.