Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to add widget to new front.php template


  • airsid
    Participant

    @airsid

    Hello,
    First thank you so much for your work.

    After creating front.php template in buddypress/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.

Viewing 4 replies - 1 through 4 (of 4 total)

  • danbp
    Participant

    @danbp


    airsid
    Participant

    @airsid

    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 πŸ™


    danbp
    Participant

    @danbp

    @airsid

    …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. πŸ™‚


    airsid
    Participant

    @airsid

    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…

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar