Blocks

Kriti AI blocks

In the block inserter, open the Kriti AI category:

Block What visitors see
AI Content Podcast An audio player for the post's article podcast
AI Summary Podcast An audio player for the post's summary podcast
AI Summary A Summarize button. When clicked, an AI is generating a summary… indicator shows briefly, then the saved summary is typed out.
  • The podcast blocks play the post's podcast by default. You can choose another audio file from the block toolbar, edit or hide the label, and switch back with Use the post's AI podcast.
  • In the AI Summary block's settings, set the delay (0–6 seconds) and turn the typing effect on or off. Edit the button text and heading directly in the block.
  • A block shows nothing when the post has no podcast or summary. When a podcast block is in the post, the automatic player above the content is hidden, so the player never appears twice.

Note: The Summarize button reveals the summary already saved on the post. Visitors never trigger an AI request.

Shortcodes

Shortcodes for classic content and page builders

Shortcode Shows
[kriti_ai_content_podcast] Article podcast player
[kriti_ai_summary_podcast] Summary podcast player
[kriti_ai_summary] Summarize button that reveals the AI summary

Shortcode attributes

Podcast shortcodes

  • post_id: play another post's podcast (default: the current post)
  • id: play this Media Library audio file instead
  • label: text above the player
  • show_label: yes (default) or no

[kriti_ai_summary]

  • post_id: reveal another post's summary
  • button_text: button label (default "Summarize")
  • heading: heading above the summary (default "AI Summary"; heading="" hides it)
  • delay: seconds the "AI is generating" indicator shows (default 1.8, maximum 10)
  • typing: yes (default) types the summary out; no shows it at once
[kriti_ai_summary button_text="TL;DR" delay="2.5" typing="no"]

post_id only shows posts the visitor is allowed to read, so a shortcode can't reveal a draft or private post.