Moving the URL below the Link Preview?

Eric Croskey Posted in Technical Support 1 month ago

How can I move the URL or at least move it below the actual preview? I tried removing the echo from item_inner.php but that didn't work after saving and clearing the cache.

<div class="row link-preview-item link-preview-item-<?php echo $params['guid'];?>">
<div class="col-md-12">
    <a href="<?php echo $params['item']->link_full;?>" target="_blank">

enter image description here

German Michael Z├╝lsdorff Replied 1 month ago

No wonder. And if you would use your browser's developer console you'll find that the link in question isn't part of link-preview at all but belongs to the regular post-content. In item.php the preview part is being appended. Thus, if you want to display the preview on top you have to use jquery's prepend function instead of append.

ma Melo lobo Replied 1 month ago

it's a premium component please ask your question at softlab,