Support » Plugin: Visual Link Preview » Cannot use shortcode to create Link Preview

  • Resolved alainreel

    (@alainreel)


    Hi,
    I tried using the shortcode you provided here to add an external link.
    However, the shortcode does not pull the image.
    Is there any way I can achieve this without manually putting the image url?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Brecht

    (@brechtvds)

    The shortcode does not automatically retrieve anything at the moment. If you want to display an image you’ll have to put in the image ID or URL.

    gauravkeerthi

    (@gauravkeerthi)

    I would also like to use the shortcode to generate the full link preview (headline, excerpt, and image). Will this feature be added at some point?

    Plugin Author Brecht

    (@brechtvds)

    It’s possible to use the shortcode to display the visual link, just not generate it automatically:
    https://help.bootstrapped.ventures/article/262-manually-construct-the-vlp-shortcode

    We might add generating automatically at one point. What do you want to use that for specifically?

    gauravkeerthi

    (@gauravkeerthi)

    Widgets would be my immediate answer. I think if it’s too hard, I can just do_blocks() the current code and turn it into a standalone executable code block?

    Plugin Author Brecht

    (@brechtvds)

    It doesn’t seem like you’re talking about the same thing. Could you open a new topic with what you’re trying to achieve specifically?

    The plugin already has both shortcodes and blocks so you can copy those and use in widgets.

    gauravkeerthi

    (@gauravkeerthi)

    thanks – i’ll create a new topic.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cannot use shortcode to create Link Preview’ is closed to new replies.