Forums

Help with showing sidebar widgets by default (1 post)

  1. cognitions
    Member
    Posted 4 months ago #

    Please could someone help me solve this?

    Is there something I can add to the register sidebar and register sidebar widget function so that the widget displays on the sidebar by default, rather than the use having to drag it there.

    I want them to be able to drag it off to make it inactive, but I want it to display by default.

    I know how to register a dynamic sidebar called 'Sidebar Test' and a widget called 'Widget Test'. I just need to know how to make Widget Test show by default in Sidebar Test when the functions file of the theme is executed.

    Thank y ou

Reply

You must log in to post.

About this Topic