Closed hnla closed 8 years ago
Why not :) i've used this function into the registration screen because it brings a help dashicon bp_nouveau_user_feedback( bp_get_current_signup_step() )
.
Not seen this have I? so what are you suggesting use this function for all the snippets of text I'm finding and classing? does this accept a string as param? and return markup - I'll look at the function later but going out now.
It's really up to you. For the function i was talking about in my previous comment i'm using an array to reference all texts > bp_nouveau_get_user_feedback( $action )
This is giving me some attributes like the type (info, help, error, warning)
I many and various places throughout BP screens we have cause and need to display snippets of explanatory text to help users along many of these fall outside our larger info, message type elements and are usually described as simple paragraph elements.
I want to be able to target these elements as a distinct object so where coming across them I am adding the class
bp-help-text
to allow for some clear common styling if required.Examples of this sort of text are to be seen throughout the profile screens.