we have said this a zillion times but will say it again… do not edit our themes.. make your own theme first to keep from losing changes on updates… see: http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/
and dont edit core… edit your theme…
so the template file that will be in use will be based on the current page view… since you are looking at a bunch of posts in a topic, its topic view… so the template file is spTopicView.php… sorry, but that is not the answer
at least not for finding the code you want…
in this case, the button is output at the bottom of the page in the footer… so its output in template file spFoot.php… this code:
if (function_exists(‘sp_SubscriptionsSubscribeButton’)) sp_SubscriptionsSubscribeButton(‘tagClass=spButton spLeft’, __sp(‘Subscribe’), __sp(‘Unsubscribe’), __sp(‘Subscribe to this topic’), __sp(‘Unsubscribe from this topic’));
you can duplicate that function anywhere else you want an other button – at the top for example as you stated…
please be advised, if you want your page to pass an html validation, you will need to give each button a unique ID… simply duplicating the code will give them the same ID…
I would point you to the Codex, but it seems to be lacking a bit covering the template function arguments…
basically, add in a unique ID to each:
tagId=top and tagId=bottom
one per template function call… ie
if (function_exists(‘sp_SubscriptionsSubscribeButton’)) sp_SubscriptionsSubscribeButton(‘tagId-top&tagClass=spButton spLeft’, __sp(‘Subscribe’), __sp(‘Unsubscribe’), __sp(‘Subscribe to this topic’), __sp(‘Unsubscribe from this topic’));