WordPress.org

Plugin Directory

Changeset 1738608


Ignore:
Timestamp:
09/29/17 20:26:48 (3 months ago)
Author:
greenshady
Message:

Uploading version 2.1.0 of Custom Content Portfolio.

Location:
custom-content-portfolio
Files:
92 added
1 deleted
19 edited

Legend:

Unmodified
Added
Removed
  • custom-content-portfolio/trunk/admin/class-manage-projects.php

    r1533822 r1738608  
    66 * @subpackage Admin 
    77 * @author     Justin Tadlock <justintadlock@gmail.com> 
    8  * @copyright  Copyright (c) 2013-2016, Justin Tadlock 
    9  * @link       http://themehybrid.com/plugins/custom-content-portfolio 
     8 * @copyright  Copyright (c) 2013-2017, Justin Tadlock 
     9 * @link       https://themehybrid.com/plugins/custom-content-portfolio 
    1010 * @license    http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    1111 */ 
  • custom-content-portfolio/trunk/admin/class-project-edit.php

    r1533822 r1738608  
    66 * @subpackage Admin 
    77 * @author     Justin Tadlock <justintadlock@gmail.com> 
    8  * @copyright  Copyright (c) 2013-2016, Justin Tadlock 
    9  * @link       http://themehybrid.com/plugins/custom-content-portfolio 
     8 * @copyright  Copyright (c) 2013-2017, Justin Tadlock 
     9 * @link       https://themehybrid.com/plugins/custom-content-portfolio 
    1010 * @license    http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    1111 */ 
  • custom-content-portfolio/trunk/admin/class-settings.php

    r1533822 r1738608  
    66 * @subpackage Admin 
    77 * @author     Justin Tadlock <justintadlock@gmail.com> 
    8  * @copyright  Copyright (c) 2013-2016, Justin Tadlock 
    9  * @link       http://themehybrid.com/plugins/custom-content-portfolio 
     8 * @copyright  Copyright (c) 2013-2017, Justin Tadlock 
     9 * @link       https://themehybrid.com/plugins/custom-content-portfolio 
    1010 * @license    http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    1111 */ 
  • custom-content-portfolio/trunk/admin/functions-admin.php

    r1533822 r1738608  
    66 * @subpackage Admin 
    77 * @author     Justin Tadlock <justintadlock@gmail.com> 
    8  * @copyright  Copyright (c) 2013-2016, Justin Tadlock 
    9  * @link       http://themehybrid.com/plugins/custom-content-portfolio 
     8 * @copyright  Copyright (c) 2013-2017, Justin Tadlock 
     9 * @link       https://themehybrid.com/plugins/custom-content-portfolio 
    1010 * @license    http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    1111 */ 
     
    109109        'type'        => 'url', 
    110110        'section'     => 'general', 
    111         'attr'        => array( 'class' => 'widefat', 'placeholder' => 'http://themehybrid.com' ), 
     111        'attr'        => array( 'class' => 'widefat', 'placeholder' => 'https://themehybrid.com' ), 
    112112        'label'       => esc_html__( 'URL', 'custom-content-portfolio' ), 
    113113        'description' => esc_html__( 'Enter the URL of the project Web page.', 'custom-content-portfolio' ) 
     
    253253 
    254254    // Get docs and help links. 
    255     $docs_link = sprintf( '<li><a href="http://themehybrid.com/docs">%s</a></li>', esc_html__( 'Documentation', 'custom-cotent-portfolio' ) ); 
    256     $help_link = sprintf( '<li><a href="http://themehybrid.com/board/topics">%s</a></li>', esc_html__( 'Support Forums', 'custom-content-portfolio' ) ); 
     255    $docs_link = sprintf( '<li><a href="https://themehybrid.com/docs">%s</a></li>', esc_html__( 'Documentation', 'custom-content-portfolio' ) ); 
     256    $help_link = sprintf( '<li><a href="https://themehybrid.com/board/topics">%s</a></li>', esc_html__( 'Support Forums', 'custom-content-portfolio' ) ); 
    257257 
    258258    // Return the text. 
  • custom-content-portfolio/trunk/changelog.md

    r1534031 r1738608  
    11# Change Log 
     2 
     3## [2.1.0] - 2017-09-29 
     4 
     5### Added 
     6 
     7* Support for translatable capability labels in the [Members plugin](https://themehybrid.com/plugins/members). 
     8* Support for WP's newer taxonomy capabilities for both the `portfolio_category` and `portfolio_tag` taxonomies.  New caps are in the form of `assign_portfolio_*`, `edit_portfolio_*`, `delete_portfolio_*`, and the normal `manage_portfolio_*` cap. 
     9 
     10### Changed 
     11 
     12* `languages` folder renamed to `lang` for consistency with my other plugins. 
     13* "Category" and "Tag" singular and plural labels are now prefixed with "Project".  This helps differentiate them in taxonomy lists. 
     14 
     15### Fixed 
     16 
     17* Typo in textdomain for a single text string that couldn't be translated. 
    218 
    319## [2.0.1] - 2016-11-14 
  • custom-content-portfolio/trunk/inc/functions-deprecated.php

    r1533822 r1738608  
    66 * @subpackage Includes 
    77 * @author     Justin Tadlock <justintadlock@gmail.com> 
    8  * @copyright  Copyright (c) 2013-2016, Justin Tadlock 
    9  * @link       http://themehybrid.com/plugins/custom-content-portfolio 
     8 * @copyright  Copyright (c) 2013-2017, Justin Tadlock 
     9 * @link       https://themehybrid.com/plugins/custom-content-portfolio 
    1010 * @license    http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    1111 */ 
  • custom-content-portfolio/trunk/inc/functions-filters.php

    r1533822 r1738608  
    66 * @subpackage Includes 
    77 * @author     Justin Tadlock <justintadlock@gmail.com> 
    8  * @copyright  Copyright (c) 2013-2016, Justin Tadlock 
    9  * @link       http://themehybrid.com/plugins/custom-content-portfolio 
     8 * @copyright  Copyright (c) 2013-2017, Justin Tadlock 
     9 * @link       https://themehybrid.com/plugins/custom-content-portfolio 
    1010 * @license    http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    1111 */ 
  • custom-content-portfolio/trunk/inc/functions-meta.php

    r1533822 r1738608  
    66 * @subpackage Includes 
    77 * @author     Justin Tadlock <justintadlock@gmail.com> 
    8  * @copyright  Copyright (c) 2013-2016, Justin Tadlock 
    9  * @link       http://themehybrid.com/plugins/custom-content-portfolio 
     8 * @copyright  Copyright (c) 2013-2017, Justin Tadlock 
     9 * @link       https://themehybrid.com/plugins/custom-content-portfolio 
    1010 * @license    http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    1111 */ 
  • custom-content-portfolio/trunk/inc/functions-options.php

    r1533822 r1738608  
    66 * @subpackage Includes 
    77 * @author     Justin Tadlock <justintadlock@gmail.com> 
    8  * @copyright  Copyright (c) 2013-2016, Justin Tadlock 
    9  * @link       http://themehybrid.com/plugins/custom-content-portfolio 
     8 * @copyright  Copyright (c) 2013-2017, Justin Tadlock 
     9 * @link       https://themehybrid.com/plugins/custom-content-portfolio 
    1010 * @license    http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    1111 */ 
  • custom-content-portfolio/trunk/inc/functions-post-types.php

    r1533822 r1738608  
    66 * @subpackage Includes 
    77 * @author     Justin Tadlock <justintadlock@gmail.com> 
    8  * @copyright  Copyright (c) 2013-2016, Justin Tadlock 
    9  * @link       http://themehybrid.com/plugins/custom-content-portfolio 
     8 * @copyright  Copyright (c) 2013-2017, Justin Tadlock 
     9 * @link       https://themehybrid.com/plugins/custom-content-portfolio 
    1010 * @license    http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    1111 */ 
     
    126126        'public'              => true, 
    127127        'publicly_queryable'  => true, 
    128         'show_in_nav_menus'   => false, 
     128        'show_in_nav_menus'   => true, 
    129129        'show_in_admin_bar'   => true, 
    130130        'exclude_from_search' => false, 
  • custom-content-portfolio/trunk/inc/functions-project.php

    r1533822 r1738608  
    66 * @subpackage Includes 
    77 * @author     Justin Tadlock <justintadlock@gmail.com> 
    8  * @copyright  Copyright (c) 2013-2016, Justin Tadlock 
    9  * @link       http://themehybrid.com/plugins/custom-content-portfolio 
     8 * @copyright  Copyright (c) 2013-2017, Justin Tadlock 
     9 * @link       https://themehybrid.com/plugins/custom-content-portfolio 
    1010 * @license    http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    1111 */ 
  • custom-content-portfolio/trunk/inc/functions-rewrite.php

    r1533822 r1738608  
    66 * @subpackage Includes 
    77 * @author     Justin Tadlock <justintadlock@gmail.com> 
    8  * @copyright  Copyright (c) 2013-2016, Justin Tadlock 
    9  * @link       http://themehybrid.com/plugins/custom-content-portfolio 
     8 * @copyright  Copyright (c) 2013-2017, Justin Tadlock 
     9 * @link       https://themehybrid.com/plugins/custom-content-portfolio 
    1010 * @license    http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    1111 */ 
  • custom-content-portfolio/trunk/inc/functions-taxonomies.php

    r1533822 r1738608  
    66 * @subpackage Includes 
    77 * @author     Justin Tadlock <justintadlock@gmail.com> 
    8  * @copyright  Copyright (c) 2013-2016, Justin Tadlock 
    9  * @link       http://themehybrid.com/plugins/custom-content-portfolio 
     8 * @copyright  Copyright (c) 2013-2017, Justin Tadlock 
     9 * @link       https://themehybrid.com/plugins/custom-content-portfolio 
    1010 * @license    http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    1111 */ 
     
    5252    $caps = array( 
    5353        'manage_terms' => 'manage_portfolio_categories', 
    54         'edit_terms'   => 'manage_portfolio_categories', 
    55         'delete_terms' => 'manage_portfolio_categories', 
    56         'assign_terms' => 'edit_portfolio_projects' 
     54        'edit_terms'   => 'edit_portfolio_categories', 
     55        'delete_terms' => 'delete_portfolio_categories', 
     56        'assign_terms' => 'assign_portfolio_categories' 
    5757    ); 
    5858 
     
    7171    $caps = array( 
    7272        'manage_terms' => 'manage_portfolio_tags', 
    73         'edit_terms'   => 'manage_portfolio_tags', 
    74         'delete_terms' => 'manage_portfolio_tags', 
    75         'assign_terms' => 'edit_portfolio_projects', 
     73        'edit_terms'   => 'edit_portfolio_tags', 
     74        'delete_terms' => 'delete_portfolio_tags', 
     75        'assign_terms' => 'assign_portfolio_tags', 
    7676    ); 
    7777 
     
    8989 
    9090    $labels = array( 
    91         'name'                       => __( 'Categories',                           'custom-content-portfolio' ), 
    92         'singular_name'              => __( 'Category',                             'custom-content-portfolio' ), 
     91        'name'                       => __( 'Project Categories',                   'custom-content-portfolio' ), 
     92        'singular_name'              => __( 'Project Category',                     'custom-content-portfolio' ), 
    9393        'menu_name'                  => __( 'Categories',                           'custom-content-portfolio' ), 
    9494        'name_admin_bar'             => __( 'Category',                             'custom-content-portfolio' ), 
     
    125125 
    126126    $labels = array( 
    127         'name'                       => __( 'Tags',                           'custom-content-portfolio' ), 
    128         'singular_name'              => __( 'Tag',                            'custom-content-portfolio' ), 
     127        'name'                       => __( 'Project Tags',                   'custom-content-portfolio' ), 
     128        'singular_name'              => __( 'Project Tag',                    'custom-content-portfolio' ), 
    129129        'menu_name'                  => __( 'Tags',                           'custom-content-portfolio' ), 
    130130        'name_admin_bar'             => __( 'Tag',                            'custom-content-portfolio' ), 
  • custom-content-portfolio/trunk/inc/template-general.php

    r1533822 r1738608  
    66 * @subpackage Includes 
    77 * @author     Justin Tadlock <justintadlock@gmail.com> 
    8  * @copyright  Copyright (c) 2013-2016, Justin Tadlock 
    9  * @link       http://themehybrid.com/plugins/custom-content-portfolio 
     8 * @copyright  Copyright (c) 2013-2017, Justin Tadlock 
     9 * @link       https://themehybrid.com/plugins/custom-content-portfolio 
    1010 * @license    http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    1111 */ 
  • custom-content-portfolio/trunk/inc/template-project.php

    r1533822 r1738608  
    66 * @subpackage Includes 
    77 * @author     Justin Tadlock <justintadlock@gmail.com> 
    8  * @copyright  Copyright (c) 2013-2016, Justin Tadlock 
    9  * @link       http://themehybrid.com/plugins/custom-content-portfolio 
     8 * @copyright  Copyright (c) 2013-2017, Justin Tadlock 
     9 * @link       https://themehybrid.com/plugins/custom-content-portfolio 
    1010 * @license    http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    1111 */ 
  • custom-content-portfolio/trunk/portfolio.php

    r1534031 r1738608  
    22/** 
    33 * Plugin Name: Custom Content Portfolio 
    4  * Plugin URI:  http://themehybrid.com/plugins/custom-content-portfolio 
     4 * Plugin URI:  https://themehybrid.com/plugins/custom-content-portfolio 
    55 * Description: Portfolio manager for WordPress.  This plugin allows you to manage, edit, and create new portfolio items in an unlimited number of portfolios. 
    6  * Version:     2.0.1 
     6 * Version:     2.1.0 
    77 * Author:      Justin Tadlock 
    8  * Author URI:  http://themehybrid.com 
     8 * Author URI:  https://themehybrid.com 
    99 * Text Domain: custom-content-portfolio 
    10  * Domain Path: /languages 
     10 * Domain Path: /lang 
    1111 * 
    1212 * The Custom Content Portfolio plugin was created to solve the problem of theme developers continuing 
     
    2525 * 
    2626 * @package   CustomContentPortfolio 
    27  * @version   2.0.1 
     27 * @version   2.1.0 
    2828 * @author    Justin Tadlock <justintadlock@gmail.com> 
    29  * @copyright Copyright (c) 2013-2016, Justin Tadlock 
    30  * @link      http://themehybrid.com/plugins/custom-content-portfolio 
     29 * @copyright Copyright (c) 2013-2017, Justin Tadlock 
     30 * @link      https://themehybrid.com/plugins/custom-content-portfolio 
    3131 * @license   http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    3232 */ 
     
    179179 
    180180        // Load functions files. 
    181         require_once( $this->dir_path . 'inc/functions-filters.php'    ); 
    182         require_once( $this->dir_path . 'inc/functions-options.php'    ); 
    183         require_once( $this->dir_path . 'inc/functions-meta.php'       ); 
    184         require_once( $this->dir_path . 'inc/functions-rewrite.php'    ); 
    185         require_once( $this->dir_path . 'inc/functions-post-types.php' ); 
    186         require_once( $this->dir_path . 'inc/functions-taxonomies.php' ); 
    187         require_once( $this->dir_path . 'inc/functions-project.php'    ); 
    188         require_once( $this->dir_path . 'inc/functions-deprecated.php' ); 
     181        require_once( $this->dir_path . 'inc/functions-capabilities.php' ); 
     182        require_once( $this->dir_path . 'inc/functions-filters.php'      ); 
     183        require_once( $this->dir_path . 'inc/functions-options.php'      ); 
     184        require_once( $this->dir_path . 'inc/functions-meta.php'         ); 
     185        require_once( $this->dir_path . 'inc/functions-rewrite.php'      ); 
     186        require_once( $this->dir_path . 'inc/functions-post-types.php'   ); 
     187        require_once( $this->dir_path . 'inc/functions-taxonomies.php'   ); 
     188        require_once( $this->dir_path . 'inc/functions-project.php'      ); 
     189        require_once( $this->dir_path . 'inc/functions-deprecated.php'   ); 
    189190 
    190191        // Load template files. 
     
    227228    public function i18n() { 
    228229 
    229         load_plugin_textdomain( 'custom-content-portfolio', false, trailingslashit( dirname( plugin_basename( __FILE__ ) ) ) . 'languages' ); 
     230        load_plugin_textdomain( 'custom-content-portfolio', false, trailingslashit( dirname( plugin_basename( __FILE__ ) ) ) . 'lang' ); 
    230231    } 
    231232 
     
    260261            // Taxonomy caps. 
    261262            $role->add_cap( 'manage_portfolio_categories' ); 
     263            $role->add_cap( 'edit_portfolio_categories'   ); 
     264            $role->add_cap( 'delete_portfolio_categories' ); 
     265            $role->add_cap( 'assign_portfolio_categories' ); 
     266 
    262267            $role->add_cap( 'manage_portfolio_tags'       ); 
     268            $role->add_cap( 'edit_portfolio_tags'         ); 
     269            $role->add_cap( 'delete_portfolio_tags'       ); 
     270            $role->add_cap( 'assign_portfolio_tags'       ); 
    263271 
    264272            // Post type caps. 
  • custom-content-portfolio/trunk/readme.md

    r1533822 r1738608  
    1515## Professional Support 
    1616 
    17 If you need professional plugin support from me, the plugin author, you can access the support forums at [Theme Hybrid](http://themehybrid.com/board/topics), which is a professional WordPress help/support site where I handle support for all my plugins and themes for a community of 70,000+ users (and growing). 
     17If you need professional plugin support from me, the plugin author, you can access the support forums at [Theme Hybrid](https://themehybrid.com/board/topics), which is a professional WordPress help/support site where I handle support for all my plugins and themes for a community of 70,000+ users (and growing). 
    1818 
    1919## Copyright and License 
     
    2121This project is licensed under the [GNU GPL](http://www.gnu.org/licenses/old-licenses/gpl-2.0.html), version 2 or later. 
    2222 
    23 2013-2016 &copy; [Justin Tadlock](http://justintadlock.com). 
     232013-2017 &copy; [Justin Tadlock](http://justintadlock.com). 
  • custom-content-portfolio/trunk/readme.txt

    r1534031 r1738608  
    11=== Custom Content Portfolio === 
     2 
    23Contributors: greenshady 
    3 Donate link: http://themehybrid.com/donate 
    4 Tags: portfolio, images, image, post type, taxonomy 
    5 Requires at least: 4.6 
    6 Stable tag: 2.0.1 
     4Donate link: https://themehybrid.com/donate 
     5Tags: portfolio, projects 
     6Requires at least: 4.7 
     7Tested up to: 4.8.2 
     8Requires PHP: 5.2 
     9Stable tag: 2.1.0 
    710License: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    811 
     
    2528* **Post Formats:** If your theme supports them, projects can have the audio, gallery, image, or video formats. 
    2629 
    27 For more info, visit the [Custom Content Portfolio](http://themehybrid.com/plugin/custom-content-portfolio) plugin home page. 
     30For more info, visit the [Custom Content Portfolio](https://themehybrid.com/plugin/custom-content-portfolio) plugin home page. 
    2831 
    2932### Like this plugin? 
     
    3134Please consider helping the cause by: 
    3235 
    33 * [Making a donation](http://themehybrid.com/donate). 
    34 * [Signing up at my site](http://themehybrid.com/club). 
     36* [Making a donation](https://themehybrid.com/donate). 
     37* [Signing up at my site](https://themehybrid.com/club). 
    3538* [Rating the plugin](https://wordpress.org/support/view/plugin-reviews/custom-content-portfolio?rate=5#postform). 
    3639 
    3740### Professional Support 
    3841 
    39 If you need professional plugin support from me, the plugin author, you can access the support forums at [Theme Hybrid](http://themehybrid.com/board/topics), which is a professional WordPress help/support site where I handle support for all my plugins and themes for a community of 70,000+ users (and growing). 
     42If you need professional plugin support from me, the plugin author, you can access the support forums at [Theme Hybrid](https://themehybrid.com/board/topics), which is a professional WordPress help/support site where I handle support for all my plugins and themes for a community of 75,000+ users (and growing). 
    4043 
    4144### Plugin Development 
     
    4346If you're a theme author, plugin author, or just a code hobbyist, you can follow the development of this plugin on it's [GitHub repository](https://github.com/justintadlock/custom-content-portfolio). 
    4447 
    45 == Installation == 
    46  
    47 1. Upload `custom-content-portfolio` to the `/wp-content/plugins/` directory. 
    48 1. Activate the plugin through the 'Plugins' menu in WordPress. 
    49 1. Go to "Portfolio > Settings" in the admin to set up your portfolio. 
    50  
    5148== Frequently Asked Questions == 
    5249 
    53 = Upgrading from pre-1.0.0. What's the deal? = 
     50### Why was this plugin created? 
     51 
     52I hate when themes authors lock users into using the same theme forever or risk losing all of their content.  Many theme developers continue to add portfolios to their themes without thinking about the consequences to their users' data.  This plugin is a way to meet those theme authors in the middle.  Let users choose their design not based on functionality but based on the merits of the design.  Leave the functionality to plugin developers. 
     53 
     54### How do I use it? 
     55 
     56It works just like posts or pages.  You'll get a new menu item in the admin called "Portfolio".  From there, you can create new projects (sort of like posts/pages). 
     57 
     58### I'm getting 404 errors. How can I fix this? 
     59 
     60You need to save your portfolio permalinks by visiting "Portfolio > Settings" in the admin.  There's a section titled "Permalinks" that will allow you to set up your portfolio rewrite rules.  After saving, any 404s should disappear. 
     61 
     62### I don't see the "Portfolio" section. 
     63 
     64By default, only administrators can see this menu item.  If you are an administrator and can't see it after activating the plugin, deactivate and reactivate the plugin.  This should add the required permissions to your administrator role. 
     65 
     66### How can I allow other users to create portfolio items on my site? 
     67 
     68By default, the "administrator" role is the only role allowed to edit portfolio-related things.  However, you can install a role management plugin like [Members](https://wordpress.org/plugins/members) to give more users access to portfolio. 
     69 
     70### Why can't edit/assign/delete categories or tags after upgrading to 2.1.0? 
     71 
     72WordPress 4.7 introduced some new taxonomy capabilities that the plugin is now making use of.  If you just want them added to your Administrator account, you can simply deactivate the plugin and reactivate it.  The correct capabilities should be reset and added to your role. 
     73 
     74Otherwise, you can use a role and capability management plugin, such as [Members](https://wordpress.org/plugins/members), to have complete control over permissions. 
     75 
     76### Upgrading from pre-1.0.0. What's the deal? 
    5477 
    5578CCP underwent a complete rewrite from the ground up.  There's very little about the plugin that's even remotely close to the original version. 
     
    6184The third and final item is that you'll want to set your permalinks via "Portfolio > Settings > Permalinks" in the admin. 
    6285 
    63 = Why was this plugin created? = 
    64  
    65 I hate when themes authors lock users into using the same theme forever or risk losing all of their content.  Many theme developers continue to add portfolios to their themes without thinking about the consequences to their users' data.  This plugin is a way to meet those theme authors in the middle.  Let users choose their design not based on functionality but based on the merits of the design.  Leave the functionality to plugin developers. 
    66  
    67 = How do I use it? = 
    68  
    69 It works just like posts or pages.  You'll get a new menu item in the admin called "Portfolio".  From there, you can create new projects (sort of like posts/pages). 
    70  
    71 = I'm getting 404 errors. How can I fix this? = 
    72  
    73 You need to save your portfolio permalinks by visiting "Portfolio > Settings" in the admin.  There's a section titled "Permalinks" that will allow you to set up your portfolio rewrite rules.  After saving, any 404s should disappear. 
    74  
    75 = I don't see the "Portfolio" section. = 
    76  
    77 By default, only administrators can see this menu item.  If you are an administrator and can't see it after activating the plugin, deactivate and reactivate the plugin.  This should add the required permissions to your administrator role. 
    78  
    79 = How can I allow other users to create portfolio items on my site? = 
    80  
    81 By default, the "administrator" role is the only role allowed to edit portfolio-related things.  However, you can install a role management plugin like [Members](http://wordpress.org/plugins/members) to give more users access to portfolio. 
    82  
    83 = How does this compare with Jetpack portfolios? = 
     86### How does this compare with Jetpack portfolios? 
    8487 
    8588While Jetpack can certainly be a useful plugin, its portfolio module is not even in the same league.  Jetpack offers some of the same basic stuff that you can do with a custom post type, but that's where the similarities end.  CCP is a complete portfolio solution. 
    8689 
    87 = Will it work with my theme? = 
     90### Will it work with my theme? 
    8891 
    8992The plugin should work fine with any theme that's coded to WordPress standards.  However, some features may not appear on the front end without direct integration by your theme author. 
    9093 
    91 = How do I add theme support? = 
     94### How do I add theme support? 
    9295 
    9396If you're a theme author, you can declare theme support with the following code in your theme setup function: 
     
    9598    add_theme_support( 'custom-content-portfolio' ); 
    9699 
    97 = Where can I get support? = 
     100### Where can I get support? 
    98101 
    99 The official support forum for this plugin is located at [Theme Hybrid](http://themehybrid.com/board/topics). 
     102The official support forum for this plugin is located at [Theme Hybrid](https://themehybrid.com/board/topics). 
    100103 
    101104== Screenshots == 
     
    109112== Upgrade Notice == 
    110113 
    111 If upgrading from a version prior to 1.0.0, please read the FAQ before upgrading. 
     114If upgrading from a version prior to 1.0.0 or to version 2.1.0, please read the FAQ before upgrading. 
    112115 
    113116== Changelog == 
  • custom-content-portfolio/trunk/uninstall.php

    r1533822 r1738608  
    55 * @package    CustomContentPortfolio 
    66 * @author     Justin Tadlock <justintadlock@gmail.com> 
    7  * @copyright  Copyright (c) 2013-2016, Justin Tadlock 
    8  * @link       http://themehybrid.com/plugins/custom-content-portfolio 
     7 * @copyright  Copyright (c) 2013-2017, Justin Tadlock 
     8 * @link       https://themehybrid.com/plugins/custom-content-portfolio 
    99 * @license    http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    1010 */ 
     
    3838    // Taxonomy caps. 
    3939    $role->remove_cap( 'manage_portfolio_categories' ); 
     40    $role->remove_cap( 'edit_portfolio_categories'   ); 
     41    $role->remove_cap( 'delete_portfolio_categories' ); 
     42    $role->remove_cap( 'assign_portfolio_categories' ); 
     43 
    4044    $role->remove_cap( 'manage_portfolio_tags'       ); 
     45    $role->remove_cap( 'edit_portfolio_tags'         ); 
     46    $role->remove_cap( 'delete_portfolio_tags'       ); 
     47    $role->remove_cap( 'assign_portfolio_tags'       ); 
    4148 
    4249    // Post type caps. 
Note: See TracChangeset for help on using the changeset viewer.