• Hello all!

    A friend of mine got a website for his company. Together with some friends we try to get the the website up and running. We like to place some images with links to other websites (suppliers). But we can’t figure out how to do it. Is there anyone who could help us by replying a example code how it should look? We can only find examples without [client] codes

    The code we’ve got now for the image is:
    [client src=’http://stoutwooninnovatie.nl/wp-content/uploads/ruwi-logo-stout1.png’%5D%5B/client%5D

    What should the code look like to get the image to link to another website (by opening a new window)

    Many thanks in advanced.
    Dirk-Jan
    stoutwooninnovaties.nl

Viewing 3 replies - 1 through 3 (of 3 total)
  • Why not use the built-in features in the WP Editor? Just Click “Add Media,” Insert your image, select the image, click the little link icon in the editor, and enter your desired link destination?

    Thread Starter gevoelvoor

    (@gevoelvoor)

    Thanks for your reply Purcebr,
    The site was built only with html codes. When I use add media, it becomes a frozen picture, while now it’ll first flip when loading the page and when I scroll over it with the mouse it wil enlarge the picture.

    So if you, or someone else knows the code to get it linked to another webpage… Please share.

    What theme is this? that [client] shortcode is implemented as part of the theme, or as part of a plugin – I can’t say without knowing what theme you’re using. I also can’t say what arguments it can accept.

    One quick way to do this would be to wrap the [client][/client] code in an anchor tag:

    <a href="yourlinkhere">[client][/client]</a>

    but it’s possible that there’s a feature in the [client] shortcode that lets you provide a link as an argument, ie [client href="yourlinkhere" src='http://stoutwooninnovatie.nl/wp-content/uploads/ruwi-logo-stout1.png'][/client]

    This looks like it’s a themeforest theme, so I’d recommend reaching out to them, if this is a feature bundled in the theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image with link code? [client][/client]’ is closed to new replies.