-
Search Results
-
Example: https://livingroomconversations.org/download/communicating-with-care/
I am having a hard time getting the image centered(and would prefer for it to not be in a box)
Here is the template codes, currently:<div align=”center”>
<div class=”row”>
<div class=”card mb-3 p-3 hide_empty [hide_empty:featured_image]”>[featured_image]</div></div><div class=”wpdm-button-area mb-3″>
[download_link]
</div>
</div>
<br>
<p> [description]</p>
<div class=”promo-section”>
If you find this guide valuable, please consider making a donation of $5 to help us continue offering free resources.</p>
</div>
<h3>Included in this download:</h3>
[file_list]<p></p>
<p>Click here to see all topics</p>
</div></div>
</div>
Good afternoon,
I would like to remove the attribute from the button to download the tabs on wpdm. I tried searching in the settings but there is nothing about it. How can I do this? I also tried putting this code in function.php:add_filter(‘wpdm_link_template’, ‘remove_nofollow_from_wpdm_links’, 10, 2); function remove_nofollow_from_wpdm_links($template, $package){ // Removes “nofollow” from the rel attribute (double or single quotes, with other values) $template = preg_replace(‘/\bnofollow\b\s*/i’, ‘’, $template); // removes word // Se rel="" rimane vuoto dopo la rimozione, toglilo $template = preg_replace(‘/\s*rel=(["\’])\s*\1/i', ‘’, $template); return $template; }But it doesn’t work!!
My button is built like that:
<div class="pdf-wrapper"> <div class="pdf-text">Scheda tecnica</div> <i class="fas fa-file-pdf pdf-icon"></i> [download_link] </div>Any idea? Thanks!
