Shortcode

Use the shortcode when you want the player inside the article—for example after an intro, in the middle of a long piece, or in a custom layout. If the shortcode is present, the plugin will not add a second automatic player at the top or bottom.

Basic usage

In your post
[voicgen_player]

On a normal post, this plays audio for that post. Add it inside a Shortcode block in the block editor, or type it in the classic editor.

Play a different post's audio

Example
[voicgen_player post_id="456"]

Replace 456with the ID of the post whose audio you want (you can see the ID in the browser address bar while editing that post). Useful for roundups or linking one story's audio from another page.

Block editor (Gutenberg)

Add a block, search for Shortcode, and paste [voicgen_player] (or the version with post_id) into the field. Preview the live post to see the real player; the editor may show a placeholder.

Audio must existThe player appears when Voicgen has finished creating audio for that post. If you only just published, wait until the Voicgen Audio panel shows Ready, or use Generate audio first.

Theme or page templates

If your theme supports it, your developer can output the same shortcode from a template using WordPress's shortcode function—ask them to follow WordPress best practices for your theme version.