Skip to content

Add custom Brand

Title

Plain Text

1
2
# test
AppGiniHelper.getCommon().setTitle("Plain Text Title");

HTML Text

1
AppGiniHelper.getCommon().setTitle("<b>HTML Formatted</b> Title");

Set Icon

1
AppGiniHelper.getCommon().setIcon("icon");
"icon" parameter:
Icon name without prefix, for example "cog". See here

Remove Navbar Icon

The unsetIcon function removes the default icon from navigation bar.

1
2
// file: hooks/header-extras.php
new AppGiniCommon().unsetIcon();

Set Image

1
AppGiniHelper.getCommon().setImage("https://…/image.png");

Valid URL required!

See Also