Title: Notices API
Author: danielbitzer
Published: <strong>ઓગસ્ટ 9, 2014</strong>
Last modified: ઓગસ્ટ 9, 2014

---

પ્લગીન શોધો

આ પલ્ગઇન ** 2 વર્ષથી વધુમાં અપડેટ કરવામાં આવ્યો નથી **. એ કદાચ જાળવવામાં અથવા સપોર્ટેડ
નહી હોય. વર્ડપ્રેસ ના વધુ તાજેતરનાં સંસ્કરણો સાથે ઉપયોગમાં લેવાય તો સુસંગતતા મુદ્દાઓ
હોઈ શકે છે.

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

# Notices API

 [danielbitzer](https://profiles.wordpress.org/danielbitzer/) દ્વારા

[ડાઉનલોડ](https://downloads.wordpress.org/plugin/notices-api.zip)

 * [વિગતો](https://gu.wordpress.org/plugins/notices-api/#description)
 * [સમીક્ષાઓ](https://gu.wordpress.org/plugins/notices-api/#reviews)
 *  [સ્થાપન](https://gu.wordpress.org/plugins/notices-api/#installation)
 * [ડેવલપમેન્ટ](https://gu.wordpress.org/plugins/notices-api/#developers)

 [સપોર્ટ](https://wordpress.org/support/plugin/notices-api/)

## વર્ણન

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;
    }
    ```

## સ્થાપન

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!

## સમીક્ષાઓ

![](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, 2016

Easy to install and setup!

 [ 1 સમીક્ષાઓ વાંચો ](https://wordpress.org/support/plugin/notices-api/reviews/)

## ફાળો આપનાર & ડેવલપર્સ

આ ઓપન સોર્સ સોફ્ટવેર છે. નીચેના લોકો એ આ પ્લગિન માટે ફાળો આપ્યો છે.

ફાળો આપનારા

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

[“Notices API” ને તમારી ભાષામાં અનુવાદ કરો.](https://translate.wordpress.org/projects/wp-plugins/notices-api)

### વિકાસમાં રસ ધરાવો છો?

[કોડ બ્રાઉઝ કરો](https://plugins.trac.wordpress.org/browser/notices-api/), જોવો[અસ્વીએન રેપોઝિટરીમાંથી](https://plugins.svn.wordpress.org/notices-api/),
અથવા સબ્સ્ક્રાઇબ કરો[ડેવલપમેન્ટ](https://plugins.trac.wordpress.org/log/notices-api/)
દ્વારા[આરઅસઅસ](https://plugins.trac.wordpress.org/log/notices-api/?limit=100&mode=stop_on_copy&format=rss).

## ચેન્જલૉગ

#### 1.0

 * First version pushed to WordPress plugin repository.

## મેટા

 *  વર્ઝન **1.0**
 *  છેલ્લી અપડેટ: **12 વર્ષ પહેલા**
 *  સક્રિય સ્થાપનો: **10+**
 *  વર્ડપ્રેસ વર્ઝન ** 3.0 અથવા ઉચ્ચતર **
 *  **3.9.40** સુધી પરીક્ષણ કર્યું
 *  ભાષા
 * [English (US)](https://wordpress.org/plugins/notices-api/)
 * ટૅગ્સ:
 * [alerts](https://gu.wordpress.org/plugins/tags/alerts/)[notices](https://gu.wordpress.org/plugins/tags/notices/)
 *  [વિગતવાર દૃશ્ય](https://gu.wordpress.org/plugins/notices-api/advanced/)

## પૉઇન્ટ્સ

 5 out of 5 stars.

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

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

[બધા  સમીક્ષાઓ જુઓ](https://wordpress.org/support/plugin/notices-api/reviews/)

## ફાળો આપનારા

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

## સપોર્ટ

કંઈક કહેવું છે? મદદ જોઈએ છે?

 [આધાર ફોરમ જુઓ](https://wordpress.org/support/plugin/notices-api/)