{"id":27229,"date":"2014-01-30T20:57:10","date_gmt":"2014-01-30T20:57:10","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/zillaportfolio\/"},"modified":"2016-03-31T15:27:44","modified_gmt":"2016-03-31T15:27:44","slug":"zillaportfolio","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/zillaportfolio\/","author":6600595,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"trunk","tested":"4.5.33","requires":"3.5","requires_php":"","requires_plugins":"","header_name":"Zilla Portfolio","header_author":"Mark Southard for ThemeZilla","header_description":"","assets_banners_color":"aeaeae","last_updated":"2016-03-31 15:27:44","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/themezilla.com\/plugins\/zilla-portfolio","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":400,"downloads":13609,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1013529","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1794,92,789,73699,73698],"plugin_category":[43,50],"plugin_contributors":[81460],"plugin_business_model":[],"class_list":["post-27229","plugin","type-plugin","status-publish","hentry","plugin_tags-custom-post-type","plugin_tags-custom-taxonomy","plugin_tags-portfolio","plugin_tags-theme-zilla","plugin_tags-themezilla","plugin_category-customization","plugin_category-media","plugin_contributors-mbsatunc","plugin_committers-mbsatunc"],"banners":{"banner":"https:\/\/ps.w.org\/zillaportfolio\/assets\/banner-772x250.png?rev=1013529","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/zillaportfolio_aeaeae.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin adds the portfolio custom post type to your WordPress blog. By default, the plugin will append portfolio meta information (client, date, and project URL) to the portfolio post. It will prepend media elements (gallery, audio and video media) to portfolio posts.<\/p>\n\n<h3>Creating Themes for this Plugin<\/h3>\n\n<p>There are several handy bits that you can use within your theme:\n1. By default, the portfolio posts are displayed in the portfolio archive. However, you may want to create a custom page template that will display your portfolio posts. As such, you'll need to disable the archives. In your theme's function file, use the following code: <code>&lt;?php if( !defined('TZP_DISABLE_ARCHIVE') ) define('TZP_DISABLE_ARCHIVE', TRUE); ?&gt;<\/code>\nThis will enable child themes to enable the portfolio archives if desired.\n2. Set custom slugs for 'portfolio' and 'portfolio-type' by defining constants for: <code>TZP_SLUG<\/code> and <code>TZP_TAX_SLUG<\/code>. After defining the constants, save the Permalink Settings. Also, define the constants as above to allow a child theme to customize the slugs.\n3. There are several actions and filters available for adding additional custom fields to the existings metaboxes. Have a look through metaboxes.php to see how these all play together.\n4. To prevent the media and meta from being added to the_content(), remove these filters: <code>tzp_add_portfolio_post_media<\/code> and <code>tzp_add_portfolio_post_meta<\/code>\n5. To update the image size used for galleries add a filter to 'tzp_set_gallery_image_size'. Pass the string name or an array of the image size to be used.<\/p>\n\n<h3>Complete List of Constants and Actions\/Filters<\/h3>\n\n<p><em>Constants<\/em><\/p>\n\n<ul>\n<li><code>TZP_DISABLE_CSS<\/code> set to true to prevent plugin from loading basic CSS<\/li>\n<li><code>TZP_PORTFOLIO_ORDER<\/code> default is 'ASC'<\/li>\n<li><code>TZP_PORTFOLIO_ORDERBY<\/code> default is 'menu_order'<\/li>\n<li><code>TZP_DISABLE_ARCHIVE<\/code> default is false<\/li>\n<li><code>TZP_SLUG<\/code> default is 'portfolio'<\/li>\n<li><code>TZP_DISABLE_REWRITE<\/code><\/li>\n<li><code>TZP_TAX_SLUG<\/code><\/li>\n<li><code>TZP_DISABLE_MEDIAELEMENT_STYLE<\/code> prevent the plugin from loading the default mediaelement stylesheet<\/li>\n<\/ul>\n\n<p><em>Actions<\/em><\/p>\n\n<ul>\n<li><code>tzp_portfolio_settings_meta_box_fields<\/code> add meta fields to the settings section<\/li>\n<li><code>tzp_portfolio_gallery_meta_box_fields<\/code> add meta fields to the gallery section<\/li>\n<li><code>tzp_portfolio_audio_meta_box_fields<\/code> add meta fields to the audio section<\/li>\n<li><code>tzp_portfolio_video_meta_box_fields<\/code> add meta fields to the video section<\/li>\n<\/ul>\n\n<p><em>Actions added in plugin that you may want to remove<\/em><\/p>\n\n<ul>\n<li><code>tzp_add_custom_css<\/code><\/li>\n<li><code>tzp_portfolios_display_order<\/code><\/li>\n<\/ul>\n\n<p><em>Filters<\/em><\/p>\n\n<ul>\n<li><code>tzp_metabox_fields_save<\/code> add fields to be saved (use url, html, checkbox, or images for sanitization)<\/li>\n<li><code>tzp_gallery_classes<\/code> class added to gallery; default is tzp-portfolio-gallery<\/li>\n<li><code>tzp_set_gallery_image_size<\/code> default image size is 'full'<\/li>\n<li><code>tzp_portfolio_labels<\/code><\/li>\n<li><code>tzp_portfolio_supports<\/code><\/li>\n<li><code>tzp_portfolio_post_type_args<\/code><\/li>\n<li><code>tzp_portfolio_type_labels<\/code><\/li>\n<li><code>tzp_portfolio_type_args<\/code><\/li>\n<\/ul>\n\n<p><em>Filters applied in plugin that you may want to remove<\/em><\/p>\n\n<ul>\n<li><code>tzp_add_portfolio_post_media<\/code><\/li>\n<li><code>tzp_add_portfolio_post_meta<\/code><\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>Just install and activate<\/p>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"A complete portfolio plugin for creative folks","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/27229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=27229"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mbsatunc"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=27229"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=27229"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=27229"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=27229"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=27229"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=27229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}