• I like your plugin a lot and I have implemented it at https://www.teknofilo.com

    However I find that it takes a few seconds for the preview to load, even if the data is cached (I have sent 24 hours cache length).

    For those links which are cached… would it be possible to show the preview instantaneously? For example, PhoneArena.com shows similar preview windows instataneously when you put the mouse over the link.

    Thanks, Luis

    https://www.ads-software.com/plugins/linkpreview/

Viewing 15 replies - 16 through 30 (of 31 total)
  • Plugin Author filipstepanov

    (@filipstepanov)

    This plugin is automated so it doesn’t need a button. When the plugin is active it scans for post content and modifies each link by adding additional tags for linkpreview to know when to open up a preview popup.

    Some WP themes might do some similar content filtering so there can be conflicts of course, especially if theme removes any additional tags added by other plugins.

    If you would manually add data-link=”href://…” and data-button=”LinkPreview” (example https://i.imgur.com/Kzr6Nfc.png) as attributes of link element it would trigger the preview poup when mouse is over.

    Ok it’s awesome. Just it’s a bit slow, I think because I didn’t optimize my site yet. And how can I change the font of description?

    View post on imgur.com

    I appreciate if you can make it RTL compatible. For example put the thumbnail at right.

    Thanks

    Plugin Author filipstepanov

    (@filipstepanov)

    You can modify any visual element by changing the css in plugins folder /wp-content/plugins/linkpreview/css/style.css or better overriding it from external source so it doesnt get overwritten during update.

    I will soon release the version with specific CSS for RTL.

    Thank you so much filip for this great plugin. Good Luck ??

    One more problem I noticed now. If I activate the plugin, It reduces the posts’s excerpts at my homepage:

    View post on imgur.com

    Plugin Author filipstepanov

    (@filipstepanov)

    That doesnt make any sense to me. This plugin doesnt use or modify any existing posts excerpt.

    Yeah me too, I will let my designer look at this if he finds any conflict ?? , I will let you know.

    Plugin Author filipstepanov

    (@filipstepanov)

    RTL is now supported in frontend, starting from version 1.6.3a

    woow, that’s perfect Filip ?? Thank you so much.

    View post on imgur.com

    Hey Filip, how are you man? ?? My designer couldn’t find the conflict problem. The posts excerpts on homepage become to only 42 characters. This number is not familiar for you? You don’t remember maybe use this number in any part of the plugin?

    we are using this:
    echo wp_html_excerpt(strip_shortcodes($excerpt), 170, ‘…’);

    Plugin Author filipstepanov

    (@filipstepanov)

    Hi,

    Linkpreview plugin does not use excerpt in any form, and therefore it cant affect existing post in any way.

    It scans the post content for matching corresponding links, removes title attribute if it exists because of possible overlapping elements and adds new attribute data-button=”LinkPreview” and id.

    I don’t know if you’re using any html elements in your excerpt and why it gets cut down to 42 chars, but check these links if there’s an answer

    https://developer.www.ads-software.com/reference/functions/wp_html_excerpt/
    https://codex.www.ads-software.com/Function_Reference/wp_html_excerpt

    Plugin Author filipstepanov

    (@filipstepanov)

    Also, can you check what is exactly set as $excerpt from your example above? And can you dump it before the wp_html_excerpt to see what content is saved in it.

    Hey filip, we figured out what the problem was. My designer installed it on his site and the problem was also there. So here is the explanation:

    This problem occurs for non-English sites, for example my site is in Persian.

    How we fixed it?
    In “tooltip.php” file which is in “includes” directory, we edited “scan_linkpreview”. After the line 36, right before $html, we added this:
    $html = html_entity_decode($html);
    To get it out from html entity and count correctly the characters in excerpt.

    Thanks ??

    Plugin Author filipstepanov

    (@filipstepanov)

    Sorry for the delay i was busy. I just added new version with your fix.

    thanks for helping!

Viewing 15 replies - 16 through 30 (of 31 total)
  • The topic ‘Would it be possible to show the preview instantaneously?’ is closed to new replies.