I am using wordpress. I have a plugin that feeds in a long set of web addresses into one list. I want to display these links as simple “register” where the user can click the register text and follow the link. I have used href to do this and it works. The problem is some of the entries do not have links (you cant register yet) but the text “register” will appear no matter what. I was hoping to find a way where when there it no link to follow that the text would be automatically hidden. The plugin still uses the its own value, so it is not just blank.
Register
The %event_custom_field{Registration}% sometimes is a link and sometimes is not.
This is the page I am trying to do this on… http://www.scnca.net/event-list/
I was told that: http://www.php.net/strstr would do the trick, but I am totally lost with PHP and I was hoping that someone could help me out with this a little further.
Thanks so much!