Support » Plugin: YOURLS Link Creator » how to edit the style of showig the shortlink?

  • Resolved Amin


    HI there,

    I used <?php yourls_display_box(); ?> to display the shortlinks in my theme files. but it shows a big box which I don’t want. How can I make this something like a hyper link. for example: (shortlink)
    without anything additional.

    just a simple hyperlink.

    I noticed in front.php there is a function responsible for producing the box. But I’m not a developer and cannot understand php code as well.

    Thank you in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Amin


    I found that!

    <a href="<?php get_yourls_shortlink( get_the_ID(), true ); ?>" title="short URL">short URL</a>
    Plugin Author Andrew Norcross





    you may add a how to, about this trick on the FAQ page.


Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.