Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author setzer

    (@setzer)

    nosrevelk,

    This should do it:

    <?php
        global $side_matter;
        if ( ! empty( $side_matter->notes ) ) {
            ?><h4>References</h4><?php
            do_action( 'side_matter_list_notes' );
        }
    ?>

    This asks Side Matter if there are any notes, and if so, prints <h4>References</h4> before calling do_action( 'side_matter_list_notes' ).

    Thread Starter nosrevelk

    (@nosrevelk)

    Hi Setzer,

    Thanks for your help and congrats for making an awesome plugin.

    cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show 'References' if there are notes’ is closed to new replies.