Title: P2P Slides
Author: chrisguitarguy
Published: <strong>22 septembrie 2012</strong>
Last modified: 22 septembrie 2012

---

Caută module

Acest modul **nu a fost testat cu ultimele 3 versiuni importante ale WordPress**.
S-ar putea să nu mai fie întreținut sau susținut și ar putea avea probleme de compatibilitate
când este folosit cu versiuni recente ale WordPress.

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

# P2P Slides

 De [chrisguitarguy](https://profiles.wordpress.org/chrisguitarguy/)

[Descarcă](https://downloads.wordpress.org/plugin/p2p-slides.1.0.zip)

 * [Detalii](https://ro.wordpress.org/plugins/p2p-slides/#description)
 * [Recenzii](https://ro.wordpress.org/plugins/p2p-slides/#reviews)
 *  [Instalare](https://ro.wordpress.org/plugins/p2p-slides/#installation)
 * [Dezvoltare](https://ro.wordpress.org/plugins/p2p-slides/#developers)

 [Suport](https://wordpress.org/support/plugin/p2p-slides/)

## Descriere

**Note:** This plugin requires [Posts 2 Posts](https://wordpress.org/extend/plugins/posts-to-posts/)

Allows you to associate a custom post type („slides”) with any of your other post

types (defaults to „pages”). This is useful for theme developers of those that want
to add custom sliders around your theme.

This plugin does not provide you out of the box front end functionality. If you’re

looking for a drop in and play slider, this isn’t it.

## Capturi ecran

 * [[
 * The meta box.

## Instalare

First, install and active [Posts 2 Posts](https://wordpress.org/extend/plugins/posts-to-posts/).

Then, use the WordPress installer to install this plugin or …

 1. Click the big orrange button to download the plugin
 2. Unzip the plugin files
 3. Upload the `p2p-slides` folder to your `/wp-content/plugins/` directory
 4. Activate the plugin in the admin area

After installing, you should see a new meta box on your edit screen for pages.

If you wish to modify what post types get associated with slides, simply hook
 into`
after_setup_theme` and add theme support for `p2p-slides`.

    ```
    <?php
    add_action('after_setup_theme', 'my_special_setup');
    function my_special_setup()
    {
        // this is the same as just having the plugin installed
        add_theme_support('p2p-slides');

        add_theme_support('p2p-slides', array('a-post-type', 'another-post-type'));
    }
    ```

To use the slides, you’ll need to check the `slides` property of each `$post`.

    ```
    <?php
    // start the loop as normal
    while(have_posts()): the_post();
    ?>

        <?php if($post->slides): ?>
            We have slides! Loop through them.
            <?php foreach($post->slides as $slide): ?>
                Do stuff with $slide here, it's just a post object
            <?php endforeach; ?>
        <?php endif; ?>

    <?php endwhile; ?>
    ```

You can find a more complete example, in the form of a page template for `twentyeleven`
in the P2P Slides’ `inc` directory.

## Întrebări frecvente

  Why no front end prettiness?

Because that’s a theme’s job. This plugin is only meant to provide you with
 tools
to extend your theme or child theme.

  Is this Posts 2 Posts legit?

Yes. [Posts 2 Posts](https://wordpress.org/extend/plugins/posts-to-posts/)
 is amazing.

## Recenzii

Nu există nicio verificare pentru acest modul.

## Contributori și dezvoltatori

„P2P Slides” este un software open-source. La acest modul au contribuit următoarele
persoane.

Contributori

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

[Tradu „P2P Slides” în limba ta.](https://translate.wordpress.org/projects/wp-plugins/p2p-slides)

### Te interesează dezvoltarea?

[Răsfoiește codul](https://plugins.trac.wordpress.org/browser/p2p-slides/), vezi
[depozitarul SVN](https://plugins.svn.wordpress.org/p2p-slides/), sau abonează-te
la [jurnalul de dezvoltare](https://plugins.trac.wordpress.org/log/p2p-slides/) 
prin [RSS](https://plugins.trac.wordpress.org/log/p2p-slides/?limit=100&mode=stop_on_copy&format=rss).

## Istoric modificări

#### 1.0

 * Initial version.

## Meta

 *  Versiunea **1.0**
 *  Ultima actualizare **Acum 14 ani**
 *  Instalări active: **10+**
 *  Versiune WordPress ** 3.4.2 sau mai recentă **
 *  Testat până la **3.5.2**
 *  Limbă
 * [English (US)](https://wordpress.org/plugins/p2p-slides/)
 * Etichete
 * [posts to posts](https://ro.wordpress.org/plugins/tags/posts-to-posts/)[slider](https://ro.wordpress.org/plugins/tags/slider/)
   [slides](https://ro.wordpress.org/plugins/tags/slides/)
 *  [Vizualizare avansată](https://ro.wordpress.org/plugins/p2p-slides/advanced/)

## Evaluări

Nu a fost trimisă nicio recenzie până acum.

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

[Vezi toate recenziile](https://wordpress.org/support/plugin/p2p-slides/reviews/)

## Contributori

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

## Suport

Ai ceva de zis? Ai nevoie de ajutor?

 [Vezi forumul pentru suport](https://wordpress.org/support/plugin/p2p-slides/)

## Donează

Vrei să sprijini dezvoltarea acestui modul?

 [ Donează pentru acest modul ](http://www.pwsausa.org/give.htm)