Title: Link Badges
Author: Marcus Downing
Published: <strong>5. juni 2013</strong>
Last modified: 17. november 2020

---

Søk gjennom innstikk

Dette innstikket **er ikkje testa med dei tre siste utgåvene av WordPress**. Det
kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar
av WordPress.

![](https://s.w.org/plugins/geopattern-icon/link-badges.svg)

# Link Badges

 Av [Marcus Downing](https://profiles.wordpress.org/marcusdowning/)

[Last ned](https://downloads.wordpress.org/plugin/link-badges.zip)

 * [Detaljar](https://nn.wordpress.org/plugins/link-badges/#description)
 * [Omtalar](https://nn.wordpress.org/plugins/link-badges/#reviews)
 *  [Installasjon](https://nn.wordpress.org/plugins/link-badges/#installation)
 * [Utvikling](https://nn.wordpress.org/plugins/link-badges/#developers)

 [Hjelp](https://wordpress.org/support/plugin/link-badges/)

## Skildring

Whenever your content contains a link to a file, this plugin can display:

 * An icon for the link
 * The type of file
 * The size of the file

## Installasjon

 1. Upload the `link-badges` directory to your `/wp-content/plugins/` directory
 2. Activate the plugin through the «Plugins» menu in WordPress

## Vanlege spm.

### How does this plugin know the size of a file?

If the file is on the same server, it looks at it directly on disk. If it’s on another
server somewhere on the internet, it tries to get the size by downloading the file.

The plugin has some memory of the file sizes, so it doesn’t need to do this every
time a page is loaded.

### Can I make it say «Kb» rather than «kB»?

No. This plugin uses the correct units for file sizes.

There’s a setting in the options page to use SI units (based on multiples of 1000)
rather than traditional file size units (based on 1024).

### Can I use CSS to customise the way it’s displayed?

Yes.

    ```
    /* Icons */
    i.link-badge {
      ...
    }

    /* File sizes and types */
    span.link-badges-affix {
      ...
    }
    ```

## Omtalar

There are no reviews for this plugin.

## Bidragsytarar og utviklarar

“Link Badges” is open source software. The following people have contributed to 
this plugin.

Contributors

 *   [ Marcus Downing ](https://profiles.wordpress.org/marcusdowning/)
 *   [ Dani Llewellyn ](https://profiles.wordpress.org/diddledan/)

[Omset “Link Badges” til ditt eige språk.](https://translate.wordpress.org/projects/wp-plugins/link-badges)

### Interested in development?

[Les kjeldekoden](https://plugins.trac.wordpress.org/browser/link-badges/), sjekk
[SVN-lageret](https://plugins.svn.wordpress.org/link-badges/) eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/link-badges/)
med [RSS](https://plugins.trac.wordpress.org/log/link-badges/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.4

 * Improved cache of file sizes
 * Don’t show file sizes for mail links
 * Options for showing decimals
 * Spaces in local vs remote
 * Resolve relative URLs

#### 1.2

 * Filling in missing icons in Font Awesome

#### 1.1

 * Add option to use icon fonts (Dashicons and Font Awesome)
 * More file formats
 * More CSS hook, filters and actions
 * Better i18n
 * Updated admin are to fit the WP 3.8 appearance

#### 1.0

 * First version

## Om

 *  Version **1.4**
 *  Last updated **6 år sidan**
 *  Active installations **10+**
 *  WordPress version ** 3.0 eller nyare **
 *  Tested up to **5.5.0**
 *  Language
 * [English (US)](https://wordpress.org/plugins/link-badges/)
 * Tag
 * [anchor](https://nn.wordpress.org/plugins/tags/anchor/)
 *  [Avansert vising](https://nn.wordpress.org/plugins/link-badges/advanced/)

## Vurderingar

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/link-badges/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/link-badges/reviews/)

## Contributors

 *   [ Marcus Downing ](https://profiles.wordpress.org/marcusdowning/)
 *   [ Dani Llewellyn ](https://profiles.wordpress.org/diddledan/)

## Hjelp

Har du noko å seia? Treng du hjelp?

 [Sjå hjelpeforumet](https://wordpress.org/support/plugin/link-badges/)