Usage
{{< smschat t = "shortcode" [header = "Messages"] [from = "Me"] [alt = "Friend"] >}}
Description
Display an animated iPhone-style SMS chat conversation. Messages alternate between two participants with typing indicators and realistic timing.
Parameters
indicates required parameter
header =
"string"Messages (or page title)
Title shown in the chat header
from =
"string"Me
Name of the first participant (blue messages)
alt =
"string"Friend
Name of the second participant (grey messages)
Examples
Basic chat with default settings
{{< smschat >}}Frontmatter:
smschat: { chat: ["Hello!", "Hi there!", "How are you?"], delay: [2, 1, 3] }Custom chat participants
{{< smschat header="Support Chat" from="Customer" alt="Agent" >}}Family conversation
{{< smschat header="Family Group" from="Mom" alt="Dad" >}}Messages alternate between the two participants automatically
Additional Information