Plugin info

Total downloads: 857
Active installs: 0
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 3/6/2018 (2856 days ago)
Added to WordPress: 3/6/2018 (7 years old)
Minimum WordPress version: 4.5
Tested up to WordPress version: 4.9.28
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 2856 days ago

20/100

Is Violet Custom Post Meta abandoned?

Possibly abandoned (last update 2856 days ago).

Compatibility

Requires WordPress: 4.5
Tested up to: 4.9.28
Requires PHP: f

Developers

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Meta Box
Rating 4.8/5 (161 reviews)Active installs 500,000
Pods – Custom Content Types and Fields
Rating 4.8/5 (414 reviews)Active installs 100,000
CubeWP – All-in-One Dynamic Content Framework
Rating 4.8/5 (12 reviews)Active installs 5,000
Custom post types, Custom Fields & more
Rating 4.6/5 (56 reviews)Active installs 3,000
LIQUID TOOLS – Simple Custom Fields & Custom Post Types
Rating 0.0/5 (0 reviews)Active installs 70
MB ACF Migration
Rating 0.0/5 (0 reviews)Active installs 30

Description

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.

Installation

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

Frequently Asked Questions

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() );
    }
?>

Review feed

No reviews available

Screenshots

  1. Supports input type text, radio, checkbox, range.

    Supports input type text, radio, checkbox, range.

  2. Portfolio Category and Image picker.

    Portfolio Category and Image picker.

  3. Field type checkbox, radio.

    Field type checkbox, radio.

  4. Field type select option.

    Field type select option.

  5. General meta box register args.

    General meta box register args.

Changelog

1.0

Initial release.