Title: Notices API
Author: danielbitzer
Published: <strong>9 Ağustos 2014</strong>
Last modified: 9 Ağustos 2014

---

Eklentilerde ara

Bu eklenti, **WordPress’in son 3 ana dağıtımı ile test edilmemiş**. Artık bakımı
yapılmıyor veya desteklenmiyor olabilir ve WordPress’in daha güncel sürümleriyle
birlikte kullanıldığında uyumluluk sorunları olabilir.

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

# Notices API

 [danielbitzer](https://profiles.wordpress.org/danielbitzer/) tarafından

[İndir](https://downloads.wordpress.org/plugin/notices-api.zip)

 * [Detaylar](https://tr.wordpress.org/plugins/notices-api/#description)
 * [Değerlendirmeler](https://tr.wordpress.org/plugins/notices-api/#reviews)
 *  [Kurulum](https://tr.wordpress.org/plugins/notices-api/#installation)
 * [Geliştirme](https://tr.wordpress.org/plugins/notices-api/#developers)

 [Destek](https://wordpress.org/support/plugin/notices-api/)

## Açıklama

This is a very simple WordPress plugin for creating frontend notices server side
or client side. There are 4 notice types by default _success, error, warning, general_
or you can create custom notice types. Server side notices are stored in the session
until displayed.

This plugin hopes to one day solve the problem of complex WordPress sites with multiple
plugins all having their own Notices that all require styling.

But for now, the Notices API is useful tool for developers creating custom functionality
in their theme.

**Server Side Usage**

    ```
    <?php
        WP_Notices::success( $title, $message, $timer, $priority ); 
        WP_Notices::warning( 'Login Failed', 'You have entered an incorrect Username or password, please try again.'); 
        WP_Notices::error(  $title, $message, $timer, $priority ); 
        WP_Notices::general(  $title, $message, $timer, $priority ); 
        WP_Notices::custom( $type, $title, $message, $timer, $priority );
    ?>
    ```

**Client Side Usage**

    ```
    jQuery(document).ready(function($){

        $.WP_Notices.success( title,message, scroll_to, timer, callback );
        $.WP_Notices.error( title, message, scroll_to, timer, callback );
        $.WP_Notices.general( title, message, scroll_to, timer, callback );
        $.WP_Notices.warning( title, message, scroll_to, timer, callback );

        // Custom type
        $.WP_Notices.render_notice( type, title, message, scroll_to, timer, callback );

        // Using the callback parameter
        $.WP_Notices.warning( 'Form Error', 'Invalid form input.', false, 3000, function( $notice ) {
            console.log( $notice );
        });

    });
    ```

**Options**

    ```
    add_filter( 'notice_api_options', 'customize_notice_options' );

    function customize_notice_options( $options )
    {
        $options = array(
            'prepend_selector' => '#content',
            'container_class' => 'notices-container',
            'before_title' => '<strong>',
            'after_title' => ':</strong> ',
            'scrolling_speed' => 500,
        );
        return $options;
    }
    ```

## Yükleme

This section describes how to install the plugin and get it working.

e.g.

 1. Upload the plugin directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Create some notices in your code!

## İncelemeler

![](https://secure.gravatar.com/avatar/29d3665095cc82a57fcf3d65b2ec685e5f62276e8fdbb61bc7c2314fa186be65?
s=60&d=retro&r=g)

### 󠀁[Easy to install](https://wordpress.org/support/topic/easy-to-install-15/)󠁿

 [jokari4242](https://profiles.wordpress.org/jokari4242/) 3 Eylül 2016

Easy to install and setup!

 [ 1 incelemeyi oku ](https://wordpress.org/support/plugin/notices-api/reviews/)

## Katkıda Bulunanlar ve Geliştiriciler

“Notices API” açık kaynaklı yazılımdır. Aşağıdaki kişiler bu eklentiye katkıda bulunmuşlardır.

Katkıda bulunanlar

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

[“Notices API” eklentisini dilinize çevirin.](https://translate.wordpress.org/projects/wp-plugins/notices-api)

### Geliştirmeyle ilgilenir misiniz?

[Kodu görüntüleyin](https://plugins.trac.wordpress.org/browser/notices-api/), [SVN deposuna](https://plugins.svn.wordpress.org/notices-api/)
göz atın ya da [RSS](https://plugins.trac.wordpress.org/log/notices-api/?limit=100&mode=stop_on_copy&format=rss)
ile [geliştirme günlüğüne](https://plugins.trac.wordpress.org/log/notices-api/) 
abone olun.

## Değişiklik Kaydı

#### 1.0

 * First version pushed to WordPress plugin repository.

## Meta

 *  Sürüm **1.0**
 *  Son güncelleme **12 yıl önce**
 *  Etkin kurulumlar **10+**
 *  WordPress sürümü ** 3.0 veya üstü **
 *  Test edilen sürüm **3.9.40**
 *  Dil
 * [English (US)](https://wordpress.org/plugins/notices-api/)
 * Etiketler
 * [alerts](https://tr.wordpress.org/plugins/tags/alerts/)[notices](https://tr.wordpress.org/plugins/tags/notices/)
 *  [Gelişmiş görünüm](https://tr.wordpress.org/plugins/notices-api/advanced/)

## Puanlar

 5 üzerinden 5 yıldız.

 *  [  1 5 yıldızlı inceleme     ](https://wordpress.org/support/plugin/notices-api/reviews/?filter=5)
 *  [  0 4 yıldızlı inceleme     ](https://wordpress.org/support/plugin/notices-api/reviews/?filter=4)
 *  [  0 3 yıldızlı inceleme     ](https://wordpress.org/support/plugin/notices-api/reviews/?filter=3)
 *  [  0 2 yıldızlı inceleme     ](https://wordpress.org/support/plugin/notices-api/reviews/?filter=2)
 *  [  0 1 yıldızlı inceleme     ](https://wordpress.org/support/plugin/notices-api/reviews/?filter=1)

[Değerlendirmeniz](https://wordpress.org/support/plugin/notices-api/reviews/#new-post)

[Tüm değerlendirmeleri gör](https://wordpress.org/support/plugin/notices-api/reviews/)

## Katkıda bulunanlar

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

## Destek

Söyleyeceğiniz bir şey mi var? Yardım mı lazım?

 [Destek forumunu görüntüle](https://wordpress.org/support/plugin/notices-api/)