Image: How can I hide the posting button for certain permissions

Post date: 2024-03-31 05:42:35
Views: 33

I am using Mayro theme and there's a nice floating button on the bottom right for asking a new question. 

In the admin?permissions, I have set the permission for asking questions to "experts" and this hides the "Ask a question" link from the nav menu for users without the ability to post questions, which is fine.

(See image below)

But the "Ask a question" button still floats on the bottom right even for other users. I want to also hide it from there just as it is hidden on the navigation menu based on the permissions and levels.

Note that the "Ask a question" has been translated to "Add post" but it's the same.

Please click Here to read the full story.
 
Other Top and Latest Questions:
Investors are missing how this solar stock would benefit if Trump wins the election, Morgan Stanley says
UK's Thames Water's troubles mount as credit rating cut to junk
Still no/little sense of smell/taste... advice?
Roommate A/C issue - any other solutions?
Star Trek: Prodigy: First Half of the Season (S02E02-S02E10)
Those About to Die: Trust None
AT&T beats estimates for subscriber additions on demand for higher-priced plans
World shatters heat record for the second time in just two days
Inflation, $2,000 camps are creating a summer crisis for working parents: 'It is complete chaos'
Jim Cramer's top 10 things to watch in the stock market Wednesday