Follow these steps to conditionally display widgets based on different criteria:
- Log in to the WordPress Dashboard as an administrator.
- Click the Appearance menu.
- Click the Widgets section.
- Remove all widgets from the Footer #1 area by clicking the Delete link on each widget.
- Add two Text widgets to the Footer area.
- Name them Footer Text 1 and Footer Text 2, and add Footer Content 1, Footer Content 2 as their content.
- Open a browser and inspect the ID of the first widget, as shown in the following screenshot. Get the last part of the ID after widget-17_:
- Use the same method to get the ID of the second widget.
- Open the