Title: Landing sites
Author: SomeUser
Published: <strong>24. oktober, 2008</strong>
Last modified: 6. november, 2015

---

Søg plugins

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/landing-sites.svg)

# Landing sites

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

[Download](https://downloads.wordpress.org/plugin/landing-sites.zip)

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

 [Support](https://wordpress.org/support/plugin/landing-sites/)

## Beskrivelse

When visitors is referred to your site from a search engine, they are definitely
looking for something specific – often they just roughly check the page they land
on and then closes the window if what they are looking for isn’t there. Why not 
help them by showing them related posts to their search on your blog? This plugin
lets you do that, works with a long list of search engines!

### Details on functions

    ```
    ls_getinfo('isref')
    ```

Returning true if the referrer is a supported search engine – used as a conditional
tag

    ```
    ls_getinfo('terms')
    ```

Outputs the search terms

    ```
    ls_getinfo('referrer')
    ```

Outputs a link to the referring search engine

    ```
    ls_related()
    ```

Outputs the list of related posts. This can be customized by passing variables to
it. ls_related(‘limit’, ‘length’, ‘before title’, ‘after title’, ‘before post’, ‘
after post’, ‘show password protected posts’, ‘show post excerpts’).

    ```
    ls_search_engines()
    ```

Outputs links to other search engines results. This can be customized by passing
variables to it. ls_search_engines(‘before_title’, ‘after_title’).

In the code example in the FAQ, it outputs 5 related posts, 10 words per excerpt(
if excerpts are enabled), list item start before title, list item close after post
title, no content before and after posts, doesn’t show password protected posts 
and doesn’t show excerpts.

## Skærmbilleder

[⌊A website showing related post when a visitor has searched for "landing sites 
screenshot"⌉⌊A website showing related post when a visitor has searched for "landing
sites screenshot"⌉[

A website showing related post when a visitor has searched for “landing sites screenshot”

## Installation

 1. Upload the folder `landing-sites` to your `/wp-content/plugins/` directory
 2. Activate the plugin
 3. Check FAQ to show the related posts list

## FAQ

  How to show the related posts list?

Add this code (in your index.php or somewhere else):

    ```
    <?php if (ls_getinfo('isref')) : ?>
       <h2><?php ls_getinfo('terms'); ?></h2>
       <p>You came here from <?php ls_getinfo('referrer'); ?> searching for <i><?php ls_getinfo('terms'); ?></i>. These posts might be of interest:</p>
       <ul>
         <?php ls_related(5, 10, '<li>', '</li>', '', '', false, false); ?>
       </ul>
    <?php endif; ?>
    ```

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

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

Bidragsydere

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

[Oversæt “Landing sites” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/landing-sites)

### Interesseret i udvikling?

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

## Meta

 *  Version **1.5.2**
 *  Senest opdateret **11 år siden**
 *  Aktive installationer **80+**
 *  WordPress-version ** 2.0.2 eller højere **
 *  Testet op til **4.3.34**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/landing-sites/)
 * Tags
 * [google](https://da.wordpress.org/plugins/tags/google/)[referer](https://da.wordpress.org/plugins/tags/referer/)
   [related](https://da.wordpress.org/plugins/tags/related/)[search](https://da.wordpress.org/plugins/tags/search/)
   [seo](https://da.wordpress.org/plugins/tags/seo/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/landing-sites/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

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

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

## Bidragsydere

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

## Support

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

 [Vis supportforum](https://wordpress.org/support/plugin/landing-sites/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](http://wordpress.org/donate/)