WordPress.org

Ready to get started?Download WordPress

Forums

Add widget without sidebar (2 posts)

  1. shobo
    Member
    Posted 4 years ago #

    Hello,

    I am wondering if I can add a widget on a page that has no registered sidebar?

    Something like <?php widget_name(); ?> ...

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Only by setting up another sidebar and then calling that one into the page. For example, <?php get_sidebar('extra');?> will call the sidebar-extra.php file.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.