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

  • 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://wordpress.org/plugins/yourls-link-creator/

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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!

    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)
  • You must be logged in to reply to this topic.