Skip to content
This repository has been archived by the owner on Mar 15, 2023. It is now read-only.

patrickruetter/BreadcrumbSlot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is no longer maintained!

BreadcrumbSlot

ImpressPages Plugin that adds a Breadcrumb Slot.

Installation

  1. Download .zip
  2. Unpack
  3. Copy the BreadcrumbSlot directory to the Plugin directory
  4. Install the Plugin in the Plugin Manager
  5. Add the Slot to your Theme

Default Usage

<?php
  echo ipSlot('breadcrumbs');
?>

Parameters

Example Usage

<?php
  $params = array(
    'pageId' => ipContent()->getCurrentPage()->getId(),
    'separator' => '',
    'direction' => 'up'
  );
  echo ipSlot('breadcrumbs', $params);
?>

pageId (Default: Current Page)

Example

<?php
  $params = array(
    'pageId' => 31
  );
  echo ipSlot('breadcrumbs', $params);
?>

separator (Default: ' › ')

Example

<?php
  $params = array(
    'pageId' => ''
  );
  echo ipSlot('breadcrumbs', $params);
?>

direction (Default: 'down')

Allowed Values 'down', 'up'

Example

<?php
  $params = array(
    'direction' => 'up'
  );
  echo ipSlot('breadcrumbs', $params);
?>

mode (Default: 'text')

Allowed Values 'text', 'html'

Example

<?php
  $params = array(
    'mode' => 'html'
  );
  echo ipSlot('breadcrumbs', $params);
?>

Attribution

Bread Icon made by Freepik from Flaticon is licensed under CC BY 3.0.

About

ImpressPages Plugin that adds a Breadcrumb Slot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages