Title: LibWp
Author: Mostafa Soufi
Published: <strong>جولائی 19, 2012</strong>
Last modified: اپریل 4, 2021

---

پلگ انز تلاش کریں

یہ پلگ ان **ورڈپریس کے تازہ ترین 3 ریلیزوں کے ساتھ ٹیسٹ نہیں کیا گیا ہے**۔ اب یہ
برقرار نہیں رکھا جا سکتا یا معاونت نہیں کی جا سکتی اور اس کو ورڈپریس کے تازہ ترین
ورژنز کے ساتھ استعمال کیے جانے پر مطابقت کے مسائل ہو سکتے ہیں۔

![](https://ps.w.org/libwp/assets/icon-256x256.png?rev=1043606)

# LibWp

 منجانب [Mostafa Soufi](https://profiles.wordpress.org/mostafas1990/)

[ڈاؤن لوڈ کریں](https://downloads.wordpress.org/plugin/libwp.2.2.zip)

 * [تفصیلات](https://ur.wordpress.org/plugins/libwp/#description)
 * [جائزے](https://ur.wordpress.org/plugins/libwp/#reviews)
 *  [انسٹالیشن](https://ur.wordpress.org/plugins/libwp/#installation)
 * [ڈیولپمنٹ](https://ur.wordpress.org/plugins/libwp/#developers)

 [معاونت](https://wordpress.org/support/plugin/libwp/)

## تفصیل

Provide some simple functionality to register some hooks that could not register
inside the WordPress themes

### Quick Start

Get instance of main class.

    ```
    LibWp();
    ```

**Post type**

    ```
    LibWp()->postType();
    ```

**Taxonomy**

    ```
    LibWp()->taxonomy();
    ```

### Register a new taxonomy

    ```
    LibWp()->postType()
        ->setName('book')
        ->setLabels([
            'name'          => _x('Books', 'Post type general name', 'textdomain'),
            'singular_name' => _x('Book', 'Post type singular name', 'textdomain'),
            'menu_name'     => _x('Books', 'Admin Menu text', 'textdomain'),
            'add_new'       => __('Add New', 'textdomain'),
            'edit_item'     => __('Edit Book', 'textdomain'),
            'view_item'     => __('View Book', 'textdomain'),
            'all_items'     => __('All Books', 'textdomain'),
        ])
        ->setFeatures([
            'title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments'
        ])
        ->setArgument('show_ui', true)
        ->register();
    ```

### Register a new taxonomy belongs to previous post type

    ```
    LibWp()->taxonomy()
        ->setName('types')
        ->setPostTypes('book')
        ->setArgument('show_in_rest', true)
        ->setLabels([
            'name'          => _x('Types', 'taxonomy general name', 'textdomain'),
            'singular_name' => _x('Type', 'taxonomy singular name', 'textdomain'),
            'search_items'  => __('Search Types', 'textdomain'),
            'all_items'     => __('All Types', 'textdomain'),
            'edit_item'     => __('Edit Type', 'textdomain'),
            'add_new_item'  => __('Add New Type', 'textdomain'),
            'new_item_name' => __('New Type Name', 'textdomain'),
            'menu_name'     => __('Types', 'textdomain'),
        ])
        ->register();
    ```

## انسٹالیشن

 1. Upload `libwp` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## جائزے

There are no reviews for this plugin.

## شراکت دار اور ڈیویلپرز

“LibWp” اوپن سورس سافٹ ویئر ہے۔ مندرجہ ذیل لوگوں نے اس پلگ ان میں حصہ لیا:

شراکت دار

 *   [ Mostafa Soufi ](https://profiles.wordpress.org/mostafas1990/)
 *   [ Navid Kashani ](https://profiles.wordpress.org/kashani/)
 *   [ VeronaLabs ](https://profiles.wordpress.org/veronalabs/)

[“LibWp” کا اپنی زبان میں ترجمہ کریں۔](https://translate.wordpress.org/projects/wp-plugins/libwp)

### ڈویلپمینٹ میں دلچسپی ہے؟

[کوڈ براؤز کریں](https://plugins.trac.wordpress.org/browser/libwp/)، [ایس این وی ریپوزیٹری](https://plugins.svn.wordpress.org/libwp/)
کو چیک کریں یا [ڈویلپمینٹ لاگ](https://plugins.trac.wordpress.org/log/libwp/) کو
سبسکرائب کریں بذریعہ [آر ایس ایس](https://plugins.trac.wordpress.org/log/libwp/?limit=100&mode=stop_on_copy&format=rss)۔

## چینج لاگ

#### 2.2

 * Added support filters post type and taxonomy
 * Registered an example of post type & taxonomy after plugin initialization.

#### 2.1

 * Added support custom argument for register the taxonomy

#### 2.0

 * Changed the structure fo boilerplate

#### 1.0

 * Initial the plugin

## میٹا

 *  Version **2.2**
 *  Last updated **5 سال پہلے**
 *  Active installations **400+**
 *  WordPress version ** 3.0 یا اس سے جدید **
 *  Tested up to **5.6.17**
 *  PHP version ** 7.1 یا اس سے جدید **
 *  Language
 * [English (US)](https://wordpress.org/plugins/libwp/)
 * Tags
 * [functionality](https://ur.wordpress.org/plugins/tags/functionality/)[library](https://ur.wordpress.org/plugins/tags/library/)
   [post type](https://ur.wordpress.org/plugins/tags/post-type/)[taxonomy](https://ur.wordpress.org/plugins/tags/taxonomy/)
   [theme](https://ur.wordpress.org/plugins/tags/theme/)
 *  [اعلی درجے کا منظر](https://ur.wordpress.org/plugins/libwp/advanced/)

## درجہ بندیاں

 4 out of 5 stars.

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

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

[See all reviews](https://wordpress.org/support/plugin/libwp/reviews/)

## شراکت دار

 *   [ Mostafa Soufi ](https://profiles.wordpress.org/mostafas1990/)
 *   [ Navid Kashani ](https://profiles.wordpress.org/kashani/)
 *   [ VeronaLabs ](https://profiles.wordpress.org/veronalabs/)

## معاونت

کچھ کہنا ہے؟ مدد چاہیے؟

 [معاونتی فورم دیکھیں](https://wordpress.org/support/plugin/libwp/)

## عطیہ دیں

کیا آپ اس پلگ ان کی ترقی میں معاونت کرنا چاہتے ہیں؟

 [ اس پلگ ان کو عطیہ دیں ](https://wp-sms-pro.com/donate)