# Theme Shortcodes

{% hint style="danger" %}
**Please note:** This page is under construction and has not been finished yet.
{% endhint %}

## Introduction

......

## Common theme shortcodes

{% hint style="info" %}
Please refer the the [Theme shortcodes](https://devguide.e107.org/templates-shortcodes-and-constants/core-shortcodes#theme-shortcodes) section&#x20;
{% endhint %}

## theme\_shortcodes.php

{% hint style="success" %}
:thumbsup: **TIP:** As of e107 v2.x, you no longer need separate `xxxxxx.sc` files inside your theme's folder. You can now include all your theme-specific shortcodes in a single file called [**theme\_shortcodes.php**](#theme_shortcodes-php).&#x20;
{% endhint %}

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".

```php
class theme_shortcodes extends e_shortcode
{
	
    function sc_my_shortcode()
    {
        return "Something";
    }

    function sc_my_other_shortcode()
    {
        return "Something else";
    }

}
```
