Hello,
I found a way to make the Extended Description plugin work in the comments.
Just add the following code into the LocalFiles Editor in the Personal Plugin section:
// make ExtendedDescription plugin work in the comments
add_event_handler('render_comment_content', 'extdesc_extend_comment_description');
function extdesc_extend_comment_description($content) {
// Check if the plugin's parsing function exists
if (function_exists('get_extended_desc')) {
// Process the comment content using ExtendedDescription logic
return get_extended_desc($content);
}
// If the parsing function isn't found, return the content unchanged
return $content;
}Piwigo URL: https://konscht.com/artists/
Last edited by OpenPicture (2024-12-20 22:52:04)
Offline