Title: Violet Custom Post Meta
Author: Rakib
Published: <strong>মাৰ্চ 6, 2018</strong>
Last modified: মাৰ্চ 6, 2018

---

প্লাগিনৰ সন্ধান কৰক

![](https://ps.w.org/wp-violet/assets/banner-772x250.jpg?rev=1834742)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/wp-violet/assets/icon-128x128.jpg?rev=1834744)

# Violet Custom Post Meta

 [Rakib](https://profiles.wordpress.org/serakib/)-ৰ দ্বাৰা

[ডাউনল’ড কৰক](https://downloads.wordpress.org/plugin/wp-violet.zip)

 * [বিশদ বিৱৰণ](https://as.wordpress.org/plugins/wp-violet/#description)
 * [পৰ্য্যালোচনা](https://as.wordpress.org/plugins/wp-violet/#reviews)
 *  [ইনষ্টলেশ্যন](https://as.wordpress.org/plugins/wp-violet/#installation)
 * [বিকাশ](https://as.wordpress.org/plugins/wp-violet/#developers)

 [সাহায্য](https://wordpress.org/support/plugin/wp-violet/)

## বৰ্ণনা

To avoid plugin territory warning for CPT and Meta Boxes, This is a great choice
for you. Violet Custom Post Meta adds necessary CPT, Meta, Texonomy to develop awesome
portfolio theme.

Post Types:

 * services
 * skill
 * portfolio
 * testimonial
 * team
 * partner

Note that this plugin function can be modify as your choice by filter Hooks.

Hook Lists :

    ```
    vcpm_{post_type}_params //to modify post type args.
    vcpm_portfolio_category_params //to modify portfolio texonomy.
    vcpm_meta_fields_{post_type} //provides ability to add, remove, modify meta fields.
    vcpm_meta_box //Provides ability to create, delete and modify meta box.
    vcpm_meta_fields_control //Fields styte, presentation can be modify.
    ```

## স্ক্ৰীনশ্বট

[⌊Supports input type text, radio, checkbox, range.⌉⌊Supports input type text, radio,
checkbox, range.⌉[

Supports input type text, radio, checkbox, range.

[⌊Portfolio Category and Image picker.⌉⌊Portfolio Category and Image picker.⌉[

Portfolio Category and Image picker.

[⌊Field type checkbox, radio.⌉⌊Field type checkbox, radio.⌉[

Field type checkbox, radio.

[⌊Field type select option.⌉⌊Field type select option.⌉[

Field type select option.

[⌊General meta box register args.⌉⌊General meta box register args.⌉[

General meta box register args.

## ইনষ্টলেশ্যন

Just install and active the plugin. Custom meta you can use in you theme as by wordpress
rules.

Meta fields list can be checked by plugins `/includes/class-vcpm-meta.php`

## সঘনাই উত্থাপিত প্ৰশ্ন

  Installation Instructions

Just install and active the plugin. Custom meta you can use in you theme as by wordpress
rules.

Meta fields list can be checked by plugins `/includes/class-vcpm-meta.php`

  Can I use both Portfolio image and link?

No, When you select portfolio image, Portfolio link would be hidden.

  How to modify meta box render style

Use vcpm_meta_fields_control hook. It accept max 3 arguments ($html,$fields,$post).

    ```
    <?php
        function example_callback( $html, $fields, $post ) {
            foreach ($fields as $field) {
                $value = get_post_meta($post->ID, $field['id'], true);
                // Actions you need to do
            }
            return $html;
        }
        add_filter( 'vcpm_meta_fields_control', 'example_callback' 1, 3 );
    ?>
    ```

  I need samply query code

Hear is sample query code for portfolio post types and their meta.

    ```
    <?php
    //Portfolio post and meta query
    $args = array( 'post_type' => 'portfolio');
    $loop = new WP_Query( $args );
    while ( $loop->have_posts() ) : $loop->the_post();
        $post_id = get_the_ID();
        $terms = get_the_terms( $post_id, 'portfolio_category' );
        $post_custom = get_post_custom($post_id);
        $portfolio_title = get_the_title();
        $portfolio_sub = $post_custom["sub_name"][0];
        $portfolio_img = $post_custom["portfolio_img"][0];
        $portfolio_link = esc_url($post_custom["portfolio_link"][0]);
        $portfolio_thumb_url = '';
            $portfolio_thumb_url = wp_get_attachment_url( get_post_thumbnail_id() );
        }
    ?>
    ```

## পৰ্য্যালোচনা

এই প্লাগিনৰ বাবে কোনো পৰ্য্যালোচনা নাই।

## অৱদানকাৰী আৰু বিকাশকাৰীসকল

“Violet Custom Post Meta” হৈছে মুক্ত উৎসৰ ছফ্টৱেৰ। এইসকল লোকে এই প্লাগিনত অৱদান 
আগবঢ়াইছে।

অৱদানকাৰীসকল

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

[আপোনাৰ ভাষাত “Violet Custom Post Meta” অনুবাদ কৰক।](https://translate.wordpress.org/projects/wp-plugins/wp-violet)

### বিকাশৰ প্ৰতি আগ্ৰহী?

[ক’ড ব্ৰাউজ কৰক](https://plugins.trac.wordpress.org/browser/wp-violet/), [SVN ৰিপজিটৰী](https://plugins.svn.wordpress.org/wp-violet/)
চাওক নাইবা [RSS](https://plugins.trac.wordpress.org/log/wp-violet/?limit=100&mode=stop_on_copy&format=rss)-
দ্বাৰা [বিকাশৰ পঞ্জী](https://plugins.trac.wordpress.org/log/wp-violet/) ছাবস্ক্ৰাইব
কৰক।

## সলনি-পঞ্জী

#### 1.0

Initial release.

## মেটা

 *  **1.0.0** সংস্কৰণ
 *  **8 বছৰ আগত** শেষবাৰ আপডে’ট হৈছিল
 *  সক্ৰিয় ইনষ্টলেশ্যন **10টাতকৈ কম**
 *  WordPress-ৰ সংস্কৰণ ** 4.5 বা তাতকৈ ওপৰৰ **
 *  ইমানলৈকে পৰীক্ষা কৰা হৈছে **4.9.31**
 *  ভাষা
 * [English (US)](https://wordpress.org/plugins/wp-violet/)
 * [custom fields](https://as.wordpress.org/plugins/tags/custom-fields/)[custom post types](https://as.wordpress.org/plugins/tags/custom-post-types/)
   [Custom Taxonomies](https://as.wordpress.org/plugins/tags/custom-taxonomies/)
 *  টেগবোৰ
 *  [উচ্চখাপৰ ভিউ](https://as.wordpress.org/plugins/wp-violet/advanced/)

## ৰে’টিংবোৰ

এতিয়ালৈ কোনো পৰ্য্যালোচনা দাখিল কৰা হোৱা নাই।

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

[সকলো পৰ্য্যালোচনা চাওক](https://wordpress.org/support/plugin/wp-violet/reviews/)

## অৱদানকাৰীসকল

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

## সাহায্য

কিবা ক’বলগীয়া আছে? সহায় লাগে?

 [সাহায্যৰ ফ’ৰাম চাওক](https://wordpress.org/support/plugin/wp-violet/)

## দান কৰক

আপুনি এই প্লাগিনৰ উন্নতিৰ প্ৰতি সাহায্য আগবঢ়াব বিচাৰেনে?

 [ এই প্লাগিনক অনুদান দিয়ক ](http://www.rakibhossain.cf)