WordPress.org

Ready to get started?Download WordPress

Forums

Is it possible to build a second, and customized widget page? (3 posts)

  1. rugbert
    Member
    Posted 1 year ago #

    Im building my first wordpress theme and I want to make the theme's footer completely customizable. And I was thinking that widgets would be a great way to do that.

    But instead of having the user go to the widgets page, I want to make a page in my theme's section, so its logically grouped with the theme menu.

    And further more, is it possible to have that page only display the area for my footer widgets and not any other widget space?

  2. bcworkz
    Member
    Posted 1 year ago #

    Since you can add custom pages to the admin menus, that page can do anything you want, limited only by PHP itself. You could filter widgets and spaces and only display those whitelisted, for example.

    However, if you register your footer to receive WP widgets, it will show up on the widgets page. Not sure how or if that can be prevented. Of course, if you define your own widget class, it'll be completely separate from WP and you can handle it any way you wish. A fair bit of coding, but at least there's a good example to work from.

  3. luckdragon
    Member
    Posted 1 year ago #

    you could also just create a footer area to place widgets and then let people place them in the footer area via the widgets section.. if you want to have widgets for the footer area, just be sure to name them something like "footer copyright" so that people will see that they are designed for the footer area.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags