Skip Navigation

[Closed] Will need to hide a link to post artwork, unless author has made a BIO

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by Christopher Amirian 7 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2699372

An artist can start posting artworks without having a bio. This means that visitors can view the artwork, but cannot find who made it.

So i want the link to "create artwork" to be hidden unless the artist has made a BIO post.
I tried this with a conditional field and selected current user in the left pull down menu, but then i'm lost..

Thank you in advance...

#2699373

i was looking for: current user has >= 1 posts

#2699411

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

There is no built in function for that. But you can create a custom shortcode which determines if the logged in uyser has a post or not and then you can register it in Toolset > Settings > Front end Content (tab) and after that use it in the conditional block.

For more information:

https://toolset.com/forums/topic/conditional-user-has-post-with-parent-current-page/

Thanks.

The topic ‘[Closed] Will need to hide a link to post artwork, unless author has made a BIO’ is closed to new replies.