Documentation • Knowledge Base

The Chapter Logo

Table of Contents

Documentation • Knowledge Base

Chapter Logo

Retrieves current Chapter Logo

Dynamically retrieves the logo for the current Chapter or inner Chapter Page.

[xpx_Chapter_Get_The_Logo]

Parameters

$color

(String) (Optional) Image color. Accepts white, black, or blue. Default value: ‘white’

$size

(String) (Optional) Image Size. Accepts thumbnail, small, medium, large, or full. Default value: ‘medium’

Usage

Description

Example: Retrieve the current XPX Chapter Logo.

Structure

Output

Color Parameter

Example: Get the XPX Chapter Logo and give a value to change the logo color. 

Structure

Example

Size Parameter

Example: Get the XPX Chapter Logo and give a value to resize the image. 

Structure

Example

Will return null or empty if not a chapter page.

Updated: [post_updated_day]

Menu