WordPress.org

Support

Support » Themes and Templates » Insert widget in theme without widget support?

Insert widget in theme without widget support?

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi

    @esmi

    Forum Moderator

    You have to create a widget area to use that plugin/widget.

    Yep, esmi is right. Themes will not use widgets unless the theme is ‘widgetized’.

    http://codex.wordpress.org/Widgetizing_Themes

    Go there and follow the steps, if you still need help we are here.

    Actually, if you have a specific location you want to use this particular Widget, just call the_widget() [Codex ref]

    e.g.:

    <?php the_widget( 'Social_Widget' ); ?>

    (Note: refer to the Codex entry. You may need to pass some arguments to the call to the_widget(), in order to customize the appearance of the Widget.)

    Thanks all! Very informative.

    Chip, I assume I’d have to look at the social widget code to see what arguments would need to be passed if it’s not documented?

    Most of it is standard. Take a look at the Codex ref I linked above.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Insert widget in theme without widget support?’ is closed to new replies.
Skip to toolbar