How to add widget to new front.php template
- 
		Hello, 
 First thank you so much for your work.After creating front.phptemplate inbuddypress/members/singlehow do you add widgets to it please ?
 I’ve try<?php do_shortcode ('[widget id="bbp_topics_widget-2"]') ;?>for a widget named “bbp_topics_widget-2” using Widget Shortcode plugin but it does work.
- 
		
			
Read from here: Thank you Dan for your quick answer. 
 I’ve read the tuto. I’m a dummy in code and I didn’t understand a word.I was hopping there is a simple code to add widget…so the new front page, which is really a great thing, is only reserved to true coders π …but it is a simple code to add a widget ! 
 Don’t take it wrong, we all started a day to learn. Like you, i’m not a coder. But the widget coding is a WP thing, explained on the codex page i indicated.You say you didn’t understand what is written on codex. What would be if i give you some code if you don’t understand a text ? Try again. And while learning step by step, read also BP’s codex about templates. Once you feel more confortable, after some experimentation and errors, come back for BuddyPress related questions. π Like you, iβm not a coder. Dan, you’re a star in buddypress world !! What would be if i give you some code if you donβt understand a text ? I will paste it and use it. If something go wrong i’ll google it and play with it using other same codes…that’s how I managed to have my community website π Learning to code take so much time and as so many people i’m running after time. 
 But you’re right, so ok i’ll read it again and try to learn…
- You must be logged in to reply to this topic.