I never noticed how hard this could be for someone who doesn't code. Yep, I saw this:
https://www.sitepoint.com/community/t/i-want-to-linkify-something/280826
Let me explain in detail how simple this is, but please read. Don't skip one single word. Don't worry, is not that complicated.
1. You need to know exactly what you want to modify. There is a complete guide on how to find something,
here.
If you inspect using your browser, you will get something like this:
As is explained in the guide.
You need to find this:
description-text margin-bottom-5
2. As I told you earlier, the code is on
app/themes/Peafowl/views/image.php
From there, you only need to pass the description to the linkify function. Indeed this is simple as changing this:
PHP:
<?php echo nl2br(get_image_safe_html()['description']); ?>
To this:
PHP:
<?php echo nl2br(G\linkify(get_image_safe_html()['description'])); ?>
If you want to avoid passing juice (SEO) replace
G\linkify with
CHV\linkify_redirector in the code above.
Easy isn't?
By the way, G\ is the namespace. The function declaration is made inside the namespace, so the function declaration is written without the namespace.