Theme_Jupiter extends Theme_Integration

Provides integration with the Jupiterx theme.

Reasons:

  • Due to extreme specifity, the theme breaks search inputs of dropdowns.
  • Due to certain stylings of elements of the theme, dropdowns are pushed to the bottom of the page.

Table of Contents

$template  : string
The name of the current template.
enqueue_dummy_handle()  : void
Enqueue dummt handle.
enqueue_fix()  : void
Theme-specific inline css styling.
get_dummy_handle()  : string
Generate an handle name for the dummy stylesheet to which we'll attach the custom inline styling.
init()  : void
Hook after theme has been set up.
register()  : void
Hook into WP.
should_enqueue()  : bool
Determine if the inline styling should enqueue or not.
theme_inline_styling()  : void
Load the inline styling when needed.

Properties

$template

The name of the current template.

public string $template = 'jupiterx'

Use wp_get_theme to get it.

Methods

enqueue_dummy_handle()

Enqueue dummt handle.

public enqueue_dummy_handle() : void
Return values
void

enqueue_fix()

Theme-specific inline css styling.

public enqueue_fix() : void
Tags
inheritdoc
Return values
void

get_dummy_handle()

Generate an handle name for the dummy stylesheet to which we'll attach the custom inline styling.

public get_dummy_handle() : string
Return values
string

init()

Hook after theme has been set up.

public init() : void
Return values
void

register()

Hook into WP.

public register() : void
Tags
inheritdoc
Return values
void

should_enqueue()

Determine if the inline styling should enqueue or not.

public should_enqueue() : bool

Usually you check that the specific theme is enabled here.

Return values
bool

theme_inline_styling()

Load the inline styling when needed.

public theme_inline_styling() : void
Return values
void

Search results