Theme Shortcodes

Please note: This page is under construction and has not been finished yet.



Common theme shortcodes

Please refer the the Theme shortcodes section


👍 TIP: As of e107 v2.x, you no longer need separate files inside your theme's folder. You can now include all your theme-specific shortcodes in a single file called theme_shortcodes.php.

These shortcodes may be used in your theme.html and layout/xxx _layout.html files which reside inside your theme's folder. eg. Using the example below: {MY_SHORTCODE} and {MY_OTHER_SHORTCODE} will be substituted with "Something" and "Something else".

class theme_shortcodes extends e_shortcode
    function sc_my_shortcode()
        return "Something";

    function sc_my_other_shortcode()
        return "Something else";


Last updated