WordPress.org

Ready to get started?Download WordPress

Forums

Personalised greeting (3 posts)

  1. m8rk
    Member
    Posted 9 years ago #

    I want to implement a personalised greeting to welcome visitors back to my blog.

    This code:
    Welcome back <?php echo $comment_author; ?>

    doesn't retrieve the name of the comment author - and I can't work out what else I need

    Coldforged has written a guide here on how this works in the comments page, but I wan't to do it on my front page/ other pages.

  2. Kafkaesqui

    Posted 9 years ago #

    If you check ColdForged's May 15 comment on the page you linked to, he provides a way of collecting the name from the cookie file.

  3. m8rk
    Member
    Posted 9 years ago #

    Thanks Kafkaesqui, I hadn't checked my gmail ;) and a big thankyou to coldforged! :)

Topic Closed

This topic has been closed to new replies.

About this Topic