you mean on this page? so turn the subscribe link to a button?
forums/topic/example-topic/
Yes – on the page that shows the individual topic and all its replies … there is a “Subscribe” link at the top that I’d like to be a button.
(In same way as your Buttons tab changes the “Subscribe” link to a Button on the forum page that lists all the topics).
ok, presuming that you are using the default button, then put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
https://en-gb.ww.wp.xz.cn/plugins/code-snippets/
add_filter ('bbp_get_user_subscribe_link' , 'rew_change_class' ) ;
function rew_change_class ($html) {
$html = str_replace ('class="subscription-toggle"' , 'class="bsp_button1"' , $html) ;
return $html ;
}
you may also need to put this in the custom css tab (but you may not need to do this)
a.bsp_button1 {
display : inline-block ;
}