Title: LiveJournal Shortcode
Author: dmonnier
Published: <strong>5. april, 2013</strong>
Last modified: 19. april, 2014

---

Søg plugins

![](https://ps.w.org/livejournal-shortcode/assets/banner-772x250.jpg?rev=692309)

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# LiveJournal Shortcode

 Af [dmonnier](https://profiles.wordpress.org/dmonnier/)

[Download](https://downloads.wordpress.org/plugin/livejournal-shortcode.1.1.1.zip)

 * [Detaljer](https://da.wordpress.org/plugins/livejournal-shortcode/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/livejournal-shortcode/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/livejournal-shortcode/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/livejournal-shortcode/#developers)

 [Support](https://wordpress.org/support/plugin/livejournal-shortcode/)

## Beskrivelse

Links to LiveJournals have a very distinctive look: the icon followed by the journal
name. This shortcode follows the same format as LiveJournal’s own markup and provides
the same results, which you can easily customize with your own CSS styles.

## Skærmbilleder

[⌊An example result.⌉⌊An example result.⌉[

An example result.

## Installation

 1. Upload `shortcode-lj` to your `/wp-content/plugins` directory.
 2. Activate the plugin through the “Plugins” menu in your WordPress admin.

To use the shortcode, anywhere you want a LJ link:

    ```
    [lj user="frank"]
    ```

or

    ```
    [lj user="frank" title="Frank the Goat"]
    ```

or

    ```
    [lj user="lj-maintenance" title="LiveJournal Maintenance" icon="community"]
    ```

The `user` parameter is required. It is the actual name of the journal and can be
found from the URL when you visit that journal’s page. For example, Frank the Goat’s
journal is at http://frank.livejournal.com and his username is “frank”. If you do
not specify the `user` parameter, the shortcode will result in a red error message
to let you know to fix it.

The `title` parameter is optional and controls the formatting of the visible link
text on your page. By default, the `user` parameter will be used for the link text
unless the `title` parameter is specified. For example, if you want the text to 
read “Frank the Goat’s Totally Awesome LiveJournal” instead of just “Frank”, put
that in the `title` parameter.

The `icon` parameter is optional and indicates what kind of LiveJournal this journal
is. Valid options are `user`, `community`, and `news`. Defaults to `user`.

## FAQ

  Can I use this shortcode in excerpts, comments, and/or widgets?

YES! Simply add the following four lines to your functions.php:

    ```
    add_filter( 'widget_text', 'shortcode_unautop');
    add_filter( 'widget_text', 'do_shortcode', 11);
    add_filter( 'the_excerpt', 'do_shortcode', 11);
    add_filter( 'comment_text', 'do_shortcode', 11);
    ```

  How do I customize the link or icon used?

The included stylesheet `style.css` and default LiveJournal icons are easily edited
and/or replaced.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“LiveJournal Shortcode” er open source-software. Følgende personer har bidraget 
til dette plugin.

Bidragsydere

 *   [ dmonnier ](https://profiles.wordpress.org/dmonnier/)

[Oversæt “LiveJournal Shortcode” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/livejournal-shortcode)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/livejournal-shortcode/),
tjek [SVN repository](https://plugins.svn.wordpress.org/livejournal-shortcode/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/livejournal-shortcode/)
via [RSS](https://plugins.trac.wordpress.org/log/livejournal-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.1

 * Added ability to choose icon type (user, community, news).
 * Removed solid white background behind links.

#### 1.0

 * Plug-in created.

## Meta

 *  Version **1.1.1**
 *  Senest opdateret **12 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 2.5 eller højere **
 *  Testet op til **3.9.40**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/livejournal-shortcode/)
 * Tags
 * [livejournal](https://da.wordpress.org/plugins/tags/livejournal/)[shortcode](https://da.wordpress.org/plugins/tags/shortcode/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/livejournal-shortcode/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Din anmeldelse](https://wordpress.org/support/plugin/livejournal-shortcode/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/livejournal-shortcode/reviews/)

## Bidragsydere

 *   [ dmonnier ](https://profiles.wordpress.org/dmonnier/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/livejournal-shortcode/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SGK5F3QQASDXS)