class WpvFancyPortfolio

 Methods

Outputs the background portfolio controls

background_controls() 
Static

returns the portfolio items for the fancy portfolio sliders

get() : array
Static

Returns

array

Get the current portfolio categories

get_categories() : array
Static

Returns

arraylist of category slugs

Get the current portfolio type

get_type() : string
Static

Returns

string"background" or "page"

Checks whether the current page has a fancy portfolio of type $type

has(string $type) : boolean
Static

Parameters

$type

string

portfolio type

Returns

booleanwhether the current page has a fancy portfolio of type $type

Initializes the ajax portfolio

init_ajax() 
Static

Initializes the background portfolio

init_background() 
Static

deals with the "full background" layout

background(array $items) : array
Static

Parameters

$items

array

Returns

array

deals with the "ajax portfolio" layout

page(array $items) : array
Static

Parameters

$items

array

Returns

array

 Properties

 

$cats : array
 

$type : string