• Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hooks

Namespaces

  • None
  • SIW
    • Admin
    • API
    • Async
    • Batch
    • Compatibility
    • Data
    • Elements
    • Email
    • External
    • Forms
    • Modules
    • Newsletter
    • Page_Builder
    • Plato
    • Widgets
    • WooCommerce
      • Admin
      • Checkout
      • Email
      • Export
      • Frontend
      • Import

Classes

  • Accordion
  • Carousel
  • Chart
  • Google_Maps
  • Interactive_Map
  • Interactive_Map_Destinations
  • Interactive_Map_ESC
  • Interactive_Map_Netherlands
  • Modal
  • Pie_Chart
  • Tablist
  • Taxonomy_Filter
  • World_Map

Class Carousel

Carousel met posts

Namespace: SIW\Elements
Copyright: 2019 SIW Internationale Vrijwilligersprojecten
Since: 3.0.0
Located at elements/carousel.php

Methods summary

public
# enqueue_styles( )

Voegt stylesheet toe

Voegt stylesheet toe

public
# enqueue_scripts( )

Voegt scripts toe

Voegt scripts toe

protected string
# get_responsive_class( )

Haalt responsive classes op

Haalt responsive classes op

Returns

string
public
# set_post_type( string $post_type )

Zet post type voor carousel

Zet post type voor carousel

Parameters

$post_type
public
# set_items( integer $items )

Zet aantal items van carousel

Zet aantal items van carousel

Parameters

$items
public
# set_columns( integer $columns )

Zet aantal kolommen van carousel

Zet aantal kolommen van carousel

Parameters

$columns
public
# set_taxonomy_term( string $taxonomy, string $term )

Zet taxonomy en term voor carousel

Zet taxonomy en term voor carousel

Parameters

$taxonomy
$term
public
# set_options( array $options )

Zet opties voor carousel

Zet opties voor carousel

Parameters

$options
public string
# render( )

Genereert carousel

Genereert carousel

Returns

string

Todo

leesbaarder maken
protected WP_Query
# generate_query( )

Genereert query

Genereert query

Returns

WP_Query
protected string
# get_template( )

Haal templatebestand op voor post type

Haal templatebestand op voor post type

Returns

string

Constants summary

string FLICKITY_VERSION

Versienummer

Versienummer

# '2.2.1'

Properties summary

protected string $post_type

Post type

Post type

#
protected string $taxonomy

Taxonomy voor query

Taxonomy voor query

#
protected string $term

Term voor query

Term voor query

#
protected integer $items

Aantal items in carousel

Aantal items in carousel

# 6
protected integer $columns

Aantal kolommen in carousel

Aantal kolommen in carousel

# 4
protected string $button_text

Tekst voor knop

Tekst voor knop

#
protected array $options

Opties voor carousel

Opties voor carousel

# [ 'cellAlign' => 'left', 'contain' => true, 'wrapAround' => true, 'autoPlay' => 2000, 'pageDots' => false, ]
SIW API documentation generated by ApiGen