Hi @goliathks
This option is currently not available. However, you can easily implement this with whatever page builder you are using. Simply add a text block/widget on top of the gallery and add a descriptive text to the text block/widget.
Thanks
Kind regards,
Elvis
hi @goliathks,
There is a way to get this working with some custom code:
- Make sure the FooGallery album extension is enabled
- Goto Settings -> Albums and enable “Enable Gallery Descriptions” and save
- Add this custom code to your functions.php:
add_action( 'foogallery_loaded_template_before', 'foogallery_render_gallery_description' );
function foogallery_render_gallery_description( $foogallery ) {
if ( isset( $foogallery->_post ) && !empty( $foogallery->_post->post_content ) ) {
$content = apply_filters( 'the_content', $foogallery->_post->post_content );
echo $content;
}
}
You should then see a content editor when editing a gallery, and the code above will add that content above the gallery. You can choose to customize how it is output and wrap it in a div or paragraph etc.