Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide images/urls if no value for staff member #79

Open
brettshumaker opened this issue Dec 18, 2017 · 7 comments
Open

Hide images/urls if no value for staff member #79

brettshumaker opened this issue Dec 18, 2017 · 7 comments
Labels

Comments

@brettshumaker
Copy link
Owner

Need some new tags [staff-twitter-link], [staff-facebook-link] and also need to make sure that [staff-email] and [staff-photo] don't show up if the staff member doesn't have a photo.

https://wordpress.org/support/topic/safari-staff-photo-inner-border/
https://wordpress.org/support/topic/staff-photo-size/

@susgeek
Copy link

susgeek commented Feb 4, 2018

Also, [staff-twitter] doesn't work at all.

@brettshumaker
Copy link
Owner Author

@susgeek Could you open a new issue for the error you're experiencing so I can help you sort it out there?

@brettshumaker brettshumaker added this to the 2.2 milestone Jun 21, 2018
@svenkaemper
Copy link

svenkaemper commented Aug 20, 2018

Would be nice to have something like

{has bio} [staff-bio-formatted] {/has bio}
{has email} <a class="fa fa-envelope" href="mailto:[staff-email]">E-Mail</a> {/has email}

for the templates.

@svenkaemper
Copy link

@susgeek [staff-twitter] works well for me – however the URL should use "https" instead of "http".

@brettshumaker Any thoughts on the "conditional tags" I suggested for the templates?

@iamleese
Copy link

I would like this feature as well!

@brettshumaker brettshumaker removed this from the 2.2 milestone May 24, 2019
@tyman00
Copy link

tyman00 commented Jul 25, 2019

I'm interested in this feature of at least not displaying facebook/twitter/etc if there is no data.

Even more, I do like Sven's suggestion for conditional tags. It will allow for us to properly customize the templates based off varying information that may or may not be available.

@nufrankz
Copy link

Are there conditional tags? Or maybe an indicator of empty image to do something with Javascript/PHP, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants