• Resolved Amin

    (@aminima)


    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

    https://www.ads-software.com/plugins/yourls-link-creator/

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

    (@aminima)

    I found that!

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

    (@norcross)

    great!

    Thread Starter Amin

    (@aminima)

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

    thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to edit the style of showig the shortlink?’ is closed to new replies.