• Resolved Christina

    (@littlevictorian)


    Still haven’t learned PHP enough to add things on my own. There are tutorials for using a picture as a signature, but I just want to use text that I can style.

    I’d like my name at the bottom of each post and then another line for an affiliate link disclaimer below that.

    Any code would be much appreciated!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    put this snippet in your theme’s functions.php file:

    add_filter('the_content','add_mysignature');
    function add_mysignature($text) {
    global $post;
    if($post->post_type == 'post') $text .= '<div class="signature-text">Christina</div>';
    return $text;
    }
    Thread Starter Christina

    (@littlevictorian)

    Awesome, Tara! Thank you so much.

    Moderator t-p

    (@t-p)

    you are welcome ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do you add a text signature without a plugin?’ is closed to new replies.