Soliloquy Documentation
Documentation, Reference Materials, and Tutorials for Soliloquy
Documentation, Reference Materials, and Tutorials for Soliloquy
Would you like to wrap caption text in paragraph tags? We can walk you through each step on how to do this! Follow the tutorial below to wrap your Soliloquy captions in paragraph tags.
Note: This tutorial is a bit more technical than our other docs, but we’ll walk you through the process step by step. In order to automatically wrap caption text in paragraph tags, we’ll need to create and upload a basic WordPress plugin.
To automatically wrap your Soliloquy captions in paragraph tags, just add the following code to a new file at wp-content/plugins/soliloquy-wrap-caption.php
.
// Wrap the image caption text in paragraph tags
$image[‘caption’] = wpautop( $image[‘caption’] );
// Return the modified data.
return $image;
}[/php]
If you’re unsure how to create a plugin file, follow these steps below:
soliloquy-wrap-caption.php
Your next step is to activate the plugin you just uploaded. Simply navigate to the Plugins from within your WordPress dashboard and activate the Soliloquy – Wrap caption in p tags plugin.
And that’s it! Would you like to customize the Soliloquy caption further? Have a look at our documentation on How to Display the Slide Title Before Caption.