Hide Staff Member Photo Box When There is No Photo Given
-
I have 2 groups for our directory which includes “current” – current students and then “former” which is the list of former students. The former students do not have photos so we would like to use this simple staff list plugin as it is so easy for the staff member to enter the student information in but we need the former students page to not have the white broken looking image box. I have seen some else statements that could possibly work to place on the sslp-template-functions.php page but I am not a code writer and am not sure how to ensure I am using all of the titles you have created.
Here is some code I did find searching for some answers:
// if the url is not empty, display the image
if(!empty($src)){
?>
” />
<?php
} else {
// the url was empty, do not display the image
}After seeking more info. I thought I would just go ahead and contact the author of this nice and easy plugin.
Thank you in advance for any guidance you can give.
evans44The page I need help with: [log in to see the link]
- The topic ‘Hide Staff Member Photo Box When There is No Photo Given’ is closed to new replies.