Theme functions

Here are the articles in this section:
alert()
Creates an alert bar.
badge()
Creates badge.
closecollapse()
Close accordion.
closecollapsebody()
Close collapsing panel.
closemodal()
Close the modal.
closeside()
Closes an open side panel which is using the openside function. The function is defined in the theme.php and is differen...
closetab()
Close tab.
closetabbody()
Close tab body.
closetable()
Closes an main panel which is using the opentable function. The function is defined in the theme.php and is different fr...
colorbox()
Display image in colorbox.
countdown()
Counts how many days remain until the specified date.
days_current_month()
Days in the current month.
display_avatar()
Show user avatar.
display_comments()
Display comments.
display_ratings()
Display ratings.
fusion_confirm_exit()
JS form exit confirmation if form has changed.
fusion_get_function()
Load any function and return it's value.
fusion_sort_table()
Enable table sorter.
get_color_brightness()
Get color brightness by given HEX code.
get_theme_settings()
Fetch the settings from DB_SETTINGS_THEME.
check_panel_status()
Checks the panel status for given side.
label()
Creates label.
lorem_ipsum()
Generate random lorem ipsum text by given length.
modalfooter()
Adds a modal footer in between openmodal and closemodal.
opencollapse()
Create accordion.
opencollapsebody()
Create collapsing panel.
openmodal()
Creates modal.
openside()
Opens the side panel. The function is defined in the theme.php and is different from theme to theme.
opentab()
Creates tabs.
opentabbody()
Creates tab body.
opentable()
Opens the main panel. The function is defined in the theme.php and is different from theme to theme.
panelbutton()
Show the collapse or expand a button for panels which are collapsible.
panelstate()
Checks the state of a panel.
progress_bar()
Display a progress bar.
render_breadcrumbs()
Render breadcrumbs.
render_favicons()
Show meta tags for favicons.
render_user_tags()
The callback function for fusion_parse_user().
showbanners()
Display the site banner you specify through the Banner Management.
showBenchmark()
Show benchmark and database performance.
showcopyright()
Show the PHP-Fusion copyright with a link to the official PHP-Fusion support site, and the AGPL license.
showcounter()
If the visitor counter is enabled in settings this function will return the number of visitors.
showlogo()
Show site logo.
showMemoryUsage()
Show memory usage.
showprivacypolicy()
Show popup with privacy policy text.
showrendertime()
Show PHP-Fusion Performance.
showsublinks()
Displays Site Links navigation bar.
social_media_links()
Return a list of social media sharing services where an url can be shared.
string_to_color_code()
String to HEX color code.
tab_active()
Current active tab selector.
thumbnail()
Show image thumbnail.
timer()
Show time ago from timestamp.