Title: Responsive Opt-Out
Author: Ulrich
Published: <strong>13 janvāris, 2013</strong>
Last modified: 28 aprīlis, 2013

---

Meklēt spraudņus

Šī spraudnis **nav atjaunināts vairāk kā divus gadus**. Varbūt, tas vairs netiek
uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress
versijām.

![](https://s.w.org/plugins/geopattern-icon/responsive-opt-out.svg)

# Responsive Opt-Out

 Autors [Ulrich](https://profiles.wordpress.org/grapplerulrich/)

[Lejupielādēt](https://downloads.wordpress.org/plugin/responsive-opt-out.zip)

 * [Sīkāka informācija](https://lv.wordpress.org/plugins/responsive-opt-out/#description)
 * [Atsauksmes](https://lv.wordpress.org/plugins/responsive-opt-out/#reviews)
 *  [Uzstādīšana](https://lv.wordpress.org/plugins/responsive-opt-out/#installation)
 * [Attīstība](https://lv.wordpress.org/plugins/responsive-opt-out/#developers)

 [Atbalsts](https://wordpress.org/support/plugin/responsive-opt-out/)

## Apraksts

This simple setup creates a body class called “responsive” and “fixed-width” both
are added to the body class of your Theme. These two classes are used to define 
whether or not the visitor wants a “responsive” environment.

## Uzstādīšana

You can either install it automatically from the WordPress admin, or do it manually:

 1. Unzip the archive and put the `responsive-opt-out` folder into your plugins folder(/
    wp-content/plugins/).
 2. Activate the plugin from the Plugins menu.

#### Buttons

So that you have the buttons to switch you will need this html code. They can be
added anywhere.

    ```
    <a href="#" onclick="return FixedWidth();" class="fixed-width-link">Fixed Width</a>
    <a href="#" onclick="return Responsive()" class="responsive-link">Reponsive</a>
    ```

#### CSS/Styling

This plugin has no css. So that the buttons display in the correct view the following
css need to be added to your theme’s style.css file directly.

    ```
    .responsive .fixed-width-link {
        display: block!important;
    }
    .responsive .responsive-link {
        display: none!important;
    }
    .fixed-width .fixed-width-link {
        display: none!important;
    }
    .fixed-width .responsive-link {
        display: block!important;
    }
    ```

Add the class “.fixed-width” infront of any styles that you add for a fixed width
design and “.responsive” for the responsive design.

[Blog post on intregration with Responsive theme](http://themeid.com/responsive-opt-out-plugin/)

## Atsauksmes

Par šo spraudni nav atsauksmju.

## Autori un izstrādātāji

“Responsive Opt-Out” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši
šādi cilvēki.

Līdzdalībnieki

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

[Tulkot “Responsive Opt-Out&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/responsive-opt-out)

### Vai jūs interesē attīstība?

[Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/responsive-opt-out/),
apmeklējiet[ SVN krātuvi ](https://plugins.svn.wordpress.org/responsive-opt-out/)
vai abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/responsive-opt-out/),
ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/responsive-opt-out/?limit=100&mode=stop_on_copy&format=rss).

## Izmaiņu žurnāls

#### 0.3

Fix setting cookie

#### 0.2

Fix cookie path

#### 0.1

Initial Release

## Meta

 *  Versija **0.3**
 *  Pēdējo reizi atjaunots: **pirms 13 gadiem**
 *  Aktīvās instalācijas: **20+**
 *  WordPress versija ** 3.4 vai jaunāka **
 *  Pārbaudīts līdz: **3.5.2**
 *  Valoda
 * [English (US)](https://wordpress.org/plugins/responsive-opt-out/)
 * Birkas:
 * [opt-out](https://lv.wordpress.org/plugins/tags/opt-out/)[responsive](https://lv.wordpress.org/plugins/tags/responsive/)
 *  [Papildu skats](https://lv.wordpress.org/plugins/responsive-opt-out/advanced/)

## Vērtējumi

 5 no 5 zvaigznēm.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/responsive-opt-out/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/responsive-opt-out/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/responsive-opt-out/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/responsive-opt-out/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/responsive-opt-out/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/responsive-opt-out/reviews/#new-post)

[Skatīt visas atsauksmes](https://wordpress.org/support/plugin/responsive-opt-out/reviews/)

## Līdzdalībnieki

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

## Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

 [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/responsive-opt-out/)

## Ziedojiet

Vai vēlaties atbalstīt šī spraudņa pilnveidošanu?

 [ Ziedojiet šim spraudnim ](http://ulrich.pogson.ch/)