[resolved] templates and widgets in 2.8 (2 posts)

  1. csleh
    Posted 7 years ago #

    I've built a custom theme with no link (call? function?) for widgets.
    Now I need to add a widget but any code I try is breaking the site!
    Is there something different for 2.8?
    Or can I not use widgets outside of the sidebar.php file?

  2. esmi
    Forum Moderator
    Posted 7 years ago #

    Widgets can be used in any widget-ready template.

    http://codex.wordpress.org/Widgetizing_Themes gives the basic approach as used in sidebars but you can apply the same approach in any template file.

Topic Closed

This topic has been closed to new replies.

About this Topic