Coder Social home page Coder Social logo

portfolio-post-type's Introduction

=== Portfolio Post Type ===
Contributors: Devin Price
Tags: portfolio, post type
Requires at least: 3.1
Tested up to: 3.2
Stable tag: 0.3
License: GPLv2

== Description ==

This plugin registers a custom post type for portfolio items.  It also registers separate portfolio taxonomies for tags and categories.  If featured images are selected, they will be displayed in the column view.  The portfolio image used in the dashboard was designed by Ben Dunkle, who also did the other UI icons in WordPress.

It doesn't change how portfolio items are displayed in your theme however.  You'll need to add templates for archive-portfolio.php and single.php if you want to customize the display of portfolio items.

== Installation ==

Just install and activate.

== Frequently Asked Questions ==

= How can I display portfolio items differently than regular posts? =

You will need to get your hands dirty with a little code and create a archive-portfolio.php template (for displaying multiple items) and a single-portfolio.php (for displaying the single item).

= Why did you make this? =

To allow users of Portfolio Press to more easily migrate to a new theme.  And hopefully, to save some work for other folks trying to set a portfolio.

= How can I include this in a theme? =

All you need to do is add the following lines of code to your functions.php file (assuming it's in the root directory of your theme):

//Define Portfolio Post Type URL
define( 'PPT_URL', trailingslashit( get_stylesheet_directory_uri().'/portfolio-post-type' ) );

== Changelog ==

= 0.4 =

* Update taxonomy rewrites to use dashes instead of underscores
* Update supports to include custom fields and excerpts

= 0.3 =

* Added category to column view
* Added portfolio count to "right now" dashboard widget (props @nickhamze)
* Added contextual help on portfolio edit screen (props @nickhamze)
* Now flushes rewrite rules on plugin activation

= 0.2 =

* Fixes for portfolio tag label
* Fixes for column display of portfolio items

= 0.1 =

* Initial release

portfolio-post-type's People

Contributors

devinsays avatar nathanielks avatar nickhamze avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.