Reply To: change css class of function with filter hook
the ‘,2’ might be the issue, as you only then use 1, but try this function custom_callback($args) { $args['select_class'] = 'my-class' ; return $args; } add_filter(...
View ArticleReply To: change css class of function with filter hook
I got Uncaught TypeError: Cannot access offset of type string on string
View ArticleReply To: change css class of function with filter hook
ok, let’s just redo the whole thing function custom_callback( $args=array()) { // Parse arguments against default values $r = bbp_parse_args( $args, array( 'select_id' => 'bbp_topic_status',...
View ArticleReply To: change css class of function with filter hook
I write the whole original function and it works now. thanks
View ArticleReply To: Remove Separator
Very, very old topic – but still relevant today. This topic is searchable in google, so I’m not creating another one 😉 The above code does unfortunately not work anymore. Do you have an updated code...
View ArticleReply To: Remove Separator
function remove_sep ($args) { $args['before'] = ' ' ; return $args ; } add_filter ('bbp_before_get_topic_subscribe_link_parse_args', 'remove_sep') ; is the code for space, so if...
View ArticleReply To: Remove Separator
Thanks! This worked 🙂 But when I press the Subscribe-button (toggle on / off), the pipeline comes back, and stays there until I reload the page. If I toggle it back off, the pipeline returns again,...
View Articlechange the css classes in bbp_template_notices() function
hello, I need to change the css class”bbp-template-notice” of the returned html in the function bbp_template_notices() exist in includes/common/template.php but i dont see any filter in it , how this...
View ArticleReply To: change the css classes in bbp_template_notices() function
can I just ask why you need to change this class ame, rather than just style the class to what you want
View ArticleReply To: change the css classes in bbp_template_notices() function
im using a frontend framwork with ready to use css classes so if this is possible it would be great
View ArticleReply To: change the css classes in bbp_template_notices() function
not really possible – sorry
View Articlebbpress login form redirect to wp login form in case of error
Hello, I use bbpress login form shortcode and when I press the login button without filing any data, it keeps redirect me to the normal wp form with errors msgs, is there a way to keep the errors msg...
View ArticleReply To: bbpress login form redirect to wp login form in case of error
bbp style pack once activated go to dashboard>settings>bbp style pack>login failures
View ArticleReply To: Remove Separator
ah, found the function that the ajax call is doing. this code works on my test site function remove_sep ($args) { $args['before'] = ' ' ; return $args ; } add_filter...
View ArticleReply To: Remove Separator
Wow! That worked like a charm! Thank you very much @robin-w! I almost feel bad for asking, when all that is needed. It’s almost like I should have just colored it with css – blending it into my...
View ArticleReply To: bbpress login form redirect to wp login form in case of error
thanks this is a perfect solution, may I ask if this is work for sign-up form as well?
View ArticleReply To: Remove Separator
it’s a lot of code to learn. There are hundreds of filters and actions. most of it is detective work. I have bbpress in a folder on my laptop/ I use https://notepad-plus-plus.org/ as my main tool, it...
View ArticleReply To: bbpress login form redirect to wp login form in case of error
can’t remember, try it
View ArticleReply To: bbpress login form redirect to wp login form in case of error
I tested it and it doesn’t do anything when use sign up form, just refreshing!
View ArticleReply To: bbpress login form redirect to wp login form in case of error
only so much I can do for free 🙁
View Article