Forums

Working with conditional tags (1 post)

  1. kevr1990
    Member
    Posted 1 year ago #

    I have an 'about the author' box below all posts on WordPress site I run and whilst I have a decent knowledge of css and html, it's all self-taught and I'm having a little trouble implementing something I'd like.

    http://i53.tinypic.com/144bb15.png

    I'd like to add a link to the authors website next to their twitter username, but not everybody has one.

    Is it possible to only show the link if they have a url set?

    For example, I have a website so it would show as...
    @kevr1990 | Website | More posts from Kev

    But another author does not, so it would show as...
    @JamboTheJourno | More posts from Jamie

Topic Closed

This topic has been closed to new replies.

About this Topic