Contents
How do I add a widget to just the homepage in WordPress?
You only want to display it on the homepage. To show the widget on the homepage only, switch the Hide/Show option to “Show on checked pages,” check the Home/Front option, and save the widget. The widget will now only show on the homepage, whether you’re displaying a static page or your posts.
Adding Footer Widget to a Modern Theme
- Register the footer widget area. Open the functions.php file from the WordPress Theme Editor and search for the following line of code:
- Show the footer widget area in your theme.
- Style the footer widget area to your liking.
What is footer area?
In general, a footer is an area at the bottom of a document page containing data common to other pages. The information in footers may include page numbers, creation dates, copyrights, or references that appears on a single page, or on all pages.
Your menu is now ready to be added to the WordPress footer widget area. Simply visit the Appearance » Widgets page in your WordPress admin and then add the Navigation Menu widget to your footer area. In the widget settings, select the footer navigation menu you created earlier from the dropdown menu and click on the Save button.
Many popular WordPress themes have widget areas in the footer. You can use these widget areas to add text, images, or links to your privacy policy and legal disclaimers in the footer area. Adding text and images is quite straight forward.
How can I edit the footer on my website?
Look for an option to edit your site footer: We’re using the Astra theme for this example. With Astra, you need to go to Footer » Footer Bar in the customizer. You will then have the option to change the text of your footer bar:
Widgets are small applications that can help you insert different pieces of content into the website footer. Some examples include Calendar, Archives, Categories, Recent Posts, Recent Comments… and the list continues. Below is an example of footer with widgets included: