<?php

/**
* Native shortcode for auto index
*/

function shortcode_post_index() {
    return '<div class="card post-index"><p><i class="fas fa-list"></i>Índice de contenidos</p><ul id="index-table"></ul></div>';
}
add_shortcode('post-index', 'shortcode_post_index');

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.