joli_toc_before_table_of_contents

Lets you add content before the table of contents.

add_action( 'joli_toc_before_table_of_contents', 'before_toc' );

function before_toc(){
    echo '<p>Hello</p>';
}
Was this page helpful?