WordPress.org

Ready to get started?Download WordPress

Forums

User-specific AutoText? (4 posts)

  1. ewz
    Member
    Posted 9 years ago #

    I would like to automatically add a block of text at the bottom of each post a specific user makes, kind of like a signature file in an e-mail program.

    But I don't want to add the text to all users, only to one.

    Is this possible?

  2. vkaryl
    Member
    Posted 9 years ago #

    Like an "admin sig" sort of thing? That WOULD be neat....

  3. Joshua Sigar
    Member
    Posted 9 years ago #

    Inside the loop...

    <?php
    if( 'admin' == the_author( 'login', false ) ) :
    echo 'My Signature';
    endif;
    ?>

    Replace admin with any login name

  4. vkaryl
    Member
    Posted 9 years ago #

    Alphaoide, YOU are a pretty good example of a marvel.... gonna try this out tomorrow, I'll report back....

Topic Closed

This topic has been closed to new replies.

About this Topic